HTML音频播放器音频在中间停止 [英] Html audio player audio stops in the middle

查看:183
本文介绍了HTML音频播放器音频在中间停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里使用简单的html音频播放器:

I am using simple html audio player here:

  <source src="TestFile.mp3" type="audio/mpeg" /> 

在Windows,mac safari中可以正常工作.在iPhone5s中也可以正常工作.

Works fine in windows, mac safari. Also works fine in IPhone5s.

但在部分更高版本的iPhone设备(iPhone 7)中有效.音频在音频中间停止.

But works partially in higher version of iPhone device (iPhone 7). Audio stops in the middle of the audio.

例如,如果音频持续时间为1.45分钟.音频会在1.01分钟后停止.

For Example if audio duration is 1.45 min. Audio stops in 1.01 min.

请分享其他任何建议.

Please share any other suggestion.

提前谢谢!

推荐答案

在网上冲浪很多之后,我们得到了与音频播放器无法完全播放音频有关的问题的答案

We got the answer from after lot of surfing in online for the issue related to audio player not playing the audio completely

HTML5< audio> Safari直播与否

我们已应用了接受的文件,并且看起来工作正常

We have applied the accepted and it seems to be working fine

这篇关于HTML音频播放器音频在中间停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆