Click to See Complete Forum and Search --> : Embed a streaming flash flv file


icklechurch
10-21-2009, 10:44 AM
Hi,

Is there any way to use the <embed> html code to embed a streaming flv player?

For example, at the moment I'm using a simple flash player to play videos of format .flv:

<script type="text/javascript">
var s1 = new SWFObject( "/javascript/FLVClipEditor.swf?" + new Date().getTime(),
"FLVClipEditor",
"560",
"392",
"9");
s1.addParam("allowfullscreen","true");
s1.addVariable("url","rtmp://192.168.30.110/vod/_definst_/flv:Profile4/00000000/00003000/00003340");
s1.addVariable("preview","/images/BoB_no_media_large.jpg");
s1.addVariable("mode","player");
s1.addVariable("lock","false");
s1.write("player");
</script>

Is there anyway I can take the URL
rtmp://192.168.30.110/vod/_definst_/flv:Profile4/00000000/00003000/00003340 and use it with the embed code?

Sorry if this is a daft question - I'm new to all of this :confused:

Eye for Video
10-21-2009, 06:54 PM
Sorry but I don't know the answer. Just curious as to why you would want to use the <embed> code. <embed> is really not valid code and best practice is rapidly moving away from that.
Is the <script> listed above working code?
I'm interested in setting up a streaming Flash server so I'm looking for info on that.
EfV