The easiest way to do this is to create your video in Flash. You can embed this on your page like so: <object width="550" height="400"> <param name="movie" value="someflashfile.swf"> <embed src="someflashfile.swf" width="550" height="400"> </embed> </object> HTML:
<object width="550" height="400"> <param name="movie" value="someflashfile.swf"> <embed src="someflashfile.swf" width="550" height="400"> </embed> </object> Code (markup): Change "someflashfile.swf" to your flash name. 100% work. Or use export as html+flash and copy the code from html. For .flv use a player. PS:Sorry for my bed english
I use this and work for me. <body> .................... <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="450" width="450"><param name="width" value="450"><param name="height" value="450"><param name="src" value="http://site.com/flash.swf"><embed type="application/x-shockwave-flash" src="http://site.com/flash.swf" height="450" width="450"></object> Code (markup): ................... </body>
You cannot embed a FLV file in the Active X object code. You must use a SWF file that can play the FLV files. There is a really cool open source player you can use that is fully skinnable called Flow Player (http://www.flowplayer.org). Check it out and let me know what you think. If you just embed any Active X into your pages using HTML only, IE users will have to "click to activate the control". The proper way is to call it using JavaScript in a external JS file. For embedding SWF files, your best bet is to use SWFObject which can detect the Flash player and properly embed your file. http://blog.deconcept.com/swfobject/
I personally use the Flash Satay, even though it's incapable of detecting the Flash player version (though that can theoretically be done by embedding some ActionScript into the container SWF file - I know it was possible in Flash 4) and the JAWS screen reader was unable to "read" it, but that was back in 2005. I haven't heard anything to the contrary within the past year or two so I'd say it's safe to bet that the issue remains. http://www.alistapart.com/articles/flashsatay (note that the final example has a syntax error - it can be fixed if you copy/paste the example code snippets from the article rather than the final example)
I tried but that only works with SWF files not flv, I tried replacing with .flv files but it didnt work. one downside is the fact that it automatically plays so I will have problems if there are more than one video I tried a couple of the codes as I didnt know whcih one would work, and found out that it automatically plays so I will also have problems if there are more than one video I just downloaded this, will give it a try and let you know if it works