RTMP Streaming and HTML Embed code
I am trying to embed the player using the html code <object> etc. into a wordpress index.php theme file and stream from amazon S3.
I tried the default embed method but the theme im using doesnt like script tags and all I get is the video and nothing else.
Anyway I have managed to get the player working fine and the video plays from S3 but it wont stream and waits for the entire video to load.
S3 is configured fine and is on "streaming" delivery.
I'm assuming that there is something wrong with the code im using or maybe the object method doesnt support streaming?
This is the code im using:
bc.. <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' id='mediaplayer1' name='mediaplayer1' width='480' height='270'>
<param name='movie' value='http://www.truthofbeauty.co.uk/videoplayer/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='bgcolor' value='#000000'>
<param name='wmode' value='opaque'>
<param name='provider' value='rtmp'>
<param name='streamer' value='rtmp://s1zar8eun4z37h.cloudfront.net/cfx/st'>
<param name='flashvars' value='file=intro.mp4&image=http://www.truthofbeauty.co.uk/videoplayer/preview.jpg'>