• Welcome to WooUSEFUL by PHPVIBE . 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

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 :)
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

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

What's your error? Since it plays fine on all other copies.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

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)