add new configurations under PKSourcesConfigObject object:
seekFrom - optional, number, in sec
clipTo - optional, number, in sec
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.
Description of the Changes
add new configurations under
PKSourcesConfigObject
object:seekFrom
- optional, number, in secclipTo
- optional, number, in secif 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