Page 1 of 1

Help!

Posted: Sun Nov 27, 2005 9:48 am
by activeradio
Hi, I was wondering if you guys could help me, i need to create a web based media player that will automatically switch to a backup stream when the main stream isn't streaming and switch back again when the mainstream re-activates.

Re: Help!

Posted: Sun Nov 27, 2005 9:53 am
by foobar
Can you post some code? What code do you have problems with?

I hope you're not expecting this to be done for you from scratch. Help, yes; favors, no.

Posted: Sun Nov 27, 2005 9:58 am
by activeradio
im familiar with the active x code to run a media player, but i was just wondering how to intergrate php into it. Is this possible (we dont have to use active x)?

Posted: Sun Nov 27, 2005 10:49 am
by josh
If you're just outputting the code for an embedded media player, you'll need to ping / attempt to connect with sockets. Depending on what you determine about the string you output different code.

<Off topic>
I remember someone who found an exploit in IE to replace media player's executable with an arbitrary file, using javascript. Had proof of concept code.
</Off topic>