HTML 5音频,视频无法正常运行Safari 5.1 WinXP [英] HTML 5 audio, video is not working Safari 5.1 WinXP
本文介绍了HTML 5音频,视频无法正常运行Safari 5.1 WinXP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Safari 5.1版本的浏览器.请参阅有关我的野生动物园的屏幕截图.
I am using safari 5.1 version browser. Refer the screen shot about my safari.
我正在将以下音频标签作为html文件执行,音频无法播放.
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>
我还使用实时样本 w3school测试了音频,它也没有播放.
And also I test the audio with live sample w3school, its also no playing.
请提出如何在Safari 5.1中播放HTML5音频的提示.
Please suggest how can I play HTML5 audio on safari 5.1.
推荐答案
您已安装QuickTime吗? Safari需要QuickTime才能播放HTML5音频和视频.我知道是愚蠢的,但事实就是如此.
Do you have QuickTime installed? Safari needs QuickTime to play HTML5 audio and video. Daft I know but that's how it is.
这篇关于HTML 5音频,视频无法正常运行Safari 5.1 WinXP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文