Your Digital Media Has Never Looked So Good

 
hmatar
Topic Author
Posts: 3
Joined: Sat Sep 02, 2017 8:09 pm

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

Sun Sep 10, 2017 10:04 pm

Hello 
in  the function OnVideoPlayerStateChange (check Link below
https://github.com/rokudev/hero-grid-channel/blob/9a37a6e65b6814c7c016b6a01035e78fe75b1ecc/components/DetailsScreen/DetailsScreen.brs)
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. 

Who is online

Users browsing this forum: No registered users and 3 guests