8000 GitHub - albinekb/open-pip at v3.0.4
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

albinekb/open-pip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฅ open-pip Standard - JavaScript Style Guide

Module that will let you open a movie url/path in macOS native picture-in-picture player.

Both local files and urls are supported.

Known working formats

  • mp4
  • m4v
  • mov

Known not working formats

  • mkv
  • avi

example

example

install

yarn add open-pip

Usage

const open = require('open-pip')

open('/path/to/movie.mp4')
  .then(() => console.log('Worked ๐ŸŽ‰'))
  .catch(error => console.log('Something went wrong ๐Ÿ’€', error))

Credits

Inspiration came from this hack: https://github.com/steve228uk/PiPHack

Author

Albin Ekblom (@albinekb)

About

๐ŸŽฅ Module to open any url or path to a movie in macOS native picture-in-picture player

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0