
Since drupal 8 video.js is using Video.js CDN. Is it possible to remove this or add a setting for those who using local video.js from library and give warning if there no video.js in their library
The above is using nginx 1.8.1 and php 7 php-fpm and i got the above and error got a php error report.
User error: Invalid placeholder (!url) in string: Missing the Video.js library. Please download Video.js and extract it into the %directory directory. in Drupal\Component\Render\FormattableMarkup::placeholderFormat() (line 240 of /srv/http/mywebsite/core/lib/Drupal/Component/Render/FormattableMarkup.php).
==============================
I test with https://simplytest.me/ drupal 8.0.5 with video.js modules install only. There no error.
![]()
Suspect php 7 or php-fpm that cause it. Can one confirm this.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | videojs-status_report_invalid_placeholder-2698585-7.patch | 1.23 KB | mqanneh |
| #2 | 2016-04-01-23-49-36.png | 9.79 KB | spacereactor |
| 2016-04-01-23-25-21.png | 21.02 KB | spacereactor |
Comments
Comment #2
spacereactor commentedComment #3
arnoldski commentedI'm having the same issue.
Using:
Drupal 8.1.8
Database MySQL
Database 5.7.16-10
PHP 5.6.26
Comment #4
zalak.addweb commentedComment #5
dobrzyns commentedI am experiencing this as well and am also using PHP 7.
PHP: 7.0.17
Drupal: 8.2.7
MySQL 5.7
Apache 2.4.10 (Debian)
Comment #6
mqanneh+1
Comment #7
mqannehAdded a new patch.
Comment #8
zanvidmar commentedThe patch from #7 fix the url issue.
Comment #11
_shyMerged to the 8.x-1.x and 3.x branches.
Thanks!
Comment #13
abhijeet.kumar2107 commentedI tried patch from #7 but still the error is coming on drupal status reports. Its seems to be path are coming Null which are the for this.
Comment #14
abhijeet.kumar2107 commented