Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
@articulate/orson
Advanced tools
An Articulate flavored React component video player.
npm install @articulate/orson
Import the stylesheets
<link rel="stylesheet" src="/path/to/videojs.css" />
<link rel="stylesheet" src="node_modules/@articulate/orson/dist/VideoPlayer.css" />
or, if using webpack and sass-loader on your project
@import "~@articulate/orson/lib/index.webpack";
Import VideoPlayer
into your component.
import VideoPlayer from '@articulate/orson';
<VideoPlayer>
<source src="__path_to_mp4__" type="video/mp4" />
<source src="__path_to_format__" type="video/format" />
<p>
Custom Error Message
</p>
</VideoPlayer>
You'll need to capture a ref to the VideoPlayer instance for this.
You'll need to capture a ref to the VideoPlayer instance for this.
The following steps need to be performed if using a version pre-1.0
import VideoPlayer from '@articulate/orson/lib/VideoPlayer'
to import VideoPlayer from '@articulate/orson'
A number of changes have been made to the styling of the player to clear up some reported contrast concerns. These changes resolve a number of contrast concerns by doing the following:
In order to allow for continued updates to the player, these changes are opt-in by default. The player will
only apply these changes when the player is contained within an element, classed with the .video-a11y
class:
import VideoPlayer from '@articulate/orson';
<div className="video-a11y">
<VideoPlayer>
<source src="__path_to_mp4__" type="video/mp4" />
<source src="__path_to_format__" type="video/format" />
<p>
Custom Error Message
</p>
</VideoPlayer>
<div>
By default, the tab trapping for videoJS introduced some odd behavior on certain browsers in full screen mode, particularly in Safari before returning to the first element, the focus would be lost and you had to hit tab several times before it returned to the first tabbable element.
This fixes that behavior with our own tab trapping based on our use of the big play button.
FAQs
React video component with some Articulate flavor
The npm package @articulate/orson receives a total of 0 weekly downloads. As such, @articulate/orson popularity was classified as not popular.
We found that @articulate/orson demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 89 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.