Skip to content

Watch videos, attend Google Meet meetings, and do a lot more with Picture-in-Picture mode using this web page.

Notifications You must be signed in to change notification settings

bhavishay97/picture-in-picture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Picture-in-Picture

Watch your favorite videos in Picture-in-Picture mode using this web page. Picture-in-Picture basically gives you a small window that stays on top of all other windows so that you can do other stuff while watching a video in a small window.

This is helpful in situations such as when you want to code along while watching a coding tutorial. You don't need to switch between windows again and again or put them side by side. Simply use Picture-in-Picture mode to run your code editor in fullscreen and the video in a small window.

This web page uses the Picture-in-Picture API and Screen Capture API to provide Picture-in-Picture mode. To learn more about these APIs check out the links below :

https://css-tricks.com/an-introduction-to-the-picture-in-picture-web-api/

https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Using_Screen_Capture

To use Picture-in-Picture mode, follow these steps :

  1. Play any video on Youtube or from any other website of your choice in fullscreen mode.
  2. Switch to another desktop and open index.html file.
  3. Share your screen pop-up will ask you to select which screen/application/browser tab you want to share for Picture-in-Picture mode.
  4. Select the browser tab in which the video is playing.
  5. Screen sharing will begin from the source tab. Now click on the START button and the Picture-in-Picture window will appear on the screen.
  6. Now, browse any other window or application, the Picture-in-Picture window will always stay on top. You can increase or decrease the size according to your preference.

Screenshots below :

Share your screen pop-up for selecting screen/application/browser tab :

share screen

share application

share browser tab

After selecting the browser tab, click on START button. Picture-in-Picture window appears :

pip window

Easily resize or place the window any where on the screen and do whatever you like ;)

small window

resized window

using pip mode while coding

using pip mode while using twitter

About

Watch videos, attend Google Meet meetings, and do a lot more with Picture-in-Picture mode using this web page.

Topics

Resources

Stars

Watchers

Forks