Unreal Media Server Forum Index Unreal Media Server
ATTENTION! THIS FORUM IS READ ONLY AS OF SEPTEMBER 1 2009.

PLEASE POST QUESTIONS TO OUR NEW FORUM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Playlists

 
Post new topic   Reply to topic    Unreal Media Server Forum Index -> Streaming Files
View previous topic :: View next topic  
Author Message
Mistoffeles



Joined: 12 Oct 2006
Posts: 8

PostPosted: Wed Jun 06, 2007 1:12 am    Post subject: Playlists Reply with quote

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
View user's profile Send private message Send e-mail
Mistoffeles



Joined: 12 Oct 2006
Posts: 8

PostPosted: Wed Jun 06, 2007 1:36 am    Post subject: Reply with quote

P.S.: Yes, I already tried making a WMP playlist, it didn't work.
_________________
- Misty
Back to top
View user's profile Send private message Send e-mail
Mistoffeles



Joined: 12 Oct 2006
Posts: 8

PostPosted: Wed Jun 06, 2007 2:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Admin
Site Admin


Joined: 04 Aug 2006
Posts: 488

PostPosted: Wed Jun 06, 2007 2:07 pm    Post subject: Reply with quote

You need to use ActiveX method UseFilePlaylist - refer to the SDK package, it has sample web page playing playlist.

Admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Unreal Media Server Forum Index -> Streaming Files All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group