mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
updated translations
This commit is contained in:
parent
59eea6f602
commit
78c8d7d596
@ -82,7 +82,7 @@
|
||||
// v4 Id F4EB2E8E
|
||||
// default receiver chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID
|
||||
|
||||
var applicationID = "69C59853";
|
||||
var applicationID = "F4EB2E8E";
|
||||
|
||||
// request session
|
||||
var sessionRequest = new chrome.cast.SessionRequest(applicationID);
|
||||
|
@ -725,7 +725,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
self.createStreamInfo = function (type, item, mediaSource, startPosition) {
|
||||
self.createStreamInfo = function (item, mediaSource, startPosition) {
|
||||
|
||||
var mediaUrl;
|
||||
var contentType;
|
||||
@ -734,6 +734,8 @@
|
||||
var startPositionInSeekParam = startPosition ? (startPosition / 10000000) : 0;
|
||||
var seekParam = startPositionInSeekParam ? '#t=' + startPositionInSeekParam : '';
|
||||
|
||||
var type = item.MediaType.toLowerCase();
|
||||
|
||||
if (type == 'video') {
|
||||
|
||||
contentType = 'video/' + mediaSource.Container;
|
||||
@ -827,14 +829,13 @@
|
||||
return;
|
||||
}
|
||||
|
||||
var mediaSource;
|
||||
var deviceProfile = self.getDeviceProfile();
|
||||
|
||||
getPlaybackInfo(item.Id, deviceProfile, startPosition).done(function (result) {
|
||||
|
||||
if (validatePlaybackInfoResult(result)) {
|
||||
|
||||
mediaSource = getOptimalMediaSource(item.MediaType, result.MediaSources);
|
||||
var mediaSource = getOptimalMediaSource(item.MediaType, result.MediaSources);
|
||||
|
||||
if (mediaSource) {
|
||||
|
||||
@ -1522,8 +1523,6 @@
|
||||
|
||||
var playerElement = this;
|
||||
|
||||
var playSessionId = getParameterByName('PlaySessionId', playerElement.currentSrc);
|
||||
|
||||
$(playerElement).off('.mediaplayerevent').off('ended.playbackstopped');
|
||||
|
||||
self.cleanup(playerElement);
|
||||
@ -1618,7 +1617,7 @@
|
||||
html += '<div class="mediaPlayerAudioContainer" style="display:none;"><div class="mediaPlayerAudioContainerInner">';;
|
||||
}
|
||||
|
||||
html += '<audio class="mediaPlayerAudio" controls>';
|
||||
html += '<audio class="mediaPlayerAudio" crossorigin="anonymous" controls>';
|
||||
html += '</audio></div></div>';
|
||||
|
||||
$(document.body).append(html);
|
||||
|
Loading…
Reference in New Issue
Block a user