| View previous topic :: View next topic |
| Author |
Message |
Mistoffeles
Joined: 12 Oct 2006 Posts: 8
|
Posted: Wed Jun 06, 2007 1:12 am Post subject: Playlists |
|
|
ok, I have a mass of videos stored in a folder, named "flood", and the virtual folder is set up. I can play any one file from it by coding it in the script like so:
<script type="text/javascript">
po = new PlayerObject("player");
po.createPlayer(320, 240);
Load("player","flood\\MVI_1251 - Vetter Falls.avi");
</script>
but how do I get it to treat the folder as a playlist, so that anyone can right click the video and choose one to play?
Do I have to make some kind of playlist file and put that into my Load function, and if so, how do I do that?
I tried just putting
Load("player","flood\\*.*");
and
Load("player","flood\\*.avi");
but neither worked. _________________ - Misty |
|
| Back to top |
|
 |
Mistoffeles
Joined: 12 Oct 2006 Posts: 8
|
Posted: Wed Jun 06, 2007 1:36 am Post subject: |
|
|
P.S.: Yes, I already tried making a WMP playlist, it didn't work. _________________ - Misty |
|
| Back to top |
|
 |
Mistoffeles
Joined: 12 Oct 2006 Posts: 8
|
Posted: Wed Jun 06, 2007 2:24 am Post subject: |
|
|
Fixed...it was trying to play the first file in the virtual folder, which was a directory listing redirected to a file.
Nice to see you again, Murphy. _________________ - Misty |
|
| Back to top |
|
 |
Admin Site Admin
Joined: 04 Aug 2006 Posts: 488
|
Posted: Wed Jun 06, 2007 2:07 pm Post subject: |
|
|
You need to use ActiveX method UseFilePlaylist - refer to the SDK package, it has sample web page playing playlist.
Admin |
|
| Back to top |
|
 |
|