Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.4 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.4 KB

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