Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hmatar
Level 7

hide player in case of error or buffering taking too much time.

Hello 
in  the function OnVideoPlayerStateChange (check Link below
https://github.com/rokudev/hero-grid-channel/blob/9a37a6e65b6814c7c016b6a01035e78fe75b1ecc/component...)
we hide the player in case of error  using ....
ifm.videoPlayer.state= "error"
....
when I tried to play a .ts video (live streaming), i got the error in eclipse console:
'Dot' Operator attempted with invalid BrightScript Component or interface reference. The progress-bar is visible and my Roku becomes unresponsive to the back button (to go back to the grid). To use the application I need to click on the home button then launch the application again. 
is it possible to avoid this? by simply hiding the player in case of error or buffering taking too much time. 
0 Kudos