diff --git a/app/views/admin/ad_images/_jplayer.html.erb b/app/views/admin/ad_images/_jplayer.html.erb index d2b5aea..2f4dbaf 100644 --- a/app/views/admin/ad_images/_jplayer.html.erb +++ b/app/views/admin/ad_images/_jplayer.html.erb @@ -64,6 +64,7 @@ left: -100%; right: -100%; margin: auto; + min-width: 100%; min-height: 100%; object-fit: cover; @@ -266,6 +267,7 @@ autoBlur: false, smoothPlayBar: true, keyEnabled: true, + preload: 'auto', keyBindings: { play: { key: 80, // p @@ -277,6 +279,14 @@ } } }, + fullScreen: { + key: 70, // f + fn: function(f) { + if(f.status.video || f.options.audioFullScreen) { + f._setOption("fullScreen", !f.options.fullScreen); + } + } + }, muted: { key: 77, // m fn: function(f) {