0
發揮了Qt WebKit的音頻問候不能在Windows XP
我有通過script tag
或html 5 aduio
在Windows XP中qt webkit
播放音頻的問題。我正在使用visual studio 2013和qt 5.5.1。
index.hpp中的以下代碼不能在windows xp中工作。
<script type="text/javascript">
var audio = new Audio('c:\\test.wav');
audio.play();
</script>
或者
<audio controls>
<source src="'c:\\test.wav'" type="audio/wav">
<source src="'c:\\test.mp3'" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>
它在Windows工作7而不是XP和有趣的是,我沒有看到「您的瀏覽器不支持音頻標籤。」消息,而運行在Windows XP。
任何人都知道發生了什麼事?
先進的感謝
謝謝你的回答。 –