Skip to content

Add DeltaScribe captioning integration - #748

Open
georgestephanis wants to merge 2 commits into
WordPress:trunkfrom
georgestephanis:deltascribe-integration
Open

Add DeltaScribe captioning integration#748
georgestephanis wants to merge 2 commits into
WordPress:trunkfrom
georgestephanis:deltascribe-integration

Conversation

@georgestephanis

Copy link
Copy Markdown

PR for https://meta.trac.wordpress.org/ticket/8387


AI Disclosure: PR crafted in concert with Claude.


Adds a "Caption with DeltaScribe" link on video pages as a second path into the existing subtitle contribution pipeline, alongside the current "Subtitle this video" upload flow.

A new bridge page collects the same username/email/language metadata as the existing flow, then redirects to a configurable DeltaScribe instance (client-side caption-timing tool) with the video preloaded. DeltaScribe POSTs finished captions back via a CORS-enabled endpoint, guarded by an HMAC-signed, expiring token embedded in the callback URL so no server-side session state is needed for the cross-origin request.

Submissions are stored with the same _wptv_submitted_subtitles postmeta shape the existing wordpresstv-upload-subtitles plugin uses, so they land in the same Media Library moderation queue with zero changes to the approval UI.

The DeltaScribe URL is admin-configurable (Settings -> General) rather than hardcoded, since this is an initial prototype and the instance is expected to move.

Adds a "Caption with DeltaScribe" link on video pages as a second path
into the existing subtitle contribution pipeline, alongside the current
"Subtitle this video" upload flow.

A new bridge page collects the same username/email/language metadata
as the existing flow, then redirects to a configurable DeltaScribe
instance (client-side caption-timing tool) with the video preloaded.
DeltaScribe POSTs finished captions back via a CORS-enabled endpoint,
guarded by an HMAC-signed, expiring token embedded in the callback URL
so no server-side session state is needed for the cross-origin request.

Submissions are stored with the same _wptv_submitted_subtitles postmeta
shape the existing wordpresstv-upload-subtitles plugin uses, so they
land in the same Media Library moderation queue with zero changes to
the approval UI.

The DeltaScribe URL is admin-configurable (Settings -> General) rather
than hardcoded, since this is an initial prototype and the instance is
expected to move.
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props georgestephanis.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

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.

1 participant