video.js
video.js copied to clipboard
ended event not working in WebView(iOS, Android)
Description
ended event not working in WebView(iOS, Android)
getStream(): void {
var myPlayer = videojs('myVideo');
myPlayer.ready(function () {
this.on('ended', function () {
alert("before send data");
this.sendData();
})
});
}
When streaming is end Alert popup is not working including it cannot call other functions but it working find on desktop.
Reduced test case
No response
Steps to reproduce
- Open Application on Andriod or iOS
- Select streaming content
- Wait until the streaming end
- "ended" event should trigger
- Alert message on mobile devices
Errors
No response
What version of Video.js are you using?
7.19.2
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Chrome. Safari
What OS(es) and version(s) does this occur with?
iOS, Android
👋 Thanks for opening your first issue here! 👋
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.
This issue has been open for a while, but we didn't get around to investigating it. If this is still an issue in a current version of Video.js, please open a new ticket.