• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Can we make videos Autoplay

Started by SoundPiff,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SoundPiffTopic starter

I am wondering how to make the videos continue playing one right after another with a option to auto-play or not?

Marius P.

Depending on player you can clone the playlist system using the get_next function, but it will create some chaos, since it's not Youtube tech :)
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

SoundPiffTopic starter

I was looking at the code in class.providers.php on line 302 starts jwplayer6 function. On line 316 to 319 looks wrong. Yes it is logically wrote to play next video but it does not.
Shouldnt the code look something like this.

Your code:
if(_get('list')) {
$embed .='
jwplayer().onComplete( function(){
window.location = next_url;
});';

My redo idea.

jwplayer().onComplete(function() { jwplayer().load({file:"next_url"});jwplayer().play() });


Just an idea I am hoping all this is fixed in 5.3 so im kinda waiting it out.




Marius P.

What's your error? Since it plays fine on all other copies.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

magna1988

any news plz? 
I am wondering how to make the videos continue playing one right after another with a option to auto-play also
  •  

Similar topics (7)