Commit Graph

60 Commits

Author SHA1 Message Date
Hampton Maxwell
d003c87b57 Add onAudioBecomingNoisy for iOS 2018-07-12 21:48:58 -07:00
Hampton Maxwell
fe26f54bfb
Fix default sideload text track for system caption setting 2018-07-09 21:08:40 -07:00
Ash Mishra
0d32a31b85 Merged, but text sideloading is not working 2018-07-09 17:00:47 -07:00
Hampton Maxwell
93ce4d6b9f Support loading multiple sideloaded text tracks 2018-07-09 16:28:38 -07:00
Ash Mishra
c9b752454a PR fixes for iOS sideloaded captions 2018-07-09 11:20:32 -07:00
Ash Mishra
fa63a9ef87 Fix for textTracks not being set before selectedTextTrack (bug found on iOS 9.3) 2018-07-06 16:38:24 -07:00
Ash Mishra
05d4be2d9c Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	ios/RCTVideo.m
#	package.json
2018-07-06 16:01:02 -07:00
Hampton Maxwell
7bd7024a5e
Merge pull request #758 from LandonS23/ios-controls
Show iOS controls without using present full screen
2018-07-06 13:26:08 -07:00
Ash Mishra
3e2e16ef44 iOS Sidecar loading for captions and offline support (isAsset). Android
fix to respect User settings for captions.
2018-07-05 13:36:36 -07:00
Hampton Maxwell
3f5ab0b7ae Disable HTTP headers since it uses a private API 2018-06-26 15:39:04 -07:00
Hampton Maxwell
4174d5a713 Prevent onLoad event during seeking 2018-06-25 11:43:51 -07:00
Hampton Maxwell
c67dd7b8ef
Merge branch 'master' into master 2018-06-22 18:57:58 -07:00
Hampton Maxwell
9401328d46 Support specifying an alternate seek tolerance on iOS 2018-06-20 22:09:45 -07:00
Hampton Maxwell
026afabe8b Only allow the player layer observer to be cleared if it's set (#907) 2018-06-20 16:33:50 -07:00
Hampton Maxwell
9ad11dd569 Avoid crash when text track doesn't have a title or language 2018-06-20 15:26:24 -07:00
Hampton Maxwell
a1a4e0c44b Report textTracks in onLoad 2018-06-11 20:55:23 -07:00
Emrah Kaya
6cd7dfeedf fix syntax errors 2018-06-11 11:10:01 +02:00
genglei01
6f5211f2c4
remove indentation
remove indentation
2018-06-11 00:04:13 +08:00
Emrah Kaya
f340025a09 respecting cookies when opting in for headers (ios) 2018-06-09 21:53:57 +02:00
Emrah
2d89a3fd54
Merge branch 'master' into master 2018-06-09 21:36:09 +02:00
genglei01
7460df9edb
Merge branch 'master' into master 2018-06-08 11:18:26 +08:00
LeoGeng
e79e447375 Add allowsExternalPlayback property to control external playback 2018-06-06 09:40:12 +08:00
Hampton Maxwell
03017c0f63 Merge branch 'master' into feature/text-tracks 2018-06-04 11:47:16 -07:00
Hampton Maxwell
88f6e7d9ac
Merge pull request #832 from jalieven/upstream
Preventing multiple observers for the same notification
2018-06-03 21:23:53 -07:00
Hampton Maxwell
761549ca5c
Merge pull request #974 from wildseansy/master
Fixes #963
2018-06-03 21:08:51 -07:00
Hampton Maxwell
7882d5cf66
Merge pull request #1048 from blink22/fix/partial-swipe-black-screen
Fix partial swipe on video in fullscreen shows a black screen
2018-06-03 20:54:04 -07:00
Hampton Maxwell
b44ae2c0c2 Get automatic system track selection working 2018-06-02 19:41:25 -07:00
Ahmed Barakat
a2a7cf1452 Fix partial swiping on video shows black screen
In iOS 11, Apple added a feature to close the Video Player via a swipe gesture. Partial swiping cases viewWillDisappear to be called without viewDidDisappear which cases a black screen.
2018-06-02 15:03:18 +02:00
Hampton Maxwell
9764fe3be4 First pass at text track selection, mostly complete 2018-06-02 02:24:13 -07:00
Hampton Maxwell
fd8ebbd74a
Merge branch 'master' into allow-progress-update-interval-to-work-on-ios 2018-05-29 16:11:15 -07:00
Hampton Maxwell
fefbe801ef
Merge branch 'master' into master 2018-05-29 15:08:24 -07:00
Hampton Maxwell
2b934f9e4c
Merge branch 'master' into patch-1 2018-05-28 20:02:23 -07:00
Hampton Maxwell
2d1c0023d0 Clear the progress timer at video end, restore on seek 2018-05-15 22:19:12 -07:00
Hampton Maxwell
77b927157a
Merge pull request #871 from habovh/master
Add requiresMainQueueSetup method
2018-05-15 18:17:58 -07:00
seansy
28bae40c6c Fixes #963
Bug happens when uri is changed for a video.

The fix:
Remove player layer before addPlayerItemObservers so _playerItemObserversSet is still set to NO if observers have already been removed.
2018-03-26 09:07:25 -07:00
masarusanjp
cfab35d484 fxied an issue that does not use passed argument 2018-02-28 11:15:42 +09:00
Austin Witherow
093ffccd9b fix(ios): crash due to persistent keyPath observer (#600) 2018-01-02 12:06:43 -05:00
Jordan Becker
ce7c732453
Add requiresMainQueueSetup method
Since RN 0.49, `requiresMainQueueSetup` needs to be defined if the module overrides `constantsToExport`.
2017-12-07 19:35:32 +01:00
Ahmed Hassan
6e43701092 added native progress notification (#734) 2017-11-18 14:10:58 -08:00
Jan Lievens
2ae99bd484 remove observers before adding thus preventing multiple observers for the same notification 2017-10-24 09:52:10 +02:00
Emrah Kaya
270fdfb657 added optional request headers for remote assests (android & ios) 2017-10-02 20:12:59 +02:00
Dan Hodos
10cba5ad5c Reset progress observer on update interval changes 2017-09-28 21:37:52 -04:00
Dan Hodos
435669a944 Extract method to add observer for progress update 2017-09-28 21:37:26 -04:00
Alex Fox
451f8d0919 Fixed rate not being respected after seeking
Referenced in issue => https://github.com/react-native-community/react-native-video/issues/763
2017-09-07 13:16:44 +01:00
Alexander Nazarov
f73b7a0484 Fixed seekableDuration for time ranges with non-numeric duration (#709) (#728) 2017-09-06 21:12:34 -04:00
Landon Sherwood
a4ada46b30 Show iOS controls if not fullscreen
Show controls without calling the present full screen method.
2017-08-29 16:39:18 -05: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
Zach Nolan
ef2120b418 added removePlayerLayer to fix iOS crash (#650) 2017-06-09 17:31:46 -04:00
Dom DiCicco
98c51f114b issue 310 - Added a new property, ignoreSilentSwitch. (#403)
* issue 310 - Added a new property, ignoreSilentSwitch. When true, audio will play even when the silent switch on an iOS device is set to silent. When false, the audio will toggle with the silent switch. Sets the AVAudioSession to either playback or ambient.

* Added ignoreSilentSwitch usage to example app and to readme

* Changed ignoreSilentSwitch to accept two string values, ignore and obey.
This accounts for the case where the user does not want to modify the audio session from a particular video instance. The user would not use the ignoreSilentSwitch property at all in that case.
Also, the audio session will only be updated when the video is unpaused, instead of whenever the video component has updated props. This allows for multiple videos to be on the screen, with the most recent video unpaused (aka played) being the video that has control over the audio session.
2017-04-20 14:10:06 -04:00
Nawal "Deshi" Rahim
087adef1b9 Pausing progress if it was playing and the stating again (#526) 2017-03-21 16:25:58 -04:00