Could some one help me figure out on how to display ad markers. For example like a dot in the video player progress bar like how youtube display a green or red dot so that users know when a ad break will appear in the video playback.
And also was wondering if we can display a overlay on the roVideoscreen
Neither of these is possible with roVideoScreen. You can create a custom video player with roVideoPlayer and roScreen/roImageCanvas which would let you draw any kind of overlays you want, but you’d also have to implement the trick play functionality yourself (fast forward, rewind, etc.).
Just have the same question but for Scenegraph Video node. Is this possible with the default UI for the Video node? Even without setting any such information, by default there are couple of dots visible on the progress bar, which I don’t understand. What do they indicate?
The dots mean nothing. It would be fascinating to hear an explanation from Roku why they decided to add meaningless dots in an area that, according years of convention, is reserved for chapter markers.
While it is possible to add your own shapes on top of the built-in controls by creating a new layer, it is almost impossible (I quit trying) to figure out the dimensions of the scrubber.
“vjani” wrote:
Just have the same question but for Scenegraph Video node. Is this possible with the default UI for the Video node?
There may be an unpublished API that allows that and we may be interested in sharing that with developers.
Contact us direct for more. (Side-eye @ tim_beynart)
Even without setting any such information, by default there are couple of dots visible on the progress bar, which I don’t understand. What do they indicate?
These are quartiles (i.e. 25%, 50%, 75%).