Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Video Not Playing on My Website

  • 6 답장
  • 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 수정일시