為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 回覆
  • 5 有這個問題
  • 37 次檢視
  • 最近回覆由 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 於 修改

被選擇的解決方法

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>

從原來的回覆中察看解決方案 👍 2

所有回覆 (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 於 修改

more options

選擇的解決方法

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>