Question

I have gone through the SEF plugin of the Samsung Smart TV API, and it seems there is no method like getState() or event like onstatechange...

Is there any method I can get the state of the player? Like 'Playing' or 'Pausing'?

or I can only self-defined a variable named state and change it time by time like the video example?

Any advice is pleased!

Was it helpful?

Solution

No. There is nothing like that. You must manage state by your own. You should change it while invoking Play or Stop and on events (like network error, etc...)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top