Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

byteark-player-react

Package Overview
Dependencies
Maintainers
6
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

byteark-player-react - npm Package Compare versions

Comparing version 2.1.0-beta.1 to 2.1.0-rc.1

dist/types.d.ts

4

package.json
{
"name": "byteark-player-react",
"version": "2.1.0-beta.1",
"version": "2.1.0-rc.1",
"description": "ByteArk Player Container for React",

@@ -10,3 +10,3 @@ "author": "byteark",

"module": "dist/index.modern.mjs",
"types": "types.d.ts",
"types": "dist/types.d.ts",
"source": "src/index.ts",

@@ -13,0 +13,0 @@ "engines": {

@@ -86,3 +86,3 @@ # ByteArk Player Container for React

fill: true,
poster: 'https://qoder.byteark.com/images/video-frames/1/GU/cg/1GUcgd3XwsmD-large.jpg'
poster: 'https://qoder.byteark.com/images/video-frames/1/GU/cg/1GUcgd3XwsmD-large.jpg',
sources: {

@@ -104,3 +104,2 @@ src: 'https://video.example.com/path/to/video/playlist.m3u8',

## Basic Props
Following properties are the properties that can be updated to the player,

@@ -111,3 +110,3 @@ without re-creating the player instance. Additional properties will be passed to player.

|----------------------|----------------|---------|------------------------------------------------------------------------------|
| autoplay | Boolean | true | Autoplay the video after player is created. |
| autoplay | Boolean/String | true | Autoplay the video after player is created. (true/false/'muted'/'play'/'any')|
| aspectRatio | String | - | Use with fluid layout mode, to inform expected video's aspect ratio (16:9) |

@@ -124,3 +123,3 @@ | controls | Boolean | true | Show/hide the controls bar. |

| poster | String | - | Image to be show before the video is playing. |
| preload | String | - | Preload the video before play. (none|metadata|auto) |
| preload | String | - | Preload the video before play. ('none'/'metadata'/'auto') |
| responsive | Boolean | - | Auto show/hide controls depending on the screen size. |

@@ -144,3 +143,3 @@ | seekButtons | Boolean | false | Show 10 seconds seek buttons and allow double-tap to seek on mobile. |

| title | String | Video title to display on the player. |
| videoId | String | Video's ID, usaully used on Analytics. |
| videoId | String | Video's ID, usually used on Analytics. |
| poster | String | Poster image URL for the video. |

@@ -147,0 +146,0 @@

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