Skip to content

Commit 98ba877

Browse files
committed
feat: chapters/transcription template urls (applets)
1 parent 83569b6 commit 98ba877

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/plugins/paced-transcript/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ function pacedTranscript(config) {
3232
const classNames = player.textTrackDisplay.el().classList;
3333
classNames.add('cld-paced-text-tracks');
3434

35-
const getTranscriptionFileUrl = (urlPrefix, deliveryType, publicId, languageCode = null) => {
35+
const getTranscriptionFileUrl = (urlPrefix, deliveryType, publicId, languageCode = null) =>
3636
`${urlPrefix}/_applet_/video_service/transcription/${deliveryType}/${languageCode ? `${languageCode}/` : ''}${publicId}.transcript`;
37-
};
3837

3938
// Load the transcription file
4039
const initTranscript = async () => {

0 commit comments

Comments
 (0)