Welcome Guest, Not a member yet? Register   Sign In
Flash player embed help
#1

[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">
<param name="movie" value="http://localhost/test1.php">
<param name="FlashVars" value="id=8450&style=redtube">
&lt;embed src="http://localhost/test1.php" width="550" height="400" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"&gt;
&lt;/embed&gt;
&lt;/object&gt;




try 2

Code:
&lt;object width="550" height="400"&gt;
<param name="movie" value="http://localhost/test.flv">
&lt;embed src="http://localhost/test.flv" width="550" height="400" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"&gt;
&lt;/embed&gt;
&lt;/object&gt;



What is wrong??


How can I do ?????



I have stuck for this from last 2 days




Code:
&lt;object width="425" height="355"&gt;<param name="movie" value="http://www.youtube.com/v/_XC2mqcMMGQ&rel=1"></param><param name="wmode" value="transparent"></param>&lt;embed src="http://www.youtube.com/v/_XC2mqcMMGQ&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;



this one works good but


Code:
&lt;object width="425" height="355"&gt;<param name="movie" value="http://localhost/test.flv"></param><param name="wmode" value="transparent"></param>&lt;embed src="http://localhost/test.flv" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;

does not works

help me
#2

[eluser]Ahmed Nuaman[/eluser]
You should use this: http://blog.deconcept.com/swfobject/
#3

[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:
&lt;object width="425" height="355"&gt;
<param name="movie" value="http://localhost/music/js/flvplayer.swf"></param>
&lt;embed src="http://localhost/test1.php?id=101" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="425" height="355"&gt;&lt;/embed&gt;
&lt;/object&gt;


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
#4

[eluser]Ahmed Nuaman[/eluser]
Your problem is that you're using the &lt;object&gt; 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");
#5

[eluser]Justin Patel[/eluser]
[quote author="Ahmed Nuaman" date="1201659583"]Your problem is that you're using the &lt;object&gt; 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
#6

[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




Theme © iAndrew 2016 - Forum software by © MyBB