Created
June 23, 2021 13:41
-
-
Save arne-cl/d777fafcdf650f73da364d9f879b296b to your computer and use it in GitHub Desktop.
Show Zoom video as pop-out / picture-in-picture in Google Chrome.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let canvas = document.getElementsByClassName('sharee-container__canvas')[0]; | |
let videoWrapper = document.createElement('video'); | |
videoWrapper.muted = true; | |
videoWrapper.srcObject = canvas.captureStream(60); | |
videoWrapper.play(); | |
videoWrapper.requestPictureInPicture(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment