问题
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