JWPlayer Javascript API for Android Webview

前端 未结 2 1025
[愿得一人]
[愿得一人] 2021-02-07 01:56

I\'m trying to get JWPlayer to return an alert when a few specific events happen from a flash player playing a local video. If you notice from the code below, onComplete, JWPlay

2条回答
  •  别那么骄傲
    2021-02-07 02:25

    I had the same problem while working with jwplayer, my conclusion was that the onComplete event isn't trustable in some cases. Can you benchmark other events does work like the onTime event ?

    Otherwise use the onIdle event and measure the time left ( getDuration - getPosition ) to get a custom onComplete event.

提交回复
热议问题