Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1411 commits
Select commit Hold shift + click to select a range
917b5f9
chore: update README.md
KrzysztofMoch Oct 28, 2024
e51873a
fix(android): wait for view to initialize before emitting event (#3)
KrzysztofMoch Oct 31, 2024
2fff50c
chore(deps): bump nitro modules version
KrzysztofMoch Nov 11, 2024
b13a718
chore: move to bun
KrzysztofMoch Nov 11, 2024
9474bb4
chore(example): add more platforms and fix metro resolve
KrzysztofMoch Nov 11, 2024
402b1ce
chore: update README.md
KrzysztofMoch Nov 11, 2024
d934f21
chore: release v6.8.0
KrzysztofMoch Nov 17, 2024
daaac97
fix(ios): handle async player access in text track selection (#4293)
tarikfp Nov 22, 2024
8e9e39b
chore: update nitrogen files
KrzysztofMoch Nov 24, 2024
2b7c215
Fix(android): restart issue react76 (#4302)
freeboub Nov 24, 2024
dd78241
chore: release v6.8.1
freeboub Nov 24, 2024
f37dc9e
fix: playback restart without bufferingConfig (#4305)
freeboub Nov 25, 2024
569a79c
chore: release v6.8.2
freeboub Nov 25, 2024
501be40
fix: export types
KrzysztofMoch Nov 27, 2024
275204f
fix(android): no video after `onDetachedFromWindow`
KrzysztofMoch Nov 27, 2024
69be802
chore: update known issues
KrzysztofMoch Nov 27, 2024
fa4098a
fix(ios): store view as week reference in `HybridVideoViewViewManager`
KrzysztofMoch Nov 27, 2024
63c592f
fix(android): disable caching on local asset files (#4304)
freeboub Dec 1, 2024
621a802
fix: hiding poster (#4308)
moskalakamil Dec 1, 2024
64c222d
chore(android): bump default androidx.activity version from v1.8.2 to…
YangJonghun Dec 1, 2024
d757a44
Docs(README): correct Expo heading link (#4316)
wodow Dec 3, 2024
1033c9d
fix(ios): disables subtitles for `none` and `empty` track types (#4319)
proohit Dec 4, 2024
237cc6e
fix(ios): currentTime scale
KrzysztofMoch Dec 9, 2024
7b4bd9a
fix(docs): bump `next.js` version & fix meta warnings (#4327)
moskalakamil Dec 10, 2024
3da4f1c
fix(ios): `_paused` is updated when video playback pause (#4320)
giodevcoding Dec 10, 2024
8d83024
feat: add duration property to player
KrzysztofMoch Dec 13, 2024
ad0ce75
docs(jsdoc): add description to properties
KrzysztofMoch Dec 13, 2024
16fa204
docs: update useful projects list (#4337)
moskalakamil Dec 14, 2024
abc4d76
docs: link tv example (#4342)
moskalakamil Dec 18, 2024
78770d9
refactor: make twg badge visible on smaller screens (#4345)
moskalakamil Dec 21, 2024
a735a4a
chore: update bot feature req message (#4341)
moskalakamil Dec 23, 2024
69a7bc2
feat: implement enterPictureInPictureOnLeave prop for both platform (…
YangJonghun Jan 4, 2025
d31c72f
chore: release v6.9.0
KrzysztofMoch Jan 4, 2025
424f4ee
fix: avoid memory leak on iOS (#4355)
vladvlasov256 Jan 4, 2025
c47d165
chore(android): fix type in generic folder (#4323)
freeboub Jan 4, 2025
eff8ea2
infra: fix bot comments (#4367)
KrzysztofMoch Jan 10, 2025
3924b5e
fix: NPE in setEnterPictureInPictureOnLeave for unsupported Android v…
bae-unidev Jan 10, 2025
89ee02b
chore: release v6.9.1
KrzysztofMoch Jan 10, 2025
6cc1bff
docs: fix analytics (#4368)
moskalakamil Jan 13, 2025
d3c7614
chore: add package.json to exports
KrzysztofMoch Jan 10, 2025
c75be7f
feat: add `useVideoPlayer` hook
KrzysztofMoch Jan 16, 2025
6c3af99
fix(tvOS): fix tvos compile error (#4369)
YangJonghun Jan 18, 2025
449dfb6
chore: fix linter (#4377)
freeboub Jan 18, 2025
8dc10fd
feat(web): implement web pip method and event (#4370)
YangJonghun Jan 18, 2025
cf17963
chore: bump nitro version
KrzysztofMoch Jan 18, 2025
1f89daa
chore(example): bump react-native version
KrzysztofMoch Jan 18, 2025
cefee73
feat: add `getAssetInformationAsync` function to source object
KrzysztofMoch Jan 18, 2025
8de0a93
feat: refactor player initialization
KrzysztofMoch Jan 18, 2025
e5314d7
chore: update example
KrzysztofMoch Jan 18, 2025
90eb8e9
docs: update readme
KrzysztofMoch Jan 20, 2025
a172eac
chore(js): clean code
KrzysztofMoch Jan 20, 2025
2e6ac0d
chore: update third party licenses
KrzysztofMoch Jan 20, 2025
85a9a14
chore: lint code
KrzysztofMoch Jan 20, 2025
e1781e2
chore: rename from `NitroVideo` to `ReactNativeVideo`
KrzysztofMoch Jan 20, 2025
5f11ab0
chore(git): add .lockb to git attributes
KrzysztofMoch Jan 21, 2025
d6d7e71
chore(ios): rename private `_player` to `player`
KrzysztofMoch Jan 21, 2025
8b952e7
fix(android): support RN 0.77 (#4386)
huextrat Jan 22, 2025
d9f92b8
chore: add pre commit hook to lint and tsc the code (#4378)
freeboub Jan 22, 2025
d90bf47
fix(windows): conversion of string to Stretch enum (#4381)
darthLeviN Jan 22, 2025
3d3eba9
fix(ios): fix paused video by default (#4379)
freeboub Jan 22, 2025
4395503
chore: release v6.10.0
freeboub Jan 22, 2025
30d58d3
chore(infra): move to monorepo
KrzysztofMoch Jan 22, 2025
811d816
feat: override `dispose` method in VideoPlayer to cleanup resources
KrzysztofMoch Jan 23, 2025
6adbba4
chore(ios): refactor & clean codebase
KrzysztofMoch Jan 23, 2025
677b854
chore(example): fix react native path
KrzysztofMoch Jan 23, 2025
815d677
chore(android): refactor & clean codebase
KrzysztofMoch Jan 23, 2025
638f454
fix(android): check androidX version at early build process before re…
freeboub Jan 25, 2025
ad52668
fix(android): check for valid width and height on video format data (…
mmttt89 Jan 27, 2025
7e2ce4b
feat: handle native errors
KrzysztofMoch Feb 5, 2025
74b1d5b
fix(android): remove transparent black overlay on android default con…
freeboub Feb 9, 2025
2905b61
fix(infra): kotlin linter github action (#4408)
KrzysztofMoch Feb 9, 2025
faac5ad
fix(sample): remove duplicate code in sample (#4391)
freeboub Feb 15, 2025
c8b800a
fix(ios): the video has no audio by default (#4409)
mlazari Feb 15, 2025
a8ca97f
fix(ios): fix constraints when controls are enabled and video is insi…
efstathiosntonas Feb 15, 2025
451bafe
chore: release v6.10.1
freeboub Feb 15, 2025
04eec42
fix(tvOS): fix tvos compile error for rotation handler (#4417)
Duell10111 Feb 16, 2025
6697cbf
fix(android): fix gradle exception text related to AndroidX version (…
ThomasGuenard Feb 19, 2025
3edf511
docs: remove additional braces in config file (#4418)
szymonrybczak Feb 19, 2025
b8459ca
chore: release v6.10.2
freeboub Feb 22, 2025
057c287
fix(tvOS): handle allowsPictureInPicturePlayback for tvOS (#4448)
kot331107 Mar 4, 2025
235c281
fix(android): prevent ratio calculations before loading video (#4442)
YangJonghun Mar 4, 2025
13a5da8
chore: update utm links (#4447)
moskalakamil Mar 4, 2025
82f5f3d
fix(android): fix bugs related Android PIP listeners (#4441)
YangJonghun Mar 6, 2025
9055b14
docs: update structure (#4454)
KrzysztofMoch Mar 6, 2025
bc533e5
fix(ios): invalid metadata handling (#4422)
aleksandar9999a Mar 10, 2025
b11c1f3
docs: remove ga (#4462)
moskalakamil Mar 11, 2025
f9d3878
chore(ios): remove duplicated code (#4439)
freeboub Mar 12, 2025
b510374
fix(android): call `startForeground()` immediately to prevent `Foregr…
mobily Mar 12, 2025
6e6f915
feat: enhance react-native-video plugins [Plugins API Breaking] (#4366)
KrzysztofMoch Mar 12, 2025
fa20223
fix(windows): event name not matches with SPEC (#4455)
Lyqqt Mar 12, 2025
9f02614
refactor(ios): add audio session manager (#4466)
KrzysztofMoch Mar 12, 2025
d902c1b
feat(windows): add topSeek parms mentioned in docs (#4456)
Lyqqt Mar 13, 2025
044e08a
docs: update examples (#4468)
emmanuel-ferdman Mar 13, 2025
ede502b
chore: release v6.11.0
KrzysztofMoch Mar 16, 2025
4458627
docs: update favico & add json-ld (#4477)
moskalakamil Mar 19, 2025
229a576
fix(ios): don't try to modify react view after unmount (#4474)
sharnik Mar 22, 2025
f188a7f
refactor(ios): unpause after exiting fullscreen (#4472)
moskalakamil Mar 26, 2025
697afd5
feat(android): add asset management functions to plugin (#4494)
moskalakamil Mar 28, 2025
d2e5d9c
feat(ios): set playback speed controls to initial playback rate (#4495)
sharnik Apr 2, 2025
41ddc5c
feat(android): initial bitrate (#4480)
moskalakamil Apr 6, 2025
a849cc1
fix: add extra checks to determine if a file is local (#4503)
VMBindraban Apr 6, 2025
8836362
feat(ios): allow to disable audio sessions management (#4492)
KrzysztofMoch Apr 6, 2025
ab8ec06
chore: release v6.12.0
KrzysztofMoch Apr 6, 2025
a72c2d6
chore: update nitro modules version
KrzysztofMoch Apr 7, 2025
950dde6
chore(example): update react-native version
KrzysztofMoch Apr 7, 2025
4034046
fix(tvos): build (#4511)
moskalakamil Apr 14, 2025
b17c319
fix(macCatalyst): allowsVideoFrameAnalysis not available in catalyst …
ryfow Apr 14, 2025
2bdc0da
chore: update bot messages (#4517)
moskalakamil Apr 16, 2025
047d74d
feat: add more basic functionality (#5)
KrzysztofMoch Apr 16, 2025
dcffd29
feat(android): add support for hls & dash (#6)
KrzysztofMoch Apr 17, 2025
b1b3db3
feat(ios): add `overridePlayerAsset` to `AVPlayerPlugin` (#4522)
KrzysztofMoch Apr 18, 2025
735e35a
chore: release v6.13.0
KrzysztofMoch Apr 18, 2025
dc4195e
chore: add issue number to link (#4524)
moskalakamil Apr 20, 2025
3688309
docs: update links (#4525)
moskalakamil Apr 20, 2025
c1bab6b
feat(android): add support for RN 0.77
KrzysztofMoch Apr 22, 2025
bbe7524
fix(android): duplicated `libreactnative.so` error
KrzysztofMoch Apr 22, 2025
474ad9e
fix(package): adjust publish settings
KrzysztofMoch Apr 22, 2025
47e5a26
chore: update license generation
KrzysztofMoch Apr 22, 2025
c6793e5
chore: update package.json
KrzysztofMoch Apr 22, 2025
76a60b8
chore: add release action
KrzysztofMoch Apr 22, 2025
1c95041
chore(example): bump react-native & expo version (#4500)
KrzysztofMoch Apr 23, 2025
987be4b
fix(ios): swfit modular headers (#4527)
KrzysztofMoch Apr 24, 2025
c165dfb
feat: add fullscreen & Picture in Picture API (#7)
KrzysztofMoch Apr 30, 2025
f0989a5
chore: bump react-native-video package version
KrzysztofMoch Apr 30, 2025
afce52c
fix(ios): name typo
KrzysztofMoch Apr 30, 2025
35375f4
fix(android): cannot disable native controls
KrzysztofMoch Apr 30, 2025
1d97e63
fix: add static frameworks support (#8)
KrzysztofMoch May 5, 2025
e743c63
chore: bump version
KrzysztofMoch May 5, 2025
49173ed
Changing switch sintaxe to preserve compatibility with java 11 or min…
BryanChemp May 7, 2025
742ddb3
feat: events callbacks & external subtitles (#9)
KrzysztofMoch May 8, 2025
ad2da29
feat: add expo plugin (#10)
KrzysztofMoch May 9, 2025
4eff3ef
chore: bump version
KrzysztofMoch May 9, 2025
ecfe12a
fix(ios): default cropStart fallback (#4540)
jzhu1224 May 10, 2025
fc1e3f4
feat(web): allow `style` prop overrides (#4528)
jonathanj May 10, 2025
089e938
fix(ios): set `_isBuffering = true` only if newValue is also true (#4…
blwinters May 10, 2025
701f777
chore: cleanup `package.json` (#4544)
KrzysztofMoch May 10, 2025
6c5bb77
chore: release v6.14.0
KrzysztofMoch May 10, 2025
41a1d88
fix: add `react-native-nitro-modules` patch (#11)
KrzysztofMoch May 10, 2025
d9406e9
feat: allow null in `replaceSourceAsync` (#12)
KrzysztofMoch May 15, 2025
3002768
chore: bump package version
KrzysztofMoch May 15, 2025
f92e492
chore: code cleanup
KrzysztofMoch May 15, 2025
5de9b9a
feat: add `isPlaying` property
KrzysztofMoch May 15, 2025
bae7995
fix(android): preload is never called
KrzysztofMoch May 15, 2025
f5df436
chore: readme and license chagnes (#13)
jboguskitwg May 22, 2025
e165cde
docs: update readme (#4554)
KrzysztofMoch May 22, 2025
9449eb3
feat(android): allow plugins to override drm session manager (#4558)
moskalakamil May 28, 2025
55449d9
chore: release v6.14.1
KrzysztofMoch May 28, 2025
20fa017
docs: add documentation (#14)
KrzysztofMoch Jun 2, 2025
ddca01f
refactor(android): use fragment instead of activity for fullscreen view
KrzysztofMoch Jun 2, 2025
9cf7802
feat(plugin): overrideMediaSourceFactory (#4566)
moskalakamil Jun 5, 2025
9f03cc5
fix(web): add missing component type
KrzysztofMoch Jun 11, 2025
45fd250
chore(ios): make DRMParams properties public (#4568)
moskalakamil Jun 11, 2025
88c20d1
feat(ios): forward real fullscreen events from AVPlayer instead of gu…
sharnik Jun 11, 2025
3576a13
feat: allow audio mixing if one of the video views require it (#4559)
lukasjengo Jun 11, 2025
79d25bf
chore: fix repository url in `package.json`
KrzysztofMoch Jun 11, 2025
60c3a08
chore: release v6.15.0
KrzysztofMoch Jun 12, 2025
235bc3b
feat: implement background audio playback and video enhancements (#15)
KrzysztofMoch Jun 15, 2025
b51b579
fix(ios): retain cycle and memory leak involving the RCTVideo instanc…
Varuzh1 Jun 18, 2025
b56b647
fix(android): speed control is not applied (#4572)
manini-1 Jun 18, 2025
cf34670
feat(ios): set proper `audiovisualBackgroundPlaybackPolicy` for backg…
KrzysztofMoch Jun 18, 2025
94967fc
fix(android): create custom event class for dispatcher (#4575)
r0b0t3d Jun 23, 2025
f9b241b
fix: bump dependencies (#19)
KrzysztofMoch Jun 23, 2025
cde3fdb
fix(android): catch error when PiP is not supported in activity
KrzysztofMoch Jun 25, 2025
146471d
fix(android): stub files are included even if feature is enabled
KrzysztofMoch Jun 25, 2025
6baa1e4
feat(android): optimizes video controls for small video players (#17)
pieczasz-thewidlarzgroup Jun 25, 2025
b31f8f0
fix(ios): Improves playback state and buffering events (#18)
pieczasz-thewidlarzgroup Jun 25, 2025
4e15523
chore: bump package version
KrzysztofMoch Jun 28, 2025
3df1ba5
fix(ci): bump node version
KrzysztofMoch Jun 28, 2025
791c54e
fix(ios): runtime crash
KrzysztofMoch Jun 28, 2025
18527fc
chore(infra): update validation script (#4586)
KrzysztofMoch Jun 30, 2025
2cc3430
docs: update README (#21)
KrzysztofMoch Jun 30, 2025
0f55a37
chore: prepare for release
KrzysztofMoch Jun 30, 2025
4ba3b7a
chore: publish package
KrzysztofMoch Jun 30, 2025
136a8a7
chore: update README.md
KrzysztofMoch Oct 28, 2024
c3c75b6
chore: release 7.0.0-alpha.0
KrzysztofMoch Jun 30, 2025
e94d16c
chore: include README in npm package
KrzysztofMoch Jun 30, 2025
1e0536c
feat(android): implement Picture-in-Picture (PiP) support for multipl…
Pieczasz Jul 2, 2025
a561d6b
feat(ios): allow to side load subtitles when playing hls stream (#4593)
KrzysztofMoch Jul 7, 2025
0a34889
chore: release 7.0.0-alpha.1
KrzysztofMoch Jul 7, 2025
de8b9cb
chore: update release-it config
KrzysztofMoch Jul 7, 2025
5b47cf5
fix: component linking method (#4601)
KrzysztofMoch Jul 13, 2025
0387ba6
docs: update README
KrzysztofMoch Jul 14, 2025
7b8d0b8
fix: codegen config (#4616)
KrzysztofMoch Jul 21, 2025
bc2a8f0
docs: upgrade documentation (#4622)
KrzysztofMoch Jul 24, 2025
38e5f0d
chore(ci): update docs workflows (#4627)
KrzysztofMoch Jul 25, 2025
bce4535
chore: release 7.0.0-alpha.2
KrzysztofMoch Jul 25, 2025
a9adbbe
chore(android): code cleanup
KrzysztofMoch Jul 28, 2025
3509b5d
feat: add `muted` property to `onVolumeChange` event (#4633)
KrzysztofMoch Jul 29, 2025
f48567b
feat: add plugins (#4639)
KrzysztofMoch Aug 4, 2025
fce0640
fix(android): add prefab script (#4640)
KrzysztofMoch Aug 4, 2025
4de93f4
feat: bump nitro modules version (#4641)
KrzysztofMoch Aug 4, 2025
2da34dd
chore: release 7.0.0-alpha.3
KrzysztofMoch Aug 4, 2025
8e40502
docs: Update copy around Offline Video SDK on v7 (#4652)
jakubboguski Aug 12, 2025
5012373
feat: add drm interfaces (#4657)
KrzysztofMoch Aug 26, 2025
776bd4a
chore(android): move package to twg namespace (#4672)
KrzysztofMoch Aug 26, 2025
b7a4c57
chore: update release script
KrzysztofMoch Aug 26, 2025
4ed51e1
chore: release 7.0.0-alpha.4
KrzysztofMoch Aug 26, 2025
f929d56
refactor: load player on initialization (#4673)
KrzysztofMoch Sep 1, 2025
a97b75b
fix(android): system controls are not hidden when going back to app (…
KrzysztofMoch Sep 7, 2025
4052514
feat: add buffer config (#4692)
KrzysztofMoch Sep 13, 2025
100aefc
feat: add `keepScreenAwake` prop (#4700)
KrzysztofMoch Sep 21, 2025
1ec3610
fix(android): pip crash when entering fullscreen (#4706)
KrzysztofMoch Sep 25, 2025
07b5575
refactor: event handler to use add/remove style (#4708)
zoriya Oct 2, 2025
58a268c
chore: cleanup events code
KrzysztofMoch Oct 2, 2025
a97581a
chore: release 7.0.0-alpha.5
KrzysztofMoch Oct 2, 2025
4ebc9b7
feat(android): add surface type prop (#4719)
KrzysztofMoch Oct 3, 2025
375fbeb
feat: bump nitro modules (#4720)
KrzysztofMoch Oct 3, 2025
02044de
feat: add notification controls (#4721)
KrzysztofMoch Oct 6, 2025
1671c63
feat(android): support flexible page sizes (#4726)
KrzysztofMoch Oct 8, 2025
9b74665
chore: update release script (#4727)
KrzysztofMoch Oct 8, 2025
6f82826
chore: rename drm plugin package name
KrzysztofMoch Oct 10, 2025
52499e5
chore: release 7.0.0-alpha.6
KrzysztofMoch Oct 10, 2025
8ce38ca
fix(android): call start foreground service if needed (#4733)
KrzysztofMoch Oct 15, 2025
9f2d189
chore(deps): bump nitro version
KrzysztofMoch Oct 15, 2025
01395f2
chore: release 7.0.0-alpha.7
KrzysztofMoch Oct 16, 2025
e3813d0
docs: fix minor issues in v7 `intro.md`, `installation.md` documentat…
sorenfrederiksen Oct 23, 2025
dab0a4c
docs: update platform support in DrmParams interface (#4736)
moskalakamil Oct 23, 2025
ff8ef0f
fix(ci): set linker to hoisted
KrzysztofMoch Oct 26, 2025
09e2c97
docs: fix links
KrzysztofMoch Oct 26, 2025
e4968c4
chore(ci): bump bun version
KrzysztofMoch Oct 26, 2025
bc1b40e
chore(ci): allow manual docs deploy
KrzysztofMoch Oct 26, 2025
5b4c692
feat(android): Add expo config for notification controls (#4754)
Arthi-chaud Nov 2, 2025
0a6c357
feat: enhance source loading (#4755)
KrzysztofMoch Nov 3, 2025
649bc1c
fix(ios): don't recreate AVPlayerViewController if player haven't cha…
KrzysztofMoch Nov 3, 2025
92c8328
fix(android): disable controls when in PiP
KrzysztofMoch Nov 6, 2025
fd01193
chore: lint code
KrzysztofMoch Nov 6, 2025
c093ab2
chore: release 7.0.0-alpha.8
KrzysztofMoch Nov 6, 2025
b0ec47d
fix(android): restore views after PiP exit (#4766)
KrzysztofMoch Nov 7, 2025
8ee914f
fix(iOS): disable allowsVideoFrameAnalysis (#4643)
noma4i Nov 11, 2025
2e88f36
fix: player initialization bugs (#4775)
KrzysztofMoch Nov 16, 2025
fc36020
chore: release 7.0.0-alpha.9
KrzysztofMoch Nov 16, 2025
72f0a56
chore: remove console log
KrzysztofMoch Nov 16, 2025
99d3861
fix(android): notification and app name retrieval (#4781)
KrzysztofMoch Nov 23, 2025
843c936
chore: release 7.0.0-alpha.10
KrzysztofMoch Nov 23, 2025
556d1be
fix: handles view not found error gracefully (#4788)
KrzysztofMoch Nov 30, 2025
147df18
chore: release 7.0.0-alpha.11
KrzysztofMoch Nov 30, 2025
9db3e41
fix(nitrogen): release build issue for plugins (#4793)
moskalakamil Dec 8, 2025
caa17d0
chore: release 7.0.0-alpha.12 (#4794)
moskalakamil Dec 8, 2025
0f318ba
chore: prepare for beta release (#4796)
KrzysztofMoch Dec 9, 2025
95ddeeb
chore: release 7.0.0-beta.0
KrzysztofMoch Dec 9, 2025
3c9bae7
refactor: events logic (#4798)
KrzysztofMoch Dec 11, 2025
39f88c8
chore: release 7.0.0-beta.1
KrzysztofMoch Dec 11, 2025
00a6b19
fix(android): local asset for android in release (#4784)
jiroscripts Dec 18, 2025
1eb317a
docs: update README
KrzysztofMoch Dec 18, 2025
ff882c2
refactor: don't use nitro dispose (#4802)
KrzysztofMoch Dec 19, 2025
605feed
chore: release 7.0.0-beta.2
KrzysztofMoch Dec 19, 2025
b2ea78b
docs: sync with branches changes
KrzysztofMoch Dec 22, 2025
84d7abb
docs: restyle (#4803)
moskalakamil Dec 23, 2025
6aaeebc
docs: add eslint (#4805)
moskalakamil Dec 23, 2025
69f3dd9
docs: update landing page (#4807)
moskalakamil Dec 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

66 changes: 0 additions & 66 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/actions/setup-bun/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: setup bun
description: Setup bun and install dependencies

inputs:
working-directory:
description: 'working directory for bun install'
default: ./
required: false

runs:
using: composite
steps:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.1

- name: Cache dependencies
id: bun-cache
uses: actions/cache@v4
with:
path: |
**/node_modules
key: ${{ runner.os }}-v7-bun-${{ hashFiles('**/bun.lock') }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-v7-bun-${{ hashFiles('**/bun.lock') }}
${{ runner.os }}-v7-bun-

- name: Install dependencies
working-directory: ${{ inputs.working-directory }}
run: bun install
shell: bash

51 changes: 51 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Deploy Documentation

on:
workflow_dispatch:
push:
branches:
- master
paths:
# Update on workflow change
- ".github/workflows/deploy-docs.yml"
# Update on docs change
- "docs/**"
# Update on code change (Api Reference)
- "packages/react-native-video/src/**"

jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/setup-bun

- name: Build Documentation
run: bun run --cwd docs build

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build

deploy:
name: Deploy Documentation to GitHub Pages
needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
27 changes: 27 additions & 0 deletions .github/workflows/test-docs-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test Documentation Build

on:
pull_request:
branches:
- master
paths:
# Update on workflow change
- ".github/workflows/test-docs-build.yml"
# Update on docs change
- "docs/**"
# Update on code change (Api Reference)
- "packages/react-native-video/src/**"

jobs:
test-docs-deploy:
name: Test Documentation Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/setup-bun

- name: Test build website
run: bun run --cwd docs build
57 changes: 48 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
#
.DS_Store

**/.xcode.env.local

# XDE
.expo/

# VSCode
.vscode/
jsconfig.json

# Xcode
#
build/
Expand All @@ -24,25 +33,55 @@ project.xcworkspace

# Android/IJ
#
*.iml
.idea
.classpath
.cxx
.gradle
.idea
.project
.settings
local.properties
*.hprof
android.iml

# Cocoapods
#
example/ios/Pods

# Ruby
example/vendor/

# node.js
#
node_modules/
*.log

# yarn
yarn.lock
npm-debug.log
yarn-debug.log
yarn-error.log

# editor workspace settings
.vscode
# Bun
package-lock.json
**/*.bun

# BUCK
buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Expo
.expo/

# Turborepo
.turbo/

# generated by bob
lib/

# TypeScript
tsconfig.tsbuildinfo
8 changes: 0 additions & 8 deletions .prettierrc

This file was deleted.

Loading