Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
$ npm install --save rax-video
property | type | default | description |
---|---|---|---|
src | string | null | The URL of the video to embed. |
autoPlay | boolean | false | If specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data. |
muted | boolean | false | A Boolean attribute which indicates the default setting of the audio contained in the video. If set, the audio will be initially silenced. Its default value is false, meaning that the audio will be played when the video is played. |
loop | boolean | false | If specified, will upon reaching the end of the video, automatically seek back to the start. |
controls | boolean | true | If specified, will offer controls to allow the user to control video playback, including volume, seeking, and pause/resume playback. |
poster | string | null | A URL indicating a poster frame to show until the user plays or seeks. If this attribute isn't specified, nothing is displayed until the first frame is available; then the first frame is shown as the poster frame. |
playControl | string | pause | One of play and pause , controls the playback. If not set, the value of autoPlay determines whether the video plays when the component is loaded. |
onEnded | function | null | Option callback evoked when video is done playing. |
FAQs
Video component for Rax.
The npm package rax-video receives a total of 11 weekly downloads. As such, rax-video popularity was classified as not popular.
We found that rax-video demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.