diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..d838da98 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +examples/ diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 00000000..3179b082 --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,60 @@ +# Configuration for probot-stale - https://github.com/probot/stale + +# Number of days of inactivity before an Issue or Pull Request becomes stale +daysUntilStale: 60 + +# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. +# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. +daysUntilClose: 3 + +# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) +onlyLabels: [] + +# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable +exemptLabels: + - pinned + - security + +# Set to true to ignore issues in a project (defaults to false) +exemptProjects: true + +# Set to true to ignore issues in a milestone (defaults to false) +exemptMilestones: true + +# Set to true to ignore issues with an assignee (defaults to false) +exemptAssignees: true + +# Label to use when marking as stale +staleLabel: stale + +# Comment to post when marking as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. If you are having a similar problem, please open a + new issue and reference this one instead of commenting on a stale or closed + issue. + +# Comment to post when removing the stale label. +unmarkComment: false + +# Comment to post when closing a stale Issue or Pull Request. +closeComment: false + +# Limit the number of actions per hour, from 1-30. Default is 30 +limitPerRun: 50 + +# Limit to only `issues` or `pulls` +only: issues + +# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': +# pulls: +# daysUntilStale: 30 +# markComment: > +# This pull request has been automatically marked as stale because it has not had +# recent activity. It will be closed if no further activity occurs. Thank you +# for your contributions. + +# issues: +# exemptLabels: +# - confirmed diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..efe65552 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,10 @@ +name: ci +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - run: yarn --no-lockfile + - run: yarn lint diff --git a/CHANGELOG.md b/CHANGELOG.md index aac2d41e..02feb4d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ ## Changelog +### Version 6.0.0-alpha1 + +- Add Google's maven repository to avoid build error [#2552](https://github.com/react-native-video/react-native-video/pull/2552) +- Fix iOS 15.4 HLS playback race condition [#2633](https://github.com/react-native-video/react-native-video/pull/2633) +- Add fullscreen support on Android [#2073](https://github.com/react-native-video/react-native-video/pull/2073) +- Fix app crash from NPE in Exoplayer error handler [#2575](https://github.com/react-native-video/react-native-video/pull/2575) +- Fix default closed captioning behavior for Android ExoPlayer [#2181](https://github.com/react-native-video/react-native-video/pull/2181) +- Disable pipController init if pictureInPicture is false [#2645](https://github.com/react-native-video/react-native-video/pull/2645) +- Make sure modifiers are applied before playing [#2395](https://github.com/react-native-video/react-native-video/pull/2395) +- Better support newer versions of RNW (64 and newer) [#2535](https://github.com/react-native-video/react-native-video/pull/2535) +- Fix nil string uri parameter error [#695](https://github.com/react-native-video/react-native-video/pull/695) +- (Breaking) Bump shaka-player to 3.3.2 [#2587](https://github.com/react-native-video/react-native-video/pull/2587) + ### Version 5.2.2 - Ensure we always use `hideShutterView` before showing the `shutterView` on Android diff --git a/DRMType.js b/DRMType.js index 473536b2..d873bd69 100644 --- a/DRMType.js +++ b/DRMType.js @@ -2,5 +2,5 @@ export default { WIDEVINE: 'widevine', PLAYREADY: 'playready', CLEARKEY: 'clearkey', - FAIRPLAY: 'fairplay' + FAIRPLAY: 'fairplay', }; diff --git a/README.md b/README.md index ab9715d4..95fb3f23 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ ## react-native-video +[![ci][4]][5] + A `