Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Video Not Playing on My Website

  • 6 replies
  • 1 has this problem
  • 16 views
  • Last reply by cor-el

more options

I have a website- www.1stopnonprofitshop.com and the video I uploaded plays fine in Chrome but won't play in Firefox. It says "A Plugin is needed to display this content." Do you know how I can fix it so the video plays?

I have a website- www.1stopnonprofitshop.com and the video I uploaded plays fine in Chrome but won't play in Firefox. It says "A Plugin is needed to display this content." Do you know how I can fix it so the video plays?
Attached screenshots

All Replies (6)

more options

That is because you use an embed element to open an HTML file. opening an HTML file via embed is not working in Firefox. You need to use an object or iframe to embed a media player this way.

You can test this with a bookmarklet in the Web Console (Firefox/Tools > Web Developer).

javascript:(function(){var cE='iframe',eE=document.querySelectorAll('embed');for(i=0;E=eE[i];i++){N=document.createElement(cE);for(j in E.attributes){A=E.attributes[j];if((A.name!=undefined)&&(A.value!=undefined)){N.setAttribute(A.name,A.value)}}E.parentNode.replaceChild(N,E)}})()

See:


<iframe src="//www.youtube.com/embed/S6TVagigP8o?rel=0&amp;controls=0&amp;showinfo=0" frameborder="0" height="300" width="450"></iframe>
more options

So if I post that link you gave me that starts with <iframe src= it should play properly? I loaded some plugin and now it seems to be playing on Firefox the way I had it coded previously...but not sure if it will work for everyone using Firefox.

Modified by cor-el

more options

Not sure why the above posted so weird. So if I post that link you gave me above then it should play ok? I loaded some plugin and it seems to work now the way I had it before, but not sure if it will work for everyone.

more options

It went wrong in the above post because of the <iframe. You would have the escape the < as &lt; to avoid such issues.

As long as you use an OBJECT tag and not EMBED then it should always work OBJECT can play a direct media file (e.g. .mp4 link) or embed the media player in case you use an HTML YouTube link. To embed a YouTube link that is actually an HTML file then best is to use the above mentioned IFRAME to embed this media file.

more options

I changed it to the code you gave me, but it's still not working. Can you check if you can view the video on my site (www.1stopnonprofitshop.com) on Firefox? I am able to view the video on Firefox on the computer I downloaded a plugin for...so I'm not sure if my plugins are just outdated. I just worry this will happen to others who try to view my website from Firefox.

more options

It works for me on that test site.

  • http://www.1stopnonprofitshop.com/
<iframe src="//www.youtube.com/embed/S6TVagigP8o?rel=0&controls=0&showinfo=0" frameborder="0" height="300" width="450"></iframe>

Did you check via the Lego block icon on the at the left end of the location bar that the Flash plugin is enabled?


You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • Hold down the Shift key and left-click the Reload button
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Command + Shift + R" (Mac)

Modified by cor-el