webvideo plugin no longer working?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm
Location: Minneapolis, MN

webvideo plugin no longer working?

Post by twwitt »

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?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: webvideo plugin no longer working?

Post by velden »

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).
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: webvideo plugin no longer working?

Post by DIGI3 »

If/when you do upgrade to 2.x, the webvideo plugin still works with a one-line change. Line 21:

Code: Select all

$config =& $gCms->GetConfig();
to

Code: Select all

$config = \cms_config::get_instance();
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.
Not getting the answer you need? CMSMS support options
twwitt
Forum Members
Forum Members
Posts: 149
Joined: Thu Aug 28, 2008 7:45 pm
Location: Minneapolis, MN

Re: webvideo plugin no longer working?

Post by twwitt »

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?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: webvideo plugin no longer working?

Post by DIGI3 »

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
Post Reply

Return to “Modules/Add-Ons”