我在表中使用音頻標籤。它有一個像下面的格式:音頻標籤在鍍鉻中無法正常工作
<table style=";width:100%;" cellspacing="5">
<tbody>
<tr>
<td>1.</td>
<td>xxx</td>
<td>
<audio controls="controls" preload="none">
<source src="/v/vspfiles/music/294/track_01.mp3" type="audio/mpeg">
<embed height="50" width="100" src="/v/vspfiles/music/294/track_01.mp3">
Your browser does not support this audio format.</audio>
</td>
</tr>
</tbody>
</table>
但這並不順利在Chrome每次工作。 例如: 音頻:https://www.cityluxe.sg/ProductDetails.asp?ProductCode=294不會在Chrome上播放。但文字「您的瀏覽器不支持此音頻格式」。也不顯示。然而,它適用於其他瀏覽器(即,ff,safari)。瀏覽器全部更新到最新版本。
我認爲這可能不適用於表格。但有這樣的成功案例: https://www.cityluxe.sg/ProductDetails.asp?ProductCode=306。 所有的音頻文件都可以在所有瀏覽器中完美播放(即ff,safari,chrome)。
我不知道是什麼問題,我的代碼有什麼問題嗎?
我有同樣的問題。你弄明白了嗎? –
這可能有助於http://stackoverflow.com/questions/32640450/audio-tag-for-mp3-doesnt-really-work-on-chrome/41911882#41911882 –