update video player action sheets

This commit is contained in:
Luke Pulverenti 2016-02-01 12:02:46 -05:00
parent 2eb6f86119
commit 3e156cda5b
2 changed files with 8 additions and 1 deletions

View File

@ -106,7 +106,8 @@
var dlg = paperDialogHelper.createDialog({
modal: false,
entryAnimationDuration: 160,
exitAnimationDuration: 200
exitAnimationDuration: 200,
enableHistory: options.enableHistory
});
dlg.innerHTML = html;

View File

@ -125,6 +125,8 @@
actionsheet.show({
items: menuItems,
// history.back() will cause the video player to stop
enableHistory: false,
positionTo: $('.videoSubtitleButton')[0],
callback: function (id) {
@ -176,6 +178,8 @@
selectedId = selectedId.length ? selectedId[0].bitrate : null;
actionsheet.show({
items: menuItems,
// history.back() will cause the video player to stop
enableHistory: false,
positionTo: $('.videoQualityButton')[0],
callback: function (id) {
@ -240,6 +244,8 @@
actionsheet.show({
items: menuItems,
// history.back() will cause the video player to stop
enableHistory: false,
positionTo: $('.videoAudioButton')[0],
callback: function (id) {