Socket
Socket
Sign inDemoInstall

nuke-video

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-video

视频组件


Version published
Maintainers
1
Created
Source

Video

  • category: Components
  • chinese: 视频组件
  • type: 基本

设计思路

视频播放组件,在 web 端即 html5 的 video 标签。

因此如果用在 h5 降级时,在部分安卓机型上,可能有较多兼容性问题。

API

属性说明类型默认值
autoPlay设置视频自动播放booleanfalse
src视频地址string
<Video style={{width:'600rem',height:'800rem'}} src="https://tbm.alicdn.com/t6j5w4IjQkWm66aICZ0/NYnk9mFWUGcpPwJN6cZ%40%40ud.mp4" />

Keywords

FAQs

Package last updated on 26 Feb 2018

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