How to realize automatic playback of video videos played by webview

the project is written in vue. Now I need to play the ad video screen. I can automatically play it on the computer browser, but it cannot be automatically played after it is packaged to generate webview through Android. Excuse me, how can I achieve automatic playback?
this is the H5 video tag for the code I wrote

<video ref="videoAuto" width="1080px" height="1920px" loop > 
     <source src="../../../static/image/logo.mp4" type="video/mp4">
</video>
js
autoVido(){
        let self= this
        let videos = self.$refs.videoAuto; 
        videos.loop = "loop";
        videos.play();
    }

I feel that it may be a configuration file problem that I have to communicate with the native.
I didn't know before and later found that even calling the camera has to be configured natively


Mobile browsers have restrictions on auto playback, but you can customize webview with app,. Just talk to the person who wrote app and ask him to find a way to remove this restriction of webview


client webview onPageFinished (page loading is complete) call play method OK
has nothing to do with the front end

Menu