• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: webvideo plugin no longer working?
PostPosted: Mon Jun 25, 2018 3:31 am 
Offline
Forum Members
Forum Members

Joined: Thu Aug 28, 2008 7:45 pm
Posts: 149
Location: Minneapolis, MN
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?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: webvideo plugin no longer working?
PostPosted: Mon Jun 25, 2018 9:02 am 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 2986
Location: The Netherlands
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).


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: webvideo plugin no longer working?
PostPosted: Mon Jun 25, 2018 2:39 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 338
Location: Victoria, BC
If/when you do upgrade to 2.x, the webvideo plugin still works with a one-line change. Line 21:
Code:
$config =& $gCms->GetConfig();

to
Code:
$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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: webvideo plugin no longer working?
PostPosted: Mon Jun 25, 2018 4:27 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 28, 2008 7:45 pm
Posts: 149
Location: Minneapolis, MN
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?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: webvideo plugin no longer working?
PostPosted: Mon Jun 25, 2018 4:30 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 338
Location: Victoria, BC
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
HostPapa CMS Made Simple hosting