Flash player embed help |
[eluser]Justin Patel[/eluser]
Hello friend I am trying to embed the flash player from html document but I am unable to do this... please help me try 1 Code: <object width="550" height="400"> try 2 Code: <object width="550" height="400"> What is wrong?? How can I do ????? I have stuck for this from last 2 days Code: <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/_XC2mqcMMGQ&rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/_XC2mqcMMGQ&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object> this one works good but Code: <object width="425" height="355"><param name="movie" value="http://localhost/test.flv"></param><param name="wmode" value="transparent"></param><embed src="http://localhost/test.flv" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object> does not works help me
[eluser]Ahmed Nuaman[/eluser]
You should use this: http://blog.deconcept.com/swfobject/
[eluser]Justin Patel[/eluser]
[quote author="Ahmed Nuaman" date="1201648830"]You should use this: http://blog.deconcept.com/swfobject/[/quote] that is for flash I need it for flash player Code: <object width="425" height="355"> Above code work for other url like : http://www.youtube.com/v/dN2g_EselXM&rel=1 but when I try to use my local files it does not work
[eluser]Ahmed Nuaman[/eluser]
Your problem is that you're using the <object> that's not very good. It is better to go and download SWFobject and use it in the following way: <div id="flashcontent"> This text is replaced by the Flash movie. </div> var so = new SWFObject("movie.swf", "mymovie", "400", "200", "8", "#336699"); so.write("flashcontent");
[eluser]Justin Patel[/eluser]
[quote author="Ahmed Nuaman" date="1201659583"]Your problem is that you're using the <object> that's not very good. It is better to go and download SWFobject and use it in the following way: <div id="flashcontent"> This text is replaced by the Flash movie. </div> var so = new SWFObject("movie.swf", "mymovie", "400", "200", "8", "#336699"); so.write("flashcontent"); [/quote] you are right my friend... but it does not work for .flv files which is for flash player
[eluser]Ahmed Nuaman[/eluser]
.flv files need to be embedded in to flash files. Read this: http://livedocs.adobe.com/flash/8/main/w...01569.html |
Welcome Guest, Not a member yet? Register Sign In |