Different player for video and music

Need help? Post your questions here.

Moderator: moderators

Different player for video and music

Postby Hopelessness » Sat May 30, 2009 11:41 am

Well I managed to crack video. I'm not too hot on Java coding though, so any chance somebody could help me out with a little IF statement?

All I want to do is have different settings for the player depending on whether the file is FLV or MP3, so that means post transcoding. Is there any way of doing this?

In psuedocode:

IF %s = *.flv then
blah blah video player set up
else if %s = *.mp3 then
blah blah music player set up
end if

If anybody wouldn't mind giving me a quick hand I'd be grateful!
Last edited by Hopelessness on Mon Jun 01, 2009 2:37 am, edited 1 time in total.
Hopelessness
 
Posts: 10
Joined: Tue May 26, 2009 2:05 am

Postby Hopelessness » Sat May 30, 2009 6:45 pm

Bump...
Hopelessness
 
Posts: 10
Joined: Tue May 26, 2009 2:05 am

Postby mixmaster » Sat May 30, 2009 9:23 pm

dude, i like how you bumped a topic that was third down from the top.
________
Last edited by mixmaster on Sun Mar 06, 2011 2:08 am, edited 1 time in total.
mixmaster
 
Posts: 121
Joined: Thu Nov 13, 2008 5:30 am

Postby Hopelessness » Sat May 30, 2009 11:12 pm

Well I wasn't exactly getting any attention!
Hopelessness
 
Posts: 10
Joined: Tue May 26, 2009 2:05 am

Postby mixmaster » Mon Jun 01, 2009 12:24 am

Yeah, I can get how 7 hours and 1 other post can make it seem like that
________
mixmaster
 
Posts: 121
Joined: Thu Nov 13, 2008 5:30 am


Return to Help

Who is online

Users browsing this forum: No registered users and 7 guests