Commit Graph

40 Commits

Author SHA1 Message Date
Krzysztof Moch
41ac781412
feat: move require (local files) to source.uri (#3535)
* feat!: move require source to `uri`

* pass other source properties

* chore: update basic example

* chore: restore backward compatibility

* docs: update source via require

* fix types

* make docs build workflow pretty

* improve docs
2024-03-13 08:23:11 +01:00
Olivier Bouillet
7c4d19fa72
fix(ios): split licenseUrl and loadedLicenseUrl (#3578)
* fix(ios): split licenseUrl and loadedLicenseUrl
* fix(ios): fix drm license url used to provide the answer
2024-03-12 16:47:49 +01:00
coofzilla
6184c10acc
feat(android): add subtitle event (#3566)
* feat: add onCues method to get access to subtitle content
2024-03-11 13:50:19 +01:00
Krzysztof Moch
0f31271dcf
fix(docs/ci): add typescript (#3572) 2024-03-08 14:29:04 +01:00
Krzysztof Moch
4fc7d2788b
fix(docs): fix build (#3571) 2024-03-08 13:04:27 +01:00
Dominik Danielewicz
962ca2d195
docs: update platforms in properties tab (#3562)
* docs: update platforms in properties tab

* docs: update platforms in drm, events and methods tab
2024-03-08 12:48:01 +01:00
Tarun Chauhan
ba00881ddc
fix: add missing shutterColor type (#3561) 2024-03-05 18:57:58 +01:00
Krzysztof Moch
c0aa3d6453
docs: add new architecture docs section (#3558) 2024-03-04 09:48:20 +01:00
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
Krzysztof Moch
ccb60c6dd3
docs: update installation section (#3543) 2024-02-26 13:49:38 +01:00
Krzysztof Moch
4b4636619d
docs: fix invalid resume function name (#3515) 2024-02-02 08:32:51 +01:00
Olivier Bouillet
6a49cba273
feat: implement onAudioTracks and onTextTracks on ios (#3503)
* feat: implement onAudioTracks and onTextTracks on ios

* chore: lint code

* fix: rework previous fix to fix linter and be more aligned with architecture

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2024-02-01 08:56:00 +01:00
Krzysztof Moch
2094dbdce6
docs: add ads section (#3502) 2024-01-28 20:03:07 +01:00
Krzysztof Moch
53359a248b
docs: add visionOS platform (#3477)
* docs: add visionOS platform

* update docs
2024-01-16 07:21:38 +01:00
Krzysztof Moch
01d7bedb41
docs: fix typo (#3460) 2024-01-05 15:51:13 +01:00
Krzysztof Moch
19e6264987
docs: fix twitter card (#3459) 2024-01-05 15:14:25 +01:00
Krzysztof Moch
f9a900ff3a
docs: add thumbnail (#3458) 2024-01-05 14:46:10 +01:00
Olivier Bouillet
50268265fb
doc: improve uri value to specify the value should be url encoded (#3441)
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-12-24 14:38:33 +01:00
Olivier Bouillet
bea268aa80
docs: cleanup outdated informations (#3437)
* chore: rename alpha to beta on landing page

* chore: remove outdated installation information

* chore: clean up updating section

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-12-23 11:10:04 +01:00
Krzysztof Moch
9c669a2d8a
docs: add support by section (#3435) 2023-12-21 08:45:28 +01:00
Axel Vencatareddy
596c02d2b3
feat: add onAdError event listener (#3381)
* feat: add onAdError event listener
* feat: remove onAdError event listener and use already existing
* feat: add ERROR event to docs
2023-12-02 13:52:01 +01:00
Axel Vencatareddy
d05231d76b
feat(ad): add data to onReceiveAdEvent (#3378)
* feat(ad): add adData to onReceiveAdEvent
* fix: remove adData from response if empty
* fix: add getAdData to stub file
* chore: fix build without IMA
* fix: rename `adData` to `data`

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-27 21:43:30 +01:00
YangJH
2648502b36
feat: implement startPosition (#3355)
* feat(android): implement startPosition

* feat(ios): implement startPosition

* feat: implement startPosition type

* docs: fix typo

* docs: update startPosition

* refactor: put startPosition inside source prop
- put startPosition inside source prop
- rename existing prop (startTime, endTime)

* docs: update startPosition property description

* fix: fix invalid assignments

* refactor: remove redundant optional chaining

* feat: allow "0" to work too
2023-11-24 12:52:46 +01:00
Krzysztof Moch
9f1bf8f913
docs: add source local file name waring (#3359) 2023-11-17 15:38:32 +01:00
Krzysztof Moch
782e7e0df1
fix(ios): fix external text tracks crashes with m3u8 files (#3330)
* fix(ios): fix crash when using textTracks with m3u8

* docs: add warning to `textTracks` prop

* chore: apply code review

* chore: remove indents
2023-11-17 08:19:39 +01:00
Olivier Bouillet
dfac7a6ed3
Fix(ios): restore caching feature (#3341)
* chore: fix build issue

* fix: try to fix save typings

* chore: fix podspec

* fix: update integration guide for ios Caching

* fix: update sample to test the save function

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-13 21:36:16 +01:00
Krzysztof Moch
9054db35d7
feat(ios): add onBandwidthUpdate event (#3331)
* feat(ios): add onBandwidthUpdate event
2023-11-08 22:06:29 +01:00
Krzysztof Moch
6df0f7d1c0
chore(android): bump kotlin version (#3334)
* chore(android): update gradle files

* docs: update android installation section
2023-11-08 07:41:17 +01:00
Krzysztof Moch
cdbc856387
feat: add onVolumeChange event (#3322)
* feat: implement `onVolumeChange` event
2023-11-04 18:11:54 +01:00
Randall71
ad0422d989
docs: fix broken link (#3323) 2023-10-30 09:09:27 +01:00
Krzysztof Moch
85e30f0335
feat: move docs to github pages (#3296)
* feat(docs): setup nextra

* feat(docs): add pages

* docs: update introduction page

* docs: fix typos

* docs: fix links

* docs: update README

* docs: sync with master

* docs: remove old docs

* fix(ci/docs): fix typos

* fix(ci/docs): fix docs setup

* fix(docs): update next config

* chore(ci/docs): clean up

* chore(docs): add meta tags

* chore: apply review changes

* docs: move drm into api section

* docs: fix next config

* docs: fix links

* docs: add methods section

* chore: sync with main

* docs: add missing onAudio events
2023-10-26 08:54:14 +02:00
Facundo Gutierrez
f4acaccd80
fix(ios): fairplay different key per asset (#3261)
* [Fix] Replace _loadingRequest instance with _loadingRequests dictionary to support multiple concurrent requests
* Remove stored finished requests from dictionary
* Keep contentId as is, and send loadingRequest.url in licenseUrl.
* Update DRM.md

---------

Co-authored-by: Facundo Gutierrez <facundo.gutierrez@tcc.com.uy>
2023-10-05 21:37:28 +02:00
olivier bouillet
a490041408 chore: fix copy past 2022-09-15 00:03:56 +02:00
olivier bouillet
57c991363b doc: add link to side project and create a debugging page 2022-09-14 23:55:14 +02:00
Eran Hammer
c2b0ce735f Move file 2022-06-23 21:39:55 +00:00
Hampton Maxwell
152978d111 Provide info about caching not working with text tracks 2018-08-27 18:17:15 -07:00
Laurin Quast
38ba3735ed add information about caching restrictions 2018-08-06 10:21:27 +02:00
Laurin Quast
4cc984d5da add instructions for CocoaPods setup 2018-07-19 09:46:27 +02:00
Akshay Gore
76cc5ec4f0 Add App Transport Security Exceptions Configuration 2018-05-22 00:43:10 -07:00
Julien K
b303f991ce Added tvOS paltform support (#682)
* [tvOS] Update podspec

* [tvOS] Add tvOS target

* Update README.md

* [docs] Folder that contains pictures and content for documentation

* tvOS Readme

* [JPEG] Update image to JPEG
2017-07-20 13:35:58 -04:00