Fix attachment delivery urls (sa d3c0bdd
)
This commit is contained in:
parent
2e23887ebe
commit
7568388d97
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