Html audio player audio stops in the middle

我只是一个虾纸丫 提交于 2019-12-11 16:45:36

问题


I am using simple html audio player here:

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

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

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

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

Please share any other suggestion.

Thanks in advance!


回答1:


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 live broadcast vs not

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



来源:https://stackoverflow.com/questions/55830509/html-audio-player-audio-stops-in-the-middle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!