Help!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
activeradio
Forum Newbie
Posts: 2
Joined: Sun Nov 27, 2005 9:43 am

Help!

Post 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.
foobar
Forum Regular
Posts: 613
Joined: Wed Sep 28, 2005 10:08 am

Re: Help!

Post 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.
activeradio
Forum Newbie
Posts: 2
Joined: Sun Nov 27, 2005 9:43 am

Post 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)?
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post 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>
Post Reply