Is anyone out there still using the webvideo plugin?
I have it on an older site that is still using CMSMS ver. 1.12.2 (yes, I know it's out of date), and suddenly the plugin has stopped working.
(I know the plugin is marked as stale, but can't find others who have found it NOT working)
e.g. of my use of the plugin: {webvideo movie='nxeKwEf5mC4' width='500'}
produces source code on the page of:
http://www.youtube.com/v/nxeKwEf5mC4&hl=en_US&fs=1
instead of linking properly to the video url.
There are a ton of these, so I was hoping not to have to re-link them all. Any suggestions?
webvideo plugin no longer working?
Re: webvideo plugin no longer working?
If it suddenly stopped working it might be caused by changes to the environment. Would it be possible the hosting provider upgraded the version of PHP for example?
It wouldn't be too hard to write your own plugin (or UDT) to replace this one. That would prevent you from changing all the existing calls.
First you should debug the plugin. Check what it really outputs and if it shows some errors (check server log too).
It wouldn't be too hard to write your own plugin (or UDT) to replace this one. That would prevent you from changing all the existing calls.
First you should debug the plugin. Check what it really outputs and if it shows some errors (check server log too).
Re: webvideo plugin no longer working?
If/when you do upgrade to 2.x, the webvideo plugin still works with a one-line change. Line 21:
to
This won't fix your current issue, Velden is correct, it sounds more like an environment change. Things don't just stop working when nothing has changed.
Code: Select all
$config =& $gCms->GetConfig();
Code: Select all
$config = \cms_config::get_instance();
Not getting the answer you need? CMSMS support options
Re: webvideo plugin no longer working?
Thanks for the responses. I'm checking to see if there was a PHP change. If that's the case, do you think it's unlikely that this plugin will work with a higher PHP version?
Re: webvideo plugin no longer working?
With the above fix, I'm using it on cmsms 2.x with php 7.1
Not getting the answer you need? CMSMS support options