Merge pull request #2443 from dmitrylyzo/fix-tizen-subtitles
Fix attachment delivery urls
This commit is contained in:
commit
0a342ce095
1 changed files with 2 additions and 2 deletions
|
@ -1049,11 +1049,11 @@ function tryRemoveElement(elem) {
|
|||
renderSsaAss(videoElement, track, item) {
|
||||
const avaliableFonts = [];
|
||||
const attachments = this._currentPlayOptions.mediaSource.MediaAttachments || [];
|
||||
const apiClient = ServerConnections.getApiClient(item);
|
||||
attachments.map(function (i) {
|
||||
// embedded font url
|
||||
return avaliableFonts.push(i.DeliveryUrl);
|
||||
return avaliableFonts.push(apiClient.getUrl(i.DeliveryUrl));
|
||||
});
|
||||
const apiClient = ServerConnections.getApiClient(item);
|
||||
const fallbackFontList = apiClient.getUrl('/FallbackFont/Fonts', {
|
||||
api_key: apiClient.accessToken()
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue