Axel Vencatareddy
8040ac99ce
[ADS] Make ImaAdsLoader nullable
2022-11-16 20:46:36 +01:00
Axel Vencatareddy
8ee6ad9900
[ADS] Add adOverlayFrameLayout in layout instead of view
2022-11-16 20:16:37 +01:00
Axel Vencatareddy
0a30f207df
[ANDROID] Remove multidex usage as it is not mandatory
2022-11-16 20:11:29 +01:00
Axel Vencatareddy
0d70c53f53
[ANDROID] Fix reformating code that do not belong to this feature
2022-11-16 13:45:18 +01:00
Axel Vencatareddy
c789363c5b
[ANDROID] Fix video not playing if no adTagUrl passed
2022-11-16 13:42:25 +01:00
Axel Vencatareddy
915e31a874
[CLEAN] Cleanup useless code
2022-11-16 13:23:50 +01:00
Axel Vencatareddy
9c930ce960
[ANDROID] Update ads to latest sdk
2022-11-16 11:43:35 +01:00
Axel Vencatareddy
002f39181a
[ANDROID] Fix android after merge
2022-11-09 14:26:39 +01:00
Axel Vencatareddy
d5c245e675
Merge remote-tracking branch 'olgunkaya/master'
2022-11-09 13:14:04 +01:00
olivier bouillet
55209b48c0
fix: refactor full screen button visibility update
2022-11-03 23:06:42 +01:00
olivier bouillet
53fe1973e5
fix: review safety checks
2022-11-03 23:06:12 +01:00
olivier bouillet
a323bd0523
fix: refactor fullScreenPlayerView creation
2022-11-03 23:05:39 +01:00
olivier bouillet
973651e416
fix(android): hide fullscreen button when already in full screen
2022-11-03 08:26:06 +01:00
olivier bouillet
64e024d149
Merge branch 'master' of https://github.com/react-native-video/react-native-video into feat/add_new_events_on_tracks_changed
...
# Conflicts:
# CHANGELOG.md
# android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
# examples/basic/src/VideoPlayer.android.tsx
2022-10-29 15:20:36 +02:00
olivier bouillet
f0a7a636c0
Merge branch 'master' of https://github.com/react-native-video/react-native-video into fix/ensure_player_stop_on_invalid_url
...
# Conflicts:
# CHANGELOG.md
2022-10-02 21:25:26 +02:00
Liam Potter
1406b9ad08
Add focusable prop
2022-09-26 01:51:18 +01:00
olivier bouillet
0b6f107020
Merge branch 'master' of https://github.com/react-native-video/react-native-video into feat/add_new_events_on_tracks_changed
2022-09-14 22:43:59 +02:00
olivier bouillet
f4f9e28fb1
fix(exoplayer): allow uri to high case
2022-09-14 21:58:39 +02:00
olivier bouillet
f31e47f360
fix(exoplayer): ensure player is stopped when invalid uri is configured
2022-09-14 21:58:17 +02:00
wood1986
2a77c5f0df
fix: fix the system status bar when dismiss
2022-09-13 22:53:49 -07:00
olivier bouillet
5aa4d6697d
Merge branch 'master' of https://github.com/react-native-video/react-native-video into feat/add_new_events_on_tracks_changed
...
# Conflicts:
# android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
2022-09-12 21:58:51 +02:00
wood1986
5b2a4741dd
fix: add relayout when fullscreenview dismiss
2022-09-10 15:08:15 -07:00
wood1986
f0c40f9392
fix: fix the default behaviour
2022-09-10 11:52:46 -07:00
ATNASGDWNGTH
3e4e4e6a12
Merge branch 'react-native-video:master' into feat/expo-fullscreen
2022-09-09 00:00:18 -07:00
Olivier Bouillet
663ae7c81b
Merge pull request #2846 from crunchyroll/task/VEX-7629-upgrade-exoplayer-to-2-18-1
...
Upgrade exoplayer to 2.18.1
2022-09-08 19:07:04 +02:00
wood1986
5203fa63d4
fix: handle the initial fullscreen props
2022-09-08 00:31:47 -07:00
Gabriel Rivero
f558d05923
upgrade exoplayer
2022-08-26 10:32:22 -04:00
wood1986
a79c30eaba
fix: fix control not showing up at very first touch
2022-08-23 17:31:14 -07:00
wood1986
622f9d3f3f
fix: fix the hardware back button
2022-08-23 17:31:14 -07:00
wood1986
810c62407f
WIP
2022-08-23 17:31:14 -07:00
wood1986
470ca7bf60
WIP
2022-08-23 17:31:14 -07:00
wood1986
b144a50f41
feat: add full screen support based on expo-av implementation
2022-08-23 17:31:14 -07:00
olivier bouillet
2712069408
chore(android): change test logic for simplier code
2022-08-20 15:12:50 +02:00
olivier bouillet
9e92f1ef3f
Merge branch 'master' of https://github.com/react-native-video/react-native-video into feature/add_api_to_retrieve_decoder_capabilities
2022-08-20 14:32:57 +02:00
olivier bouillet
268b34d5de
Merge branch 'master' of https://github.com/react-native-video/react-native-video into feat/subtitles_style
2022-08-20 14:29:25 +02:00
Olivier Bouillet
11cde867df
Merge pull request #2741 from iFeelSmart/fix/avoid_duplicated_onEnd
...
fix(android): ensure we don't disable playback when player is ENDED
2022-08-20 14:27:38 +02:00
olivier bouillet
63008ced42
feat(android): add new events for audioTrack, textTracks and videoTracks
2022-08-06 12:05:07 +02:00
olivier bouillet
62ce3df461
chore: remove strange character
2022-08-06 12:03:10 +02:00
olivier bouillet
3675dc2789
fix(android): add support of square video format
2022-08-05 19:04:35 +02:00
olivier bouillet
a03c7342fb
fix(android): contentStartTime default value
2022-08-05 18:57:10 +02:00
freeboub
8302e58844
Merge pull request #2768 from wood1986/fix/playbutton
...
fix: fix the play button not shown after pausing video at the very first time
2022-08-01 14:49:28 +02:00
wood1986
f7aeb72950
fix: fix the play button no shown after pausing video at the very first time
2022-07-14 11:58:50 -07:00
olivier bouillet
b64c7dbea5
feat: add support of subtitles style configuration
2022-07-05 23:58:30 +02:00
evkwan
12189a94eb
- fix spacing issue
2022-07-04 01:03:38 +08:00
evkwan
95a55a2551
- fix spacing
2022-07-04 01:03:38 +08:00
evkwan
4a558f4b32
#2665 - fix maxbitrate property being ignored on Android due to selected track overwrite
2022-07-04 01:00:10 +08:00
olivier bouillet
b10de93128
fix(android): ensure we don't disable playback when player is ENDED (issue #2690 )
2022-06-23 23:51:52 +02:00
olivier bouillet
3a4cb7f6d9
feat(android): add new apis to query device capabilities
...
getWidevineLevel => integer between 0 and 3
isCodecSupported(codec, width, height) => boolean
isHEVCSupported() => boolean
2022-06-23 22:54:03 +02:00
Eran Hammer
f800776508
Port of #1493 . Closes #2478 .
2022-06-23 13:31:34 -07:00
olivier bouillet
5aeb49e094
Merge branch 'master' of https://github.com/react-native-video/react-native-video into fix/report_time_position_when_updated
...
# Conflicts:
# CHANGELOG.md
2022-06-23 21:58:11 +02:00
olivier bouillet
de2c4a5524
chore: move android-exoplayer to android folder
2022-06-15 22:30:24 +02:00
olivier bouillet
32718be951
chore: remove MediaPlayer source
2022-06-15 22:29:46 +02:00
MONSX662
5a94985762
updated parameter to use constant instead of 3
2022-06-08 11:52:33 -04:00
MONSX662
c110822b3f
updated ReactVideoView.java to fix seeking issue on android
2022-06-07 08:57:31 -04:00
Anders Lemke
8962720f56
Support preventsDisplaySleepDuringVideoPlayback ( #2019 )
...
* Add flag on iOS
* Add flag in Android
* Add documentation
* Add changelog entry
* Also set setKeepScreenOn
* Fix prop not being set
* add preventsDisplaySleepDuringVideoPlayback to exoplayer
* Update android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
* Update android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
Co-authored-by: Jens Andersson <jens@fritan.com>
Co-authored-by: Anton Tanderup <antontandrup@gmail.com>
Co-authored-by: Jens Andersson <jens@fritan.com>
2020-06-16 14:31:23 +02:00
Hampton Maxwell
52334f031a
Merge pull request #1328 from linguokun1/master
...
solve the memory leak on Android and avoid the crash on kitkat
2018-12-13 12:50:25 -08:00
Hampton Maxwell
b485e64c88
Add note about catching selectTimedMetadataTrack exception
2018-12-13 12:50:17 -08:00
Hampton Maxwell
46701448e7
Only select timed metadata tracks
2018-12-13 12:43:11 -08:00
Hampton Maxwell
413a7b87c6
Only fire onSeek once we've completed the seek operation
2018-11-27 19:48:41 -08:00
linguokun
0a12f7389e
solve the memory leak on Android and avoid the crash on kikat when call mp.selectTrack(0);
2018-11-15 17:57:37 +08:00
Matthew Herz
33d9acdf5d
Fix missing TargetApi import
...
The build was producing a "cannot find symbol class TargetApi" error without that line.
2018-09-06 12:56:36 -07:00
Hampton Maxwell
4fc0aab31c
Merge pull request #707 from RWOverdijk/feat/ontimedmetadata-android
...
Feat/ontimedmetadata android
2018-08-07 11:37:11 -07:00
Hampton Maxwell
3a1d81930e
Allow screen to sleep when video finishes
2018-08-05 17:34:16 -07:00
Hampton Maxwell
bd48a001c0
Switch to using setKeepScreenOn to prevent screen timeouts
2018-08-05 17:27:49 -07:00
Gerardo Pacheco
99591e45d6
Android: MediaPlayer - Prevent screen from dimming, make variable as final
2018-07-25 10:34:41 +02:00
Gerardo Pacheco
ab273ed1b5
Android: MediaPlayer - Prevent screen from dimming, check for activity
2018-07-25 10:24:48 +02:00
Gerardo Pacheco
7e5647d57f
Android: MediaPlayer - Prevent screen from dimming, fixed bug and simplified code
2018-07-25 10:02:04 +02:00
Gerardo Pacheco
5435e5d545
Merge branch 'master' of https://github.com/react-native-community/react-native-video
...
# Conflicts:
# android/src/main/java/com/brentvatne/react/ReactVideoView.java
2018-07-25 09:58:46 +02:00
Hampton Maxwell
18efffbd1a
Implement hacky fullscreen
...
This only handles the controls portion of fullscreen. It doesn't make the video use the entire screen, that still needs to be done via styles. Will be implemented later
2018-07-17 17:47:19 -07:00
Gerardo Pacheco
2f0b694b38
Android: MediaPlayer - Prevent screen from dimming
2018-07-11 12:28:26 +02:00
Gerardo Pacheco
240444c213
Android keep screen on
2018-07-10 15:00:56 +02:00
Hampton Maxwell
70d863e3d0
Allow timed metadata to compile on older SDKs
2018-06-25 14:25:12 -07:00
Hampton Maxwell
448e57ba3f
Add note about IOException when using bigger setDataSource call
2018-06-22 19:32:36 -07:00
Hampton Maxwell
bb2b3eb306
Handle converting maps that are null or empty
2018-06-22 19:20:25 -07:00
Hampton Maxwell
c67dd7b8ef
Merge branch 'master' into master
2018-06-22 18:57:58 -07:00
Hampton Maxwell
28b06aac52
Merge pull request #1082 from react-native-community/bugfix/mediaplayer-bg-cant-pause
...
Preserve Android MediaPlayer paused prop when backgrounding
2018-06-22 13:04:51 -07:00
Hampton Maxwell
d7c44104bd
Catch exception when setting the rate on some devices
...
A more elegant fix would be nice but is more work than it's worth at this time.
2018-06-22 12:57:29 -07:00
Hampton Maxwell
c1558f1bd8
Don't wipe out paused prop when going to the background
...
This allows users to set paused when they detect a background event so that when you return to the app, the video is paused.
2018-06-21 20:24:42 -07:00
Emrah Kaya
49cd5b6d01
passing headers to setDataSource when network video
2018-06-09 23:04:31 +02:00
Emrah
2d89a3fd54
Merge branch 'master' into master
2018-06-09 21:36:09 +02:00
Rafael Pinto
00fe87a2ab
replaced channel with stereoPan attribute
2018-06-05 23:04:20 +01:00
Rafael Pinto
8b931cbc5d
Added channel property to allow audio panning
2018-06-05 02:28:28 +01:00
Hampton Maxwell
fefbe801ef
Merge branch 'master' into master
2018-05-29 15:08:24 -07:00
Hampton Maxwell
ed49ce77bc
Merge pull request #778 from ChatLurking/fix(Android)-issue-543
...
Reset isCompleted flag on source change
2018-05-28 19:41:14 -07:00
Hampton Maxwell
f87b6bd0e9
Merge pull request #798 from Radweb/ImplementAndroid6PlaybackRate
...
Implement playback rate for Android 6.0+
2018-05-20 23:04:25 -07:00
Hampton Maxwell
fe7766add4
Delay all rate changes until the player unpauses
2018-05-20 23:02:56 -07:00
Emrah Kaya
db1d83b83e
constants renamed to requestheader
2018-01-13 21:29:53 +01:00
Alejandro Rangel
7d48f22d98
add seekableDuration to android ReactVideoView
2018-01-11 09:16:29 -08:00
Emrah Kaya
270fdfb657
added optional request headers for remote assests (android & ios)
2017-10-02 20:12:59 +02:00
Louis Capitanchik
3e0f084c62
Implement 'rate' prop for android devices
...
- Version locked to 6.0+ because that is the version that introduced setPlaybackParams
- Ignores rate prop as before on android versions lower than 6.0
2017-09-27 16:13:29 +01:00
Anne Glines
1bdd8720fb
Reseting isCompleted flag on source change
2017-09-11 22:30:17 -07:00
Radek Czemerys
5738757966
Remove createJSModules @override - RN 0.47 compatibility ( #718 )
...
* Remove depreciated createJSModules @ovveride marker
* Remove depreciated createJSModules @ovveride marker
* Added comment in exoplayer
* Added comment
* Remove trailing spaces
* Fix typo in comment
* Fix typo in comment
* Fix typo in comment
* Fix typo in comment
2017-08-08 21:11:11 -04:00
RWOverdijk
aa89683785
move prop keys for metadata to constants
2017-07-25 16:53:04 +02:00
RWOverdijk
38d225294f
add support for onTimedMetaData for android
2017-07-25 16:41:20 +02:00
melyamri
d48d7efc5d
added progressUpdateInterval to Android ( #512 )
...
* use progressUpdateInterval in android
* convert progressUpdateInterval to int
2017-03-21 16:26:39 -04:00
Ralph Pina
be55cef093
bump android dependencies ( #524 )
...
* bump android dependencies
* fixed lint
2017-03-21 16:25:46 -04:00
Deon Nicholas
c56fd2d908
[Android] App crash when unmounting video ( #533 )
...
* Upgrade to ScalableVideoView version 1.0.4
* Fix bug in cleanupMediaPlayerResources
* Fix VideoView on Android
2017-03-21 16:24:46 -04:00
Gorjan
9ce1f4b5f4
Fix/494 ( #537 )
...
* Stop video autoplay when paused prop is 'true' on initial showing of video component
* Fix IOException - java.io.FileNotFoundException: No content provider: thrown in android.MediaPlayer, due to expected uri resource with content provider instead of only a URL
2017-03-21 16:24:32 -04:00
Jhen-Jie Hong
d450afc83b
[Android] Fix require(...)
file resource on production ( #429 )
...
* Fix require(...) file resource on Android production
* Update example (use require for ./broadchurch.mp4)
* Fix MainApplication.java of example
* Add default source type
2017-01-31 07:49:23 -05:00
Arjan Scherpenisse
cd53e389a0
Android: Resize the video correctly on layout changes ( #432 )
...
The transform matrix was not being recalculated when the View
dimensions changed. Fixed by copying the code from the scaleVideoSize
method from the ScalableVideoView.
https://github.com/yqritc/Android-ScalableVideoView/blob/master/library/src/main/java/com/yqritc/scalablevideoview/ScalableVideoView.java#L95
2017-01-11 07:47:56 -05:00