diff --git a/make_post_sell/static/js/player.js b/make_post_sell/static/js/player.js index 8d1381a..2596427 100644 --- a/make_post_sell/static/js/player.js +++ b/make_post_sell/static/js/player.js @@ -45,26 +45,6 @@ } }; - /** - * Toggle Picture-in-Picture mode - */ - window.togglePip = async function() { - if (!document.pictureInPictureEnabled || !media || media.tagName !== 'VIDEO') { - alert('Picture-in-Picture is not supported for this media'); - return; - } - - try { - if (document.pictureInPictureElement) { - await document.exitPictureInPicture(); - } else { - await media.requestPictureInPicture(); - } - } catch (err) { - console.error('Error toggling PiP:', err); - } - }; - /** * Toggle fullscreen mode */ @@ -407,13 +387,6 @@ goToProductPage(); } break; - case 'p': - case 'P': - e.preventDefault(); - if (typeof togglePip === 'function') { - togglePip(); - } - break; } } diff --git a/make_post_sell/templates/content.j2 b/make_post_sell/templates/content.j2 index 0984c83..7199317 100644 --- a/make_post_sell/templates/content.j2 +++ b/make_post_sell/templates/content.j2 @@ -96,184 +96,10 @@ diff --git a/make_post_sell/templates/player.j2 b/make_post_sell/templates/player.j2 index 2307d33..13f0e85 100644 --- a/make_post_sell/templates/player.j2 +++ b/make_post_sell/templates/player.j2 @@ -219,12 +219,12 @@ - + - + diff --git a/make_post_sell/templates/product.j2 b/make_post_sell/templates/product.j2 index 0c80139..56c4124 100644 --- a/make_post_sell/templates/product.j2 +++ b/make_post_sell/templates/product.j2 @@ -174,184 +174,10 @@