Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

RTMP Streaming and HTML Embed code


Hi Everyone,

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'>

<embed
id='mediaplayer1'
name='mediaplayer2'
src='player.swf'
width='480'
height='270'
allowfullscreen='true'
allowscriptaccess='always'
bgcolor='#000000'
wmode='opaque'
provider='rtmp'
streamer='rtmp://s1zar8eun4z37h.cloudfront.net/cfx/st'
flashvars='file=intro.mp4'/>
</object>

2 Community Answers

JW Player

User  
1 rated :


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="flashvars" value="streamer=rtmp://s1zar8eun4z37h.cloudfront.net/cfx/st&file=intro.mp4&provider=rtmp&image=http://www.truthofbeauty.co.uk/videoplayer/preview.jpg">
<embed type="application/x-shockwave-flash" src="http://www.truthofbeauty.co.uk/videoplayer/player.swf" id="mediaplayer1" name="mediaplayer2" width="480" height="270" allowfullscreen="true" allowscriptaccess="always" bgcolor="#000000" wmode="opaque" flashvars="streamer=rtmp://s1zar8eun4z37h.cloudfront.net/cfx/st&file=intro.mp4&provider=rtmp&image=http://www.truthofbeauty.co.uk/videoplayer/preview.jpg"/>
</object>



JW Player

User  
0 rated :

Ah thank you so much, didn't think to put the streamer inside flashvars.

Cheers!

This question has received the maximum number of answers.