View Full Version : how can I get a playlist to load up with media player?
riverside1
01-26-2008, 08:42 PM
how can I get a playlist to load up with media player? :yes
TimeSurfer
01-26-2008, 09:59 PM
if its wpl or m3u just load it as you would any other file into the media player object. as a playlist is just a text representation of paths to the files in a certain order
riverside1
01-27-2008, 07:23 AM
Does anyone have a working example of this?
RizlaUK
01-27-2008, 07:44 AM
tbFile = Dialog.FileBrowse(true, "Locate File", _DesktopFolder, "All Files (*.*)|*.*|", "", "dat", false, false);
if tbFile[1] ~= "CANCEL" then
MediaPlayer.Load("Plugin1", tbFile[1]);
end
but just loading the playlist into the mp plugin isent enough, you will need to tell the plugin to play the next track when its finished,
in mp plugin on finish event put
MediaPlayer.Play("Plugin1");
heres a working example
riverside1
01-27-2008, 10:52 AM
I need about 7 videos listed on a menu to appear as soon as the page loads so that the user doesn't have to search for them of load them from another location, is this possible? :huh
riverside1
01-28-2008, 12:29 PM
Has anyone got an example of anything like this?:yes
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.