Skip to content

Instantly share code, notes, and snippets.

Created September 15, 2021 19:39
What would you like to do?
Star + // Disney + Picture in Picture
// Get videoSelector value using the element selector, then second button over the element, copy > copy selector
const videoSelector = '#hudson-player--1631733208198 > video';
const videoEl = document.querySelector(videoSelector);
videoEl.disablePictureInPicture = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment