@revideo/2d 0.3.6 → 0.3.7-alpha.986

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.
@@ -170,7 +170,7 @@ export class Scene2D extends GeneratorScene<View2D> implements Inspectable {
170
170
  ...playingVideos.map(vid => ({
171
171
  key: vid.key,
172
172
  type: 'video' as const,
173
- src: typeof vid.src === 'function' ? vid.src() : vid.src,
173
+ src: vid.fullSource(),
174
174
  playbackRate:
175
175
  typeof vid.playbackRate === 'function'
176
176
  ? vid.playbackRate()
@@ -185,7 +185,7 @@ export class Scene2D extends GeneratorScene<View2D> implements Inspectable {
185
185
  ...playingAudios.map(audio => ({
186
186
  key: audio.key,
187
187
  type: 'audio' as const,
188
- src: typeof audio.src === 'function' ? audio.src() : audio.src,
188
+ src: audio.fullSource(),
189
189
  playbackRate:
190
190
  typeof audio.playbackRate === 'function'
191
191
  ? audio.playbackRate()