Enable or disable gapless looping Only supported when this HSVideo was created from a single-URL playlist. Enabling loop on a multi-URL playlist has no effect and logs a warning.
Pass true to loop playback indefinitely
Self for chaining
Seek to a specific position
The position to seek to, in seconds
Self for chaining
StaticfromLoad a playlist of videos to play back to back, in order
Each entry is a local file path (~ is expanded) or a remote URL string
An HSVideo object, or null if the list is empty or an entry couldn't be resolved
Bridge type for working with video playback in JavaScript HSVideo wraps an
AVQueuePlayerand can be embedded in anhs.ui.windowvia.video(), or driven entirely from JavaScript withplay(),pause(),seek(),loop(), andvolume.Loading Video
Each entry may be a local file path (
~is expanded) or a remote URL string. Multiple entries are queued and play back to back, in order.Playback Control
Looping
Gapless looping (via
AVPlayerLooper) is only supported when the playlist contains a single URL. Callingloop(true)on a multi-URL playlist has no effect (the playlist just plays through once) and logs a warning.