Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Avatar for Username

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

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>