@hyperframes/core 0.8.105 → 0.8.107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,7 +73,7 @@
73
73
  (higher = in front, clips on same track cannot overlap)
74
74
 
75
75
  REQUIRED on <video>:
76
- muted — framework manages audio via separate <audio> element
76
+ data-has-audio="true" — keep the clip's own sound (no muted); silent footage: muted
77
77
  playsinline — prevents fullscreen on mobile
78
78
 
79
79
  REQUIRED:
@@ -82,7 +82,7 @@
82
82
  DO NOT:
83
83
  - Call video.play(), video.pause(), or set video.currentTime in scripts
84
84
  - Toggle visibility in scripts
85
- - Use the video element for audio (use a separate <audio> element)
85
+ - Add muted to a video whose sound should play
86
86
  -->
87
87
  <video
88
88
  id="el-video"
@@ -91,7 +91,7 @@
91
91
  data-duration="10"
92
92
  data-track-index="0"
93
93
  src="my-video.mp4"
94
- muted
94
+ data-has-audio="true"
95
95
  playsinline
96
96
  ></video>
97
97
 
@@ -117,7 +117,8 @@
117
117
  ════════════════════════════════════════════════════
118
118
 
119
119
  Audio is invisible — no class="clip" needed (no visual to hide).
120
- Use a separate <audio> element even if the source is the same .mp4 file.
120
+ Use <audio> for music, voiceover, or replacement sound. A video with sound
121
+ keeps it on the <video> (data-has-audio="true").
121
122
  The framework syncs audio playback to the timeline position.
122
123
 
123
124
  Optional: data-volume="0.5" (0-1, default 1)
@@ -128,7 +129,7 @@
128
129
  data-duration="15"
129
130
  data-track-index="1"
130
131
  data-volume="0.8"
131
- src="my-video.mp4"
132
+ src="my-music.mp3"
132
133
  ></audio>
133
134
 
134
135
  <!--
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/core",
3
- "version": "0.8.105",
3
+ "version": "0.8.107",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -330,9 +330,9 @@
330
330
  "bpm-detective": "^2.0.5",
331
331
  "linkedom": "^0.18.12",
332
332
  "postcss": "^8.5.8",
333
- "@hyperframes/lint": "0.8.105",
334
- "@hyperframes/studio-server": "0.8.105",
335
- "@hyperframes/parsers": "0.8.105"
333
+ "@hyperframes/lint": "0.8.107",
334
+ "@hyperframes/studio-server": "0.8.107",
335
+ "@hyperframes/parsers": "0.8.107"
336
336
  },
337
337
  "devDependencies": {
338
338
  "@types/jsdom": "^28.0.0",