Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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 trả lời
  • 5 gặp vấn đề này
  • 37 lượt xem
  • Trả lời mới nhất được viết bởi 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>

Được chỉnh sửa bởi cor-el vào

Giải pháp được chọn

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>

Đọc câu trả lời này trong ngữ cảnh 👍 2

Tất cả các câu trả lời (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>

Được chỉnh sửa bởi cor-el vào

more options

Giải pháp được chọn

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>