Webview plays video vue2 items

the project is written in Vue. Now there is a requirement that I use the video tag to write that when I am a browser writing a project, it can be played automatically through js code, but it cannot be played automatically after the Android side is packaged. Excuse me, what is the reason for the need for the front end to do it or what should I do on the Android side?
here is my js code:

    autoVido(){
        let self= this
        let videos = self.$refs.videoAuto; //video
        videos.loop = "loop";
        videos.play();
    }

the topic that I remember correctly should have asked this question. If I remember the answer at that time, it was realized by android calling js actively after the page was loaded successfully. Is it useless

?
Menu