Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Video Not Playing on My Website

  • 6 одговорa
  • 1 има овај проблем
  • 16 прегледа
  • Последњи одговор послао 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?
Приложени снимци екрана

Сви одговори (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.

Измењено од стране 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)

Измењено од стране cor-el