diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1803ac8..a4dee26 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,4 +10,4 @@ jobs: with: node-version: 16 - run: npm install --no-save - - run: npm test + - run: npm run build diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8efdb67 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,13 @@ +{ + "editor.formatOnSaveMode": "file", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.organizeImports": "explicit" + }, + "[javascript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + } +} diff --git a/CHANGELOG.md b/CHANGELOG.md index d441cb6..c4a776d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,29 +1,44 @@ # Changelog + All changes to this project will be documented in this file. +## [1.1.0] - 2024-06-19 + +- Add `hotkeys` parameter +- Add `customDomain` parameter +- Migrate to functionnal component + ## [1.0.4] - 2023-12-13 + - Add experimental features ## [1.0.3] - 2023-06-12 + - Add ads support ## [1.0.2] - 2023-02-15 + - Add `privateSession` attribute ## [1.0.1] - 2022-06-23 + - Add `videoStyleObjectFit` and `videoStyleTransform` attributes ## [0.1.3] - 2022-04-27 + - Add requestFullscreen(), exitFullscreen(), requestPictureInPicture() and exitPictureInPicture() - + ## [0.1.2] - 2022-04-25 + - Update README - Minor fixes - Add some first unit tests ## [0.1.1] - 2022-04-21 + - Add README - Fix minor bugs ## [0.1.0] - 2022-04-20 -- First alpha version \ No newline at end of file + +- First alpha version diff --git a/README.md b/README.md index 25d4c30..2a96148 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ + [![badge](https://img.shields.io/twitter/follow/api_video?style=social)](https://twitter.com/intent/follow?screen_name=api_video) [![badge](https://img.shields.io/github/stars/apivideo/api.video-react-player?style=social)](https://github.com/apivideo/api.video-react-player) [![badge](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.api.video)](https://community.api.video) ![](https://github.com/apivideo/.github/blob/main/assets/apivideo_banner.png) +