Use embedded fonts with JavascriptSubtitlesOctopus renderer.
This commit is contained in:
parent
3f3e5e6da5
commit
6eed80c863
1 changed files with 1 additions and 1 deletions
|
@ -1043,7 +1043,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
|
|||
var options = {
|
||||
video: videoElement,
|
||||
subUrl: getTextTrackUrl(track, item),
|
||||
fonts: [],
|
||||
fonts: self._currentPlayOptions.mediaSource.MediaAttachments.map(i => i.DeliveryUrl),
|
||||
workerUrl: appRouter.baseUrl() + "/JavascriptSubtitlesOctopus/subtitles-octopus-worker.js",
|
||||
onError: function() {
|
||||
htmlMediaHelper.onErrorInternal(self, 'mediadecodeerror')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue