mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update video player action sheets
This commit is contained in:
parent
048ba20590
commit
4196c06485
2 changed files with 8 additions and 1 deletions
|
@ -106,7 +106,8 @@
|
||||||
var dlg = paperDialogHelper.createDialog({
|
var dlg = paperDialogHelper.createDialog({
|
||||||
modal: false,
|
modal: false,
|
||||||
entryAnimationDuration: 160,
|
entryAnimationDuration: 160,
|
||||||
exitAnimationDuration: 200
|
exitAnimationDuration: 200,
|
||||||
|
enableHistory: options.enableHistory
|
||||||
});
|
});
|
||||||
dlg.innerHTML = html;
|
dlg.innerHTML = html;
|
||||||
|
|
||||||
|
|
|
@ -125,6 +125,8 @@
|
||||||
|
|
||||||
actionsheet.show({
|
actionsheet.show({
|
||||||
items: menuItems,
|
items: menuItems,
|
||||||
|
// history.back() will cause the video player to stop
|
||||||
|
enableHistory: false,
|
||||||
positionTo: $('.videoSubtitleButton')[0],
|
positionTo: $('.videoSubtitleButton')[0],
|
||||||
callback: function (id) {
|
callback: function (id) {
|
||||||
|
|
||||||
|
@ -176,6 +178,8 @@
|
||||||
selectedId = selectedId.length ? selectedId[0].bitrate : null;
|
selectedId = selectedId.length ? selectedId[0].bitrate : null;
|
||||||
actionsheet.show({
|
actionsheet.show({
|
||||||
items: menuItems,
|
items: menuItems,
|
||||||
|
// history.back() will cause the video player to stop
|
||||||
|
enableHistory: false,
|
||||||
positionTo: $('.videoQualityButton')[0],
|
positionTo: $('.videoQualityButton')[0],
|
||||||
callback: function (id) {
|
callback: function (id) {
|
||||||
|
|
||||||
|
@ -240,6 +244,8 @@
|
||||||
|
|
||||||
actionsheet.show({
|
actionsheet.show({
|
||||||
items: menuItems,
|
items: menuItems,
|
||||||
|
// history.back() will cause the video player to stop
|
||||||
|
enableHistory: false,
|
||||||
positionTo: $('.videoAudioButton')[0],
|
positionTo: $('.videoAudioButton')[0],
|
||||||
callback: function (id) {
|
callback: function (id) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue