Your Digital Media Has Never Looked So Good

Topic Author
Posts: 1
Joined: Sun Mar 03, 2019 9:45 pm

Video End Action

Tue May 14, 2019 9:17 pm

I have a very newbie question at the end of a video how do you add an event to return to another key event or player state? Hope I am saying this correct. As of now I have a small video player on the Detail page as you highlight and select the video it goes fullscreen. What would be the proper event handler at the end of the video to return to the small player like hitting the back button on the remote? Thanks and sorry if I am not making sense I am very new to this? Not sure How to implement it.

else if m.focusKey=6
Posts: 2720
Joined: Sat Dec 18, 2010 4:58 pm

Re: Video End Action

Wed May 15, 2019 4:24 am

Set an observer for the video.state variable, and when it is "finished" your video or playlist playback has completed, and your observer will call the function you specified when you set the observer.  You should be handling 'most' of the state changes - if only to track an error condition.

Who is online

Users browsing this forum: No registered users and 6 guests