HTML 5 audio, video is not working Safari 5.1 WinXP

只谈情不闲聊 提交于 2019-12-08 03:34:50

问题


I am using safari 5.1 version browser. Refer the screen shot about my safari.

I am executing the following audio tag as html file, the audio is not playing.

<!DOCTYPE html>
<html>
   <head>
      <title>Multi-Source Audio Player</title>
   </head>
   <body>
      <audio controls>
            <source src="data/horse.ogg" type="audio/ogg">
            <source src="data/horse.mp3" type="audio/mpeg">
      </audio>
  </body>
</html>

And also I test the audio with live sample w3school, its also no playing.

Please suggest how can I play HTML5 audio on safari 5.1.


回答1:


Do you have QuickTime installed? Safari needs QuickTime to play HTML5 audio and video. Daft I know but that's how it is.



来源:https://stackoverflow.com/questions/14433192/html-5-audio-video-is-not-working-safari-5-1-winxp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!