video.js icon indicating copy to clipboard operation
video.js copied to clipboard

ended event not working in WebView(iOS, Android)

Open atomsbaza opened this issue 2 years ago • 1 comments

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

  1. Open Application on Andriod or iOS
  2. Select streaming content
  3. Wait until the streaming end
  4. "ended" event should trigger
  5. 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

atomsbaza avatar Jul 07 '22 16:07 atomsbaza

👋 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.

welcome[bot] avatar Jul 07 '22 16:07 welcome[bot]

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.

misteroneill avatar Mar 28 '23 16:03 misteroneill