mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add short overview
This commit is contained in:
parent
bb5f0a002b
commit
d01c2a0ba9
7 changed files with 43 additions and 32 deletions
|
@ -104,13 +104,15 @@
|
|||
|
||||
self.showQualityFlyout = function () {
|
||||
|
||||
var flyout = $('#video-qualityFlyout');
|
||||
var flyout = $('.video-qualityFlyout');
|
||||
|
||||
if (!flyout.is(':visible')) {
|
||||
flyout.html(getQualityFlyoutHtml()).scrollTop(0);
|
||||
}
|
||||
|
||||
toggleFlyout(flyout, '#video-qualityButton');
|
||||
toggleFlyout(flyout, '.video-qualityButton');
|
||||
|
||||
//$('.videoQualityPopup').html(getQualityFlyoutHtml()).trigger('create').popup('open');
|
||||
};
|
||||
|
||||
self.showChaptersFlyout = function () {
|
||||
|
@ -311,7 +313,7 @@
|
|||
hideFlyout($('#video-subtitleFlyout'));
|
||||
});
|
||||
|
||||
$('#video-qualityFlyout').on('click', '.mediaFlyoutOption', function () {
|
||||
$('.video-qualityFlyout').on('click', '.mediaFlyoutOption', function () {
|
||||
|
||||
if (!$(this).hasClass('selectedMediaFlyoutOption')) {
|
||||
|
||||
|
@ -327,7 +329,7 @@
|
|||
});
|
||||
}
|
||||
|
||||
hideFlyout($('#video-qualityFlyout'));
|
||||
hideFlyout($('.video-qualityFlyout'));
|
||||
});
|
||||
|
||||
var trackChange = false;
|
||||
|
@ -359,12 +361,9 @@
|
|||
tooltip.remove();
|
||||
});
|
||||
|
||||
$(".mediaFlyoutContainer").on("click", "a", function (e) {
|
||||
if (confirm("This option will close the video player. Proceed?")) {
|
||||
self.stop();
|
||||
} else {
|
||||
e.preventDefault();
|
||||
}
|
||||
$('.video-qualityButton').on('click', function () {
|
||||
|
||||
self.showQualityFlyout();
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -1003,7 +1002,7 @@
|
|||
|
||||
var videoElement = $('#videoElement', mediaPlayerContainer).prepend(html);
|
||||
|
||||
$('#video-qualityButton', videoControls).show();
|
||||
$('.video-qualityButton', videoControls).show();
|
||||
|
||||
if (mediaStreams.filter(function (s) {
|
||||
return s.Type == "Audio";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue