Skip to content

Multisrc caption sync - #895

Merged
Dananji merged 3 commits into
mainfrom
multisrc-caption-sync
Feb 19, 2026
Merged

Multisrc caption sync#895
Dananji merged 3 commits into
mainfrom
multisrc-caption-sync

Conversation

@Dananji

@Dananji Dananji commented Jan 17, 2026

Copy link
Copy Markdown
Collaborator

Related issue: #892

Changes in this PR:

  • Fix caption synchronization for playback in multi-source canvases for all browsers
  • Fix duration update in Safari and other browsers in iOS context: when the linked IA Manifest is loaded into Ramp in Safari the duration always shows up as 1 minute (duration of each source in the Canvas) even though the total duration of that Canvas is 13 minutes. This happens due the 'loaded' event cycle triggering a native 'durationchange' event which overwrites the manually set player duration.
  • Fix playback looping of second source in a multi-source Canvas in Chrome and Safari: In Chrome and Safari once the playback reaches the end of the second source in the Canvas in the linked IA Manifest it keeps playing that source in a loop. This is happening due a timing issue of the 'ended' event in these specific browsers where it fires before the source switch.

@Dananji
Dananji marked this pull request as ready for review January 20, 2026 23:56

@cjcolvar cjcolvar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great as far as I can tell! I didn't test it out in a browser.

@Dananji
Dananji merged commit c89ab0e into main Feb 19, 2026
2 checks passed
@Dananji
Dananji deleted the multisrc-caption-sync branch February 19, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants