Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Safari(Windows操作系统)中没有声音_Php_Jquery_Html_Safari - Fatal编程技术网

Php Safari(Windows操作系统)中没有声音

Php Safari(Windows操作系统)中没有声音,php,jquery,html,safari,Php,Jquery,Html,Safari,适用于Windows 8.1的Safari版本 已检查以下链接 更新-1 甚至下面的代码在Windows操作系统的Safari中也不起作用。没有声音 <html> <head> <meta charset="UTF-8"> </head> <body> <audio autoplay src="https://www.soundhelix.com/examp

适用于Windows 8.1的Safari版本

已检查以下链接

更新-1 甚至下面的代码在Windows操作系统的Safari中也不起作用。没有声音

<html>
    <head>
        <meta charset="UTF-8">
    </head> 
    <body>      
        <audio autoplay src="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3">
        </audio>
    </body>
</html>
<html>
    <head>
        <meta charset="UTF-8">
    </head> 
    <body>      
        <audio autoplay>
            <source 
                 src='https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3' 
                 type='audio/mpeg'>
            </source>
        </audio>
    </body>
</html>

更新-2

下面的代码在Windows操作系统的Safari中不起作用。没有声音

<html>
    <head>
        <meta charset="UTF-8">
    </head> 
    <body>      
        <audio autoplay src="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3">
        </audio>
    </body>
</html>
<html>
    <head>
        <meta charset="UTF-8">
    </head> 
    <body>      
        <audio autoplay>
            <source 
                 src='https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3' 
                 type='audio/mpeg'>
            </source>
        </audio>
    </body>
</html>


首先在不使用JS的情况下尝试,使用SRC属性,但请检查UpdatesSafari现在的版本12。你在安装5的情况下做什么?我在Windows 8.1中工作。此版本适用于Windows操作系统吗?适用于Windows的Safari 5。。。表示需要QuickTime安装。另外,请尝试仅使用HTTP而非HTTPS的示例。