Reply
Is it possible to play random wmv files?
Old 04-23-2008, 09:43 AM Is it possible to play random wmv files?
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
I would like to have a Windows Media Player that would play random videos on my site. Is it possible to do this? The videos are in different folders.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 04-23-2008, 04:52 PM Re: Is it possible to play random wmv files?
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 564
Name: Darren
Location: England
When you say "random" I take it you mean every time a user visits the page, it plays a random song? Or do you mean when clicking a next button it "shuffles" the playlist?

Hmmm. found this somewhere else - using Javascript.

Not sure if i will work though?
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..."
QuizBay Help with the testing of this Beta site!

Last edited by rolda hayes : 04-23-2008 at 05:17 PM.
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 04-23-2008, 06:10 PM Re: Is it possible to play random wmv files?
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
Either or would work for me, but the simpler the better, ya know? Scripting is about as confusing as trying to read ancient Greek. However, that almost looks like it would work. I am assuming that where it says
// Our playlist array.
playlist[0] = '1.wmv'
playlist[1] = '1.wmv'
playlist[2] = '3.wmv'
playlist[3] = '4.wmv'
I would include the full url to the files, including which folder they are in, and it won't matter if they are in different directories?

And thanks for pointing this out.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Old 04-24-2008, 03:49 AM Re: Is it possible to play random wmv files?
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 564
Name: Darren
Location: England
Quote:
Originally Posted by Capt Quirk View Post
// Our playlist array.
playlist[0] = '1.wmv'
playlist[1] = '1.wmv'
playlist[2] = '3.wmv'
playlist[3] = '4.wmv'
I would include the full url to the files, including which folder they are in, and it won't matter if they are in different directories?
I think so, all looks quite straight forward - let me know how you get on!
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..."
QuizBay Help with the testing of this Beta site!
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 04-24-2008, 08:00 AM Re: Is it possible to play random wmv files?
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
Quote:
Originally Posted by johnxarce View Post
nice thanks capt quick
It's Quirk, not Quick... and I don't know why you are thanking me, I'm the one who's lost here

Rolda, I will do some testing, but I don't exactly know how to pull all this together. Right now, I am encoding an individual windows media video onto a blank web page, then call that page into an i frame. Yeah, it's crude but it works.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Old 05-08-2008, 01:08 PM Re: Is it possible to play random wmv files?
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
Ok, I have the randomMovie.js done, but how do I use the function renderMovie(){
? Do I simply place it where I used to have the emedded player?
__________________
http://GuitarGarage.tv , up and limping along.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Old 05-10-2008, 09:09 AM Re: Is it possible to play random wmv files?
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
Anybody?
__________________
http://GuitarGarage.tv , up and limping along.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Old 05-11-2008, 10:43 AM Re: Is it possible to play random wmv files?
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
Anybody at all...
__________________
http://GuitarGarage.tv , up and limping along.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Old 05-12-2008, 01:57 PM Re: Is it possible to play random wmv files?
Novice Talker

Posts: 12
Name: callum
sounds like a php job

btw i cant do it
calcalmx123 is offline
Reply With Quote
View Public Profile
 
Old 05-12-2008, 02:03 PM Re: Is it possible to play random wmv files?
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
Thanks Callum, but it was resolved with some help on a javascript I found a few posts back. I can't code, so I cut and paste... and pray
__________________
http://GuitarGarage.tv , up and limping along.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Old 05-12-2008, 11:00 PM Re: Is it possible to play random wmv files?
Plugin-Developer's Avatar
Weightlifting CS Student

Posts: 505
Name: Nick Ohrn
Capt Quirk - While I was able to help you in your other post, you won't always find help like that. I suggest you learn at least the rudimentary basics of programming.
__________________
Plugin-Developer.com - Custom plugin development to fit your needs. Plugins available for WordPress and Drupal, among others.
Plugin-Developer is offline
Reply With Quote
View Public Profile Visit Plugin-Developer's homepage!
 
Old 06-10-2008, 09:56 AM Re: Is it possible to play random wmv files?
Capt Quirk's Avatar
Extreme Talker

Posts: 202
Location: Flordidian
You know, if I were going to do web development full time, I would put the effort into it. But, I am a videographer by trade and have my hands full keeping up with that field. I just do the occasional web site when I absolutely need to.

I have a hard time with code, just like I did with algebra. While you might be able to look at some random string of code and get it, I see something that looks like somebody threw up their alphabet soup. Html is one thing, but trying to learn every single code and their syntax is pretty pointless at this stage in life. That would be like telling you to build your own car when you just need a ride across town.
__________________
http://GuitarGarage.tv , up and limping along.
Capt Quirk is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Is it possible to play random wmv files?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15916 seconds with 12 queries