byteark-player-react
Advanced tools
Comparing version 2.1.0-beta.1 to 2.1.0-rc.1
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
145147
22
1278
0
298