Socket
Socket
Sign inDemoInstall

rax-video

Package Overview
Dependencies
Maintainers
4
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rax-video

Video component for Rax.


Version published
Weekly downloads
13
decreased by-58.06%
Maintainers
4
Weekly downloads
 
Created
Source

rax-video npm

Install

$ npm install --save rax-video

Props

propertytypedefaultdescription
srcstringnullThe URL of the video to embed.
autoPlaybooleanfalseIf specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data.
mutedbooleanfalseA 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.
loopbooleanfalseIf specified, will upon reaching the end of the video, automatically seek back to the start.
controlsbooleantrueIf specified, will offer controls to allow the user to control video playback, including volume, seeking, and pause/resume playback.
posterstringnullA 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.
playControlstringpauseOne of play and pause, controls the playback. If not set, the value of autoPlay determines whether the video plays when the component is loaded.
onEndedfunctionnullOption callback evoked when video is done playing.

Keywords

FAQs

Package last updated on 17 Apr 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc