質問

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!

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top