diff --git a/static/js/pandora/URL.js b/static/js/pandora/URL.js index e6c76e6b..d1ed0539 100644 --- a/static/js/pandora/URL.js +++ b/static/js/pandora/URL.js @@ -344,6 +344,14 @@ pandora.URL = (function() { window.onpopstate = function(e) { Ox.Request.cancel(); self.isPopState = true; + if ( + pandora.user.ui.item + && pandora.user.ui.itemView == 'video' + && pandora.$ui.player.options('fullscreen') + ) { + //pandora.$ui.player.options({fullscreen: false}); + $('body > .OxVideoPlayer').remove(); + } if (!Ox.isEmpty(e.state)) { Ox.print('E.STATE', e.state) document.title = e.state.title;