Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
jwplayer-video-element
Advanced tools
<jwplayer-video>
A custom element (web component) for the JW player.
The element API matches the HTML5 <video>
tag, so it can be easily swapped with other media, and be compatible with other UI components that work with the video tag.
One of the goals was to have <jwplayer-video>
seamlessly integrate with Media Chrome.
🙋 Looking for a YouTube video element? Check out
<youtube-video>
.
<script type="module" src="https://unpkg.com/jwplayer-video-element@0"></script>
<jwplayer-video controls src="https://cdn.jwplayer.com/players/C8YE48zj-IxzuqJ4M.html"></jwplayer-video>
<jwplayer-video>
is packaged as a javascript module (es6) only, which is supported by all evergreen browsers and Node v12+.
<script>
<script type="module" src="https://unpkg.com/jwplayer-video-element@0"></script>
npm
npm install jwplayer-video-element --save
Or yarn
yarn add jwplayer-video-element
Include in your app javascript (e.g. src/App.js)
import 'jwplayer-video-element';
This will register the custom elements with the browser so they can be used as HTML.
FAQs
A custom element for the JW player with an API that matches the `<video>` API
The npm package jwplayer-video-element receives a total of 90 weekly downloads. As such, jwplayer-video-element popularity was classified as not popular.
We found that jwplayer-video-element demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.