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: 
ljunkie
Visitor

bookmarkPosition vs playStart in roVideoPlayer and roVideoScreen

Both of these attributes definitions have been recently updated here, and it's a but concerning. We've always used PlayStart to resume a video, and allow seeking before that point. If I'm reading this right, it should be clipped now, but it actually isn't. We've looked into converting to `BookmarkPosition`, which seems to work find with the `roVideoPlayer`, but it does not in the `roVideoScreen` (starts from the beginning). Are these new definitions just wrong or is the functionality broken here. Note that playStart does not clip the video, which is good for now since that was NOT the original functionality. 


BookmarkPosition
BookmarkPosition sets the default start position, in seconds, for this content. The player will start playback at this position in the content unless an explicit seek position was set. An explicit seek position can be set by calling seek on the player or after a user has selected a starting point via the trickplay UI.

Users are allowed to seek to positions prior to BookmarkPostion in the content. This value takes precedence over the PlayStart value.


PlayStart
PlayStart defines the start position of the content, in seconds. The player is not allowed to move to a position prior to this point. Any seek operation prior to this point will be clipped to PlayStart.


Channels can use PlayStart and PlayDuration to split one content piece into multiple clips and insert these clips with other content (typically advertisements) into one content list.
0 Kudos
2 REPLIES 2
ljunkie
Visitor

Re: bookmarkPosition vs playStart in roVideoPlayer and roVideoScreen

@Roku can you confirm if we should be using `bookmarkPosition` or `playStart` to resume a video and allow seeking to any point. As mentioned above, we've always used `playStart`, but the current definition reflects that a dangerous choice.
0 Kudos
ljunkie
Visitor

Re: bookmarkPosition vs playStart in roVideoPlayer and roVideoScreen

@Roku can you please comment on the inaccurate documentation or possible bug?
0 Kudos