The video video can only be played for 1 second on the safari browser, and then it has been buffered all the time. How to solve this problem?

problem description

there is no problem with the video tag and video format. Try to play other short videos.

in the mobile phone safari test, the screen is off, and then on, it can be played for a few seconds, and then it will not work again.

the local test can be played, but if it is transferred to a formal website server, it is not allowed, and this problem will occur.

I really don"t know how to solve it. Please help me if you know it. Thank you.

Apr.03,2021

look at the same questions on the Internet, no one has answered or solved them. After two days of messing around, I finally got it. What I found on the Internet was basically if it wasn't about the browser mechanism, that is to say, I changed the server. As a PHP+JS rookie, I really didn't understand. The solutions seemed to be java. At first, I felt troublesome to find plug-ins, because I didn't know how to use plug-ins, and I didn't know how to do it. I think this should have something to do with bandwidth, because small videos or locally tested 500m videos are OK, but slightly larger videos are not allowed on the server. Ask the boss, the boss said that the server is 1m bandwidth, and then I feel desperate. Suddenly I saw the video sharing and playing of Youku, a big manufacturer, and added an iframe tag, but at present, this should only be watched on the mobile phone. But what I do is a mobile website, regardless of computer viewing. All right, go to the code:
< iframe height=280px width=100% src=' http://player.youku.com/embed.' frameborder=0 'allowfullscreen' > < / iframe >
that's it, height and width according to your own needs. (I don't know if it's useful or not, the big local video, or increase the bandwidth obediently. I think so. If not, please let me know as soon as possible, so as not to disturb the children.)

Menu