문제

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