jeaux
10-01-2008, 06:48 AM
I want to change the video that's played at runtime. So from one page that has a list of videos and the href would be something like videoplayer.php?videoID=00001
In the videoplayer.php file, php will access the mySQL DB and return the path to the videofile. i.e. videofolder/whatever.flv
Now how do I pass this data from the html to my flashvideoplayer.swf that's embedded on this same page.
I've tried using DW4 to do it and then just altering the code that it generates to play a different flv, but I have a custom skin that I created and when I alter the skin name it just pastes the skin over the flv with no functionality. And DW4 seems to have some problem connecting to FMS3. Anyway I created a basic movie with a FLVPlayback component that accepts myskin.swf and will play from content path/source rtmp://localhost/vod/AdobeBand_640.flv
So how do I change the source at runtime. I've tried so many things it probably sounds like I'm talking in circles. Anyway I'm very confused and need some serious direction.
I'm a noob so any incite is helpful,
Joe
Suppose I should have included it's AS3
In the videoplayer.php file, php will access the mySQL DB and return the path to the videofile. i.e. videofolder/whatever.flv
Now how do I pass this data from the html to my flashvideoplayer.swf that's embedded on this same page.
I've tried using DW4 to do it and then just altering the code that it generates to play a different flv, but I have a custom skin that I created and when I alter the skin name it just pastes the skin over the flv with no functionality. And DW4 seems to have some problem connecting to FMS3. Anyway I created a basic movie with a FLVPlayback component that accepts myskin.swf and will play from content path/source rtmp://localhost/vod/AdobeBand_640.flv
So how do I change the source at runtime. I've tried so many things it probably sounds like I'm talking in circles. Anyway I'm very confused and need some serious direction.
I'm a noob so any incite is helpful,
Joe
Suppose I should have included it's AS3