Hello All,
Well, I've got a brand new project underway, however I'm having issues with my "Video Player". I'm trying to make a player that use's ASX play lists, and I'm having a few problems.
The Playlist works fine.. it is dynamic, however not through apache. Meaning that I run php code in it, and the browser thinks it is an ASX file because of the headers sent.
Anyways, my first question is this. I know video files can have "URL Flippers" inside them, so that you can change the URL in a frame, when a certain point in time is reached. My question is, is it possible to add that to ASX files? They're based on XML, and have a bunch of options (most of which I don't know), however I need some way of an iFrame to change page when the ad in the ASX code has finished running.
My second question is: I believe it is possible to link an embeded player to a PHP file, which contains the data to play the video (using headers again, would be best I think). My question is: How do I do it? I've tried and tried, and the closest I've gotten is that when I go to the page, half the file is downloaded (I don't know why), so half the video plays. However, the embeded media player doesn't work (it displays the ad from the ASX file, which doesn't use the play.php link, but after that's over it 'craps out').
Finally, is there an easier way than what I've described above, to make a video player that displays an ad first, and then the video?
These are kind of vague questions with no examples, but I can post any code, if you are able to help me.
Thank you all for your time in reading this, and I look forward to any help that you can give me.
Cheers,