kaltura / playkit-js

State of the Art HTML5 Player
GNU Affero General Public License v3.0
120 stars 35 forks source link

feat(FEC-13420): support start and end time of video #724

Closed lianbenjamin closed 1 year ago

lianbenjamin commented 1 year ago

Description of the Changes

add new configurations under PKSourcesConfigObject object:

if configured, the above will be chained to the playManifest request and as a result, the video will play from the seekFrom position to the clipTo position.

For example: configuring the following: seekFrom=10, clipTo=20, where the video duration is 40 sec. the duration of the video that will be played as a result, would be 10 sec long, where the first frame will be the same as the frame of the original video at position 10; and the end frame will be the same as the frame of the original video at position 20.

related PR- https://github.com/kaltura/kaltura-player-js/pull/658

Solves FEC-13420

CheckLists