Open djmhd opened 11 years ago
You should be able to just reconstruct the playlist with a new playlist...
minplayer.get('playlist', function(playlist) {
playlist.options.playlist = 'http://......../playlist.xml';
playlist.construct();
});
Let me know if this doesn't work.
Hi sorry for my late reply i have tested you piece of code and it is still not working you can see the updated code on http://www.lidkart.com/LVSB/ line 512
thank you for your help.
El-Filahi Mehdi
Mehdinfo Avenue du Roi Albert 260 1082 Berchem-Sainte-Aghate Bruxelles Belgique www.mehdinfo.be
0032 485 81 68 97
De : Travis Tidwell notifications@github.com À : mediafront/osmplayer osmplayer@noreply.github.com Cc : djmhd mehdi_elfi@yahoo.fr Envoyé le : Samedi 10 août 2013 17h30 Objet : Re: [osmplayer] How to change playlist dynamically on an ajax website (#52)
You should be able to just reconstruct the playlist with a new playlist... minplayer.get('playlist', function(playlist) { playlist.options.playlist = 'http://......../playlist.xml'; playlist.construct(); }); Let me know if this doesn't work. — Reply to this email directly or view it on GitHub.
Hi i have a problem i try to use osmplayer with an xml youtube playlist when i create the osmplayer the player shows the playslist but when i try to give another playlist the osplayer remains with the first playlist can you help me please? here a sample of the web site http://lidkart.com/LVSB/ you can click on the link Galerie Videos to see the problem Thank you.