Wednesday, February 8, 2023
HomeiOS DevelopmentShut video participant on IOS when ended with html, javascript

Shut video participant on IOS when ended with html, javascript


i’m utilizing html,js to create a tag . When i play video on browser of Android System, open full display to look at. After video finish, it is going to be shut as a result of i used JS on this. However with IOS, i watched with safari, it not shut when ended of video, it simply cease and doesnt shut video participant. After researched, i do know completely different between ios participant and one other machine.

HTML Code :

<video id="my-video" class="video-js"></video>

JS Code :

participant.on('ended', perform () {
        alert("closed ios participant")
    }

Some physique assist me : How one can shut ios participant when finish video with html and js IOS Participant

Im looking for one other assist me shut ios participant when ended video with HTML JS

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments