Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Clappr plugin for adding OS-based picture-in-picture support on both desktop and mobile. Currently supports Safari on iOS and macOS, and Chrome on Android, Linux, Windows and macOS.
Load Clappr and the PiP plugin(s) script on your webpage:
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clappr@latest/dist/clappr.min.js"></script>
<script type="text/javascript" src="clappr-pip.js" async></script>
When instantiating a new player, add ClapprPip.PipPlugin
(and ClapprPip.PipButton
if you want a button on the player MediaControl
):
var player = new Clappr.Player({
source: 'http://clappr.io/highline.mp4',
plugins: [ClapprPip.PipButton, ClapprPip.PipPlugin],
});
Using the ClapprPip.PipButton
you'll have a button in the MediaControl, in the right controls panel. If you don't want to have a button, or if you have your own custom UI, you can just use the ClapprPip.PipPlugin
, and use directly the external interface added:
isPictureInPictureSupported // whether or not Picture-in-Picture mode is supported on the current Browser/OS
isPictureInPictureActive // whether or not Picture-in-Picture mode is active
enterPictureInPicture // enter Picture-in-Picture mode if supported
exitPictureInPicture // exit Picture-in-Picture mode
togglePictureInPicture // toggle Picture-in-Picture mode
By default, the project uses Yarn.
yarn install
yarn start
yarn build
yarn release
FAQs
Clappr plugin for adding OS-based picture-in-picture support.
The npm package clappr-pip receives a total of 10 weekly downloads. As such, clappr-pip popularity was classified as not popular.
We found that clappr-pip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.