THEOplayer / web-ui

UI component library for the THEOplayer Web SDK
https://www.theoplayer.com/docs/open-video-ui/web/
MIT License
10 stars 0 forks source link

Add <theoplayer-seek-button> #12

Closed MattiasBuelens closed 1 year ago

MattiasBuelens commented 1 year ago

This buttons seeks the player forward or backward by a fixed offset.

Usage:

<theoplayer-seek-button seek-offset="-10"></theoplayer-seek-button> <!-- seek backward by 10 seconds -->
<theoplayer-seek-button seek-offset="10"></theoplayer-seek-button>  <!-- seek forward by 10 seconds  -->

On mobile, we show two of these buttons next to the centered play button in the default UI: screenshot