[音频] WordPress 短代码中的错误 URL

Wrong URL in [audio] WordPress shortcode

我在使用 WordPress Audio Shortcode 时遇到问题。我是这样使用的:

<?php 
echo do_shortcode('[audio mp3="http://whowillbethenextonline.com/audio/html5-audio-1.mp3" ogg="http://whowillbethenextonline.com/audio/html5-audio-1.ogg"]');
?>

但在前面,在HTML代码中我得到:

<!--[if lt IE 9]><script>document.createElement('audio');</script><![endif]-->
<audio class="wp-audio-shortcode" id="audio-362-1" preload="none" style="width: 100%; visibility: hidden;" controls="controls">
    <source type="audio/mpeg" src="http://whowillbethenextonline.com/audio/html5-audio-1.mp3?_=1" />
    <source type="audio/ogg" src="http://whowillbethenextonline.com/audio/html5-audio-1.ogg?_=1" />
    <a href="http://whowillbethenextonline.com/audio/html5-audio-1.mp3">
        http://whowillbethenextonline.com/audio/html5-audio-1.mp3
    </a>
 </audio>

如您所见,在 <source/> 标签中 URL 到音频文件是不正确的(在 <a/> 标签中,URL 是可以的)。在URL的末尾有一些奇怪的“?_=1”,当然,播放器不工作。浏览器无法识别多媒体文件。

你能帮帮我吗?你知道我该如何解决吗?

问候

问题不在于 url,它可以很好地处理额外的参数。我认为问题在于元素的可见性处于隐藏状态:

style="width: 100%; visibility: hidden;"

另一个问题可能是它说 audio/mpeg 而不是 audio/mp3。