이 쓰레드는 보존되었습니다. 만약 도움이 필요하시면 새로운 질문을 올려주세요.
Audio player shows and disappear in Firefox
I try to use HTML5's audio tag to play a music file on my site. This is my syntax:
<source type="audio/ogg" src="/portals/0/BelizeNationalAnthem.ogg"></source>
<source type="audio/mp3" src="/portals/0/BelizeNationalAnthem.mp3"></source>
The problem I am encountering is that when I refresh my page, I can see the player, but only for a few seconds, then it fade out. I have tried using my Firefox to visit some other sites that use the same HTML5 audio tag, and it works fine. I try to visit my page in Chrome and IE normally. So I don't understand what is causing my Firefox to fade out the music player.
글쓴이 snstar2006 수정일시
this is because the ogg-vorbis encoded file is not present on the server at the specified location문맥에 따라 이 답변을 읽어주세요 👍 1
모든 댓글 (2)
this is because the ogg-vorbis encoded file is not present on the server at the specified location
Well, the file does exist on the server, but the server returns "File Not Found" error code because the MIME type for OGG files is not configured. Thanks