react-native-video/docs
coofzilla 253ffb5956
feat(ios): Add ios support for accessing WebVTT Subtitle Content (#3541)
* feature: add support to get subtitle content data

* refactor: return a string of the subtitles

Push the parsing/formatting to the consumer side.

* chore: add types for new subtitle feature

* chore: run swiftlint and swiftformat

* chore: add documentation for new onSubtitleTracks callback

* chore: added test uri; basic implementation of feature; hotfix onTextTracks

added optional chaining for `return x?.selected` because tracks that don't have a track selected either by default or manually will return undefined and this can cause an error.

* feat: rename onSubtitleTracks to onTextTrackDataChanged

Renamed the onSubtitleTracks event to onTextTrackDataChanged across the codebase to clearly indicate the callback's purpose: being called when the text track's data changes. This change is reflected in the events documentation, example usage in VideoPlayer.tsx, and the relevant iOS implementation files for consistency and clarity, in line with PR feedback.

* chore: omit target property

target could be confusing for users so we have removed it. using the delete operator instead of using {target,...eventData} as that would give an eslint error about unused vars.
2024-02-29 14:41:04 +01:00
..
assets docs: add support by section (#3435) 2023-12-21 08:45:28 +01:00
pages feat(ios): Add ios support for accessing WebVTT Subtitle Content (#3541) 2024-02-29 14:41:04 +01:00
public docs: add thumbnail (#3458) 2024-01-05 14:46:10 +01:00
.gitignore feat: move docs to github pages (#3296) 2023-10-26 08:54:14 +02:00
bun.lockb feat: move docs to github pages (#3296) 2023-10-26 08:54:14 +02:00
next-env.d.ts feat: move docs to github pages (#3296) 2023-10-26 08:54:14 +02:00
next.config.js feat: move docs to github pages (#3296) 2023-10-26 08:54:14 +02:00
package.json feat: move docs to github pages (#3296) 2023-10-26 08:54:14 +02:00
README.md feat: move docs to github pages (#3296) 2023-10-26 08:54:14 +02:00
theme.config.jsx docs: fix typo (#3460) 2024-01-05 15:51:13 +01:00

react-native-video-docs

This is the documentation for the react-native-video. Project is using bun to build and run the documentation. Framework for static site generation is Nextra

bun install

To run:

bun run dev