Skip to content

Supporting Cobalt #5804

@kaidokert

Description

@kaidokert

Is your feature request related to a problem? Please describe.

Cobalt ( https://cobalt.dev ) currently doesn't work with Shaka out of the box, due to a few minor missing APIs that currently throw JavaScript exceptions.

Describe the solution you'd like

I have a small patch that stubs out the usage of video.textTracks and document.createNodeIterator that would disable textTracks and some XSS security guards in Shaka.

Describe alternatives you've considered

We could also try and add stub implementations of those web APIs in Cobalt quite easily, and we likely will. However, that wouldn't let all the deployed versions of Cobalt to run with Shaka.

Additional context

Preview of quick 15-minute changes here ( i would remove the lint suppressions, of course ):
kaidokert@f516703

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: P4Nice to have / wishful thinkingstatus: archivedArchived and locked; will not be updatedtype: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions