Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hmatar
Visitor

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