mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-11 19:09:20 +00:00
* feat(player): play video files with type="video/..." A src with a video type now plays in a <video playsinline> behind the same API and events as a composition: play/pause/seek, currentTime, duration, ready with the video's size, timeupdate, ended, loop, durationchange and resize. A load failure fires error at once with the MediaError code, and a blocked play fires playbackerror and leaves the player paused. The video is driven through the direct-timeline adapter and clock, and every src load goes through one _loadSrc that picks the video or the iframe. * fix(player): keep video playback steady across option changes, pauses and errors * fix(player): keep video playback in step with the video after seek, pause and srcdoc * fix(player): limit video-mode changes to video players and pause on srcdoc switches * refactor(player): cut the video-source header comment to two lines