
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
bas-meteor-jwplayer
Advanced tools
Integrate a CDN hosted version of JWPlayer using your own license.
Integrate a CDN hosted version of JWPlayer using your own license.
NOTE: This version only works with JWPlayer v7
meteor npm install bas-meteor-jwplayer
Load globally:
import { JWPlayer } from 'bas-meteor-jwplayer';
JWPlayer.load('YOUR_KEY_HERE');
Or only on specific routes:
import { JWPlayer } from 'bas-meteor-jwplayer';
// Iron Router
Router.onBeforeAction(function() {
JWPlayer.load('YOUR_KEY_HERE');
this.next();
}, { only: ['route1', 'route2'] });
import { JWPlayer } from 'bas-meteor-jwplayer';
// Flow Router
FlowRouter.triggers.enter([JWPlayer.load('YOUR_KEY_HERE')], {
only: ['route1', 'route2']
});
Template HTML
<template name="myTemplate">
<div id="player"></div>
</template>
Template JS
import { JWPlayer } from 'bas-meteor-jwplayer';
// use JWPlayer.loaded() to reactively check that the lib is ready
Template.myTemplate.onRendered(function() {
this.autorun(function() {
if (JWPlayer.loaded) {
jwplayer('player').setup({
file: 'http://example.com/my-video.mp4',
width: '100%',
aspectratio: '16:9',
autostart: true
});
}
});
});
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
If you wish you can contribute to the development of this project:
Contribute with your code
FAQs
Integrate a CDN hosted version of JWPlayer using your own license.
The npm package bas-meteor-jwplayer receives a total of 1 weekly downloads. As such, bas-meteor-jwplayer popularity was classified as not popular.
We found that bas-meteor-jwplayer 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
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.