Skip to content

Error adding external ttml captions file after load. #821

Closed
@ewosleger

Description

@ewosleger

Shaka v2.0.8
We noticed Shaka is displaying our captions in reverse order from our embedded ttml files in the manifest:
"jumped over the fence"
"Quick brown fox"

We have external caption files also so I am trying to addTextTrack() to the player:
player.load(_globalSelf.manifest).then(function() {
parent.messageService.dispatch(ShoMediaNotifications.PLAYER_READY, null);
if(typeof parent.params.dash_ttml !== 'undefined'){

  this.player.addTextTrack(parent.params.dash_ttml, 'eng','caption','text/ttml');
}

}).catch(_globalSelf.onError);

player errors out: tb[b] is not a constructor.

Metadata

Metadata

Assignees

Labels

status: archivedArchived and locked; will not be updatedtype: bugSomething isn't working correctly

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions