diff --git a/CHANGELOG.md b/CHANGELOG.md index 7af646e..d441cb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog All changes to this project will be documented in this file. +## [1.0.4] - 2023-12-13 +- Add experimental features + ## [1.0.3] - 2023-06-12 - Add ads support diff --git a/package-lock.json b/package-lock.json index 7a5898f..870de98 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@api.video/react-player", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@api.video/react-player", - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "dependencies": { - "@api.video/player-sdk": "^1.2.25" + "@api.video/player-sdk": "^1.2.28" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.4", @@ -45,9 +45,9 @@ } }, "node_modules/@api.video/player-sdk": { - "version": "1.2.25", - "resolved": "https://registry.npmjs.org/@api.video/player-sdk/-/player-sdk-1.2.25.tgz", - "integrity": "sha512-ITSSmAhjhl1YGWz9fi/5rj23oX8iF+1p20ZTDCT/1uoQOxu1i5u1/4qITVzRtc1eCkA3JUtEyMq8xUIMmI3ijw==", + "version": "1.2.28", + "resolved": "https://registry.npmjs.org/@api.video/player-sdk/-/player-sdk-1.2.28.tgz", + "integrity": "sha512-SFTrPXkludJih/3sV62iLReMTzGdxBaBMczoip4DAE10DSBHSZecBjDw9HBj27TsB8gmCI3w166oCYN/ehdDSw==", "dependencies": { "core-js": "^3.8.3", "url-polyfill": "^1.1.12" @@ -6168,9 +6168,9 @@ } }, "@api.video/player-sdk": { - "version": "1.2.25", - "resolved": "https://registry.npmjs.org/@api.video/player-sdk/-/player-sdk-1.2.25.tgz", - "integrity": "sha512-ITSSmAhjhl1YGWz9fi/5rj23oX8iF+1p20ZTDCT/1uoQOxu1i5u1/4qITVzRtc1eCkA3JUtEyMq8xUIMmI3ijw==", + "version": "1.2.28", + "resolved": "https://registry.npmjs.org/@api.video/player-sdk/-/player-sdk-1.2.28.tgz", + "integrity": "sha512-SFTrPXkludJih/3sV62iLReMTzGdxBaBMczoip4DAE10DSBHSZecBjDw9HBj27TsB8gmCI3w166oCYN/ehdDSw==", "requires": { "core-js": "^3.8.3", "url-polyfill": "^1.1.12" diff --git a/package.json b/package.json index 009b061..5dcf671 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@api.video/react-player", - "version": "1.0.3", + "version": "1.0.4", "description": "api.video React player component", "keywords": [ "player", @@ -49,6 +49,6 @@ "typescript": "^4.7.4" }, "dependencies": { - "@api.video/player-sdk": "^1.2.25" + "@api.video/player-sdk": "^1.2.28" } } diff --git a/src/index.tsx b/src/index.tsx index 919a75f..3360e20 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -35,6 +35,12 @@ export interface ApiVideoPlayerProps { theme?: PlayerTheme; videoStyleObjectFit?: "contain" | "cover" | "fill" | "none" | "scale-down"; videoStyleTransform?: string; + // This feature is experimental. + // It may change or be removed at any time and could cause significant playback issues. + minimalQuality?: number; + // This feature is experimental. + // It may change or be removed at any time and could cause significant playback issues. + maximalQuality?: number; @@ -212,6 +218,12 @@ export default class ApiVideoPlayer extends React.Component