mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove use of transformPath when copying libass worker files.
This commit is contained in:
parent
6eed80c863
commit
1abc7283ab
2 changed files with 3 additions and 6 deletions
|
@ -1044,7 +1044,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
|
|||
video: videoElement,
|
||||
subUrl: getTextTrackUrl(track, item),
|
||||
fonts: self._currentPlayOptions.mediaSource.MediaAttachments.map(i => i.DeliveryUrl),
|
||||
workerUrl: appRouter.baseUrl() + "/JavascriptSubtitlesOctopus/subtitles-octopus-worker.js",
|
||||
workerUrl: appRouter.baseUrl() + "/node_modules/libass-wasm/dist/subtitles-octopus-worker.js",
|
||||
onError: function() {
|
||||
htmlMediaHelper.onErrorInternal(self, 'mediadecodeerror')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue