mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
Adds a new Media section to the Design panel that appears when a <video> or <audio> element is selected. Controls include volume (slider), playback rate, media start offset, loop/muted toggles, and for video: object-fit, object-position, poster, and has-audio-track toggle. Extends the source patcher with an "html-attribute" operation type for native HTML attributes (loop, muted, poster) that don't use the data- prefix. Adds coalesceKey to attribute commits so rapid slider/scrub edits merge into a single undo entry.
7 lines
320 B
Plaintext
7 lines
320 B
Plaintext
packages/studio/src/player/hooks/useTimelinePlayer.ts
|
|
packages/studio/src/hooks/useManifestPersistence.ts
|
|
packages/studio/src/player/components/PlayerControls.tsx
|
|
packages/studio/src/components/editor/manualEdits.test.ts
|
|
packages/studio/src/components/editor/manualEditsDom.ts
|
|
packages/studio/src/utils/sourcePatcher.ts
|