Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

Using Firefox 20.0.1 with flash 10.3.183.75, can not see the Flash video if its embedded. Can see perfectly if not embedded. Chrome works fine.

  • 4 yanıt
  • 5 kişi bu sorunu yaşıyor
  • 37 gösterim
  • Son yanıtı yazan: shivaniT

more options

http://64.165.34.7:8134/videoplayer3.html runs fine but http://64.165.34.7:8134/flash_ready.html does not load video in Firefox(black screen with plug in is needed, when you try to install "no plug in found"). Chrome is working fine. IE shows an blank outline.

flash_ready.html
<!DOCTYPE html>
    <html>
        <head runat="server">
            <title>
                HTML5 sample video player
            </title>
</head>
<body>
 <form id="Schedule" runat="server">
    <div >     
	  <EMBED height=500 width=700 src=http://64.165.34.7:8134/videoplayer3.html allowscriptaccess="always" wmode="transparent" allowFullScreen="true">
        </EMBED>
		</div>
		</form>
</body>
</html>

videoplayer3.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sample HTML5 Video player</title>
 
</head>

<body>


<h1>Sample HTML5 Video player demo</h1>

<object type="application/x-shockwave-flash" data="http://flashfox.googlecode.com/svn/trunk/flashfox.swf" width="640" height="360">
	<param name="movie" value="http://flashfox.googlecode.com/svn/trunk/flashfox.swf" />
	<param name="allowFullScreen" value="true" />
	<param name="wmode" value="transparent" />
	<param name="flashVars" value="controls=true&amp;poster=http%3A%2F%2Fsandbox.thewikies.com%2Fvfe-generator%2Fimages%2Fbig-buck-bunny_poster.jpg&amp;src=http%3A%2F%2Fclips.vorwaerts-gmbh.de%2Fbig_buck_bunny.mp4" />
	<img alt="Big Buck Bunny" src="http://sandbox.thewikies.com/vfe-generator/images/big-buck-bunny_poster.jpg" width="640" height="360" title="No video playback capabilities, please download the video below" />
</object>
<p>
	<strong>Download video:</strong> <a href="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4">MP4 format</a> | <a href="http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogv">Ogg format</a> | <a href="http://clips.vorwaerts-gmbh.de/big_buck_bunny.webm">WebM format</a>
</p>
</body>
</html>
http://64.165.34.7:8134/videoplayer3.html runs fine but http://64.165.34.7:8134/flash_ready.html does not load video in Firefox(black screen with plug in is needed, when you try to install "no plug in found"). Chrome is working fine. IE shows an blank outline. <pre><nowiki>flash_ready.html <!DOCTYPE html> <html> <head runat="server"> <title> HTML5 sample video player </title> </head> <body> <form id="Schedule" runat="server"> <div > <EMBED height=500 width=700 src=http://64.165.34.7:8134/videoplayer3.html allowscriptaccess="always" wmode="transparent" allowFullScreen="true"> </EMBED> </div> </form> </body> </html> videoplayer3.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sample HTML5 Video player</title> </head> <body> <h1>Sample HTML5 Video player demo</h1> <object type="application/x-shockwave-flash" data="http://flashfox.googlecode.com/svn/trunk/flashfox.swf" width="640" height="360"> <param name="movie" value="http://flashfox.googlecode.com/svn/trunk/flashfox.swf" /> <param name="allowFullScreen" value="true" /> <param name="wmode" value="transparent" /> <param name="flashVars" value="controls=true&amp;poster=http%3A%2F%2Fsandbox.thewikies.com%2Fvfe-generator%2Fimages%2Fbig-buck-bunny_poster.jpg&amp;src=http%3A%2F%2Fclips.vorwaerts-gmbh.de%2Fbig_buck_bunny.mp4" /> <img alt="Big Buck Bunny" src="http://sandbox.thewikies.com/vfe-generator/images/big-buck-bunny_poster.jpg" width="640" height="360" title="No video playback capabilities, please download the video below" /> </object> <p> <strong>Download video:</strong> <a href="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4">MP4 format</a> | <a href="http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogv">Ogg format</a> | <a href="http://clips.vorwaerts-gmbh.de/big_buck_bunny.webm">WebM format</a> </p> </body> </html></nowiki></pre>

cor-el tarafından tarihinde düzenlendi

Seçilen çözüm

I used this instead of <embed>. it started working

<object type="text/html" data="http://64.165.34.7:8134/videoplayer3.html" style="width:460px; height:260px"></object>

Bu yanıtı konu içinde okuyun 👍 2

Tüm Yanıtlar (4)

more options

You're trying to embed an HTML file here, I hope you're aware of that.

I have never seen anyone embed an HTML file through an <embed> tag.

So, please try to embed the video file itself.

more options

I need to embed this video player at different places with different video files. Then how will I achieve this? As I already stated the same code is working in chrome.

more options

Google Chrome comes with its own Flash plugin and can play mp4 files natively.

Firefox doesn't support playing MP4 files and you would need a Flash player anyway with type="application/x-shockwave-flash" to play such a file.

<object type="application/x-shockwave-flash" data="http://64.165.34.7:8134/vod/cupertino/xxxxxxx.mp4" width="300" height="120"><p>Alternative content</p></object>

cor-el tarafından tarihinde düzenlendi

more options

Seçilen çözüm

I used this instead of <embed>. it started working

<object type="text/html" data="http://64.165.34.7:8134/videoplayer3.html" style="width:460px; height:260px"></object>