peertubeLink: false,
poster: this.video.previewUrl,
startTime,
- theaterMode: true
+ theaterMode: true,
+ language: this.localeId
})
if (this.videojsLocaleLoaded === false) {
startTime: number | string
theaterMode: boolean,
videoCaptions: VideoJSCaption[],
+ language?: string,
controls?: boolean,
muted?: boolean,
loop?: boolean
})
}
+ if (options.language && !isDefaultLocale(options.language)) {
+ Object.assign(videojsOptions, { language: options.language })
+ }
+
return videojsOptions
}
rmdir "./src/locale/pending_target/"
}
+# Previous build failed
+if [ ! -f client/src/locale/target/angular_fr_FR.xml ]; then
+ git checkout -- client/src/locale/target/
+ rm -r client/src/locale/pending_target/
+fi
+
cd client
rm -rf ./dist ./compiled