H5 button click, video in ios (version 12) video.play (); video can not be played, other versions can be played

the code is as follows:
html:
< video id= "video" width= "1" height= "1" loop= "loop" controls= "controls" src= " http://v.zbjsaas.com/81fc8c21.;>ideo>

/ / Click to play the video



var video = document.getElementById("video");
    $("-sharpplay-video-btn").click(function () {
        if (isIOS) {
            $("-sharpvideo").show();
            video.play();
        }
    }
    
    

video.play ();
H5 button click, video can not be played in ios (version 12) video.play (); video, other versions can play

Dec.27,2021

if it is an internal browser of Wechat, it can be played through api provided by Wechat, but videos cannot be played actively on the high version of ios. Users need to manually trigger


Wechat's video had better start the same layer player. I have been doing H5 for such a long time, and I have not encountered anyone who cannot play () a click. Try to enable the same layer playback
ide/video.html" rel=" nofollow noreferrer "> https://x5.tencent.com/tbs/gu.


if it is in the App of IOS, it is recommended to set the mediaPlaybackRequiresUserAction property in the webview of IOS to false.
for specific reasons. Please refer to
https://stackoverflow.com/que.
https://developer.apple.com/d.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be3aca-30ede.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be3aca-30ede.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?