Skip to content

Aishanipach/Miniplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miniplay💻

Pops up a mini player that captures a window while you work on another.

( Couldn't get a module on the web while making a DIY second screen for getting the 'Dev setup', hence this )



Image of miniplayrer at work

Try it-> https://aishanipach.github.io/Miniplay/

You can:

  • Stream Video🎬
  • Open Tutorials👩‍💻
  • View code📃 and much more...

in the miniplayer while working on another window.

🚀 Start Capture-> Enter View Mode-> Enjoy!

Capture API✔

Call getDisplayMedia() on the instance of Media navigator.mediaDevices:

captureStream = await navigator.mediaDevices.getDisplayMedia(displayMediaOptions);

How to use this API⚡

Picture-in-Picture API✔

The HTMLVideoElement method requestPictureInPicture() request to display the video in picture-in-picture mode:

videoElement.requestPictureInPicture();

How to use this API⚡

Fork this repo!👇

Add on more features that you feel our missing or choose from the following:

  • Adding mute/unmute audio option while streaming
  • Update resizing option

About

Pops up a mini player that captures a window while you work on another.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published