Commit Graph

152 Commits

Author SHA1 Message Date
wood1986
ee1217d95e fix: fix the wrong merge conflict 2022-12-17 13:43:18 -08:00
wood1986
1f27ffbc81 fix: fix the kvo compliance crash when rapidly switching source 2022-12-17 13:33:49 -08:00
Olivier Bouillet
92fe61acb1
Merge branch 'master' into master 2022-12-09 22:15:55 +01:00
happyfloat
fffe9731c7
Update RCTVideo.swift
Prevents a crash in my case: https://github.com/react-native-video/react-native-video/issues/2723#issuecomment-1336130120
2022-12-07 12:16:03 +01:00
Axel Vencatareddy
eef8f2cecc
Merge branch 'master' into master 2022-11-30 13:14:07 +01:00
Axel Vencatareddy
6e5ebfcc3b [AD EVENTS] Merge resume, pause and click event on iOS and Android 2022-11-30 12:50:48 +01:00
Jesse Sessler
a39dca28a8 Guard against setting text tracks before player is initialized 2022-11-28 15:15:50 -06:00
Axel Vencatareddy
73dde32cce [IOS ADS] Fix missing self in closure 2022-11-17 12:24:49 +01:00
Axel Vencatareddy
9386955ab0 [IOS ADS] Setup ads only if adTagUrl present 2022-11-17 12:12:50 +01:00
Axel Vencatareddy
fa817264fc [ADS] Create RCTIMAAdsManager class 2022-11-17 12:01:29 +01:00
Axel Vencatareddy
f521f8f0dc [ADS] Add play/pause capability while ad is playing 2022-11-14 13:42:39 +01:00
Axel Vencatareddy
f54288c54d [IOS] Fix ads when no controls displayed 2022-11-14 11:49:15 +01:00
Axel Vencatareddy
d6da11d8ef [IOS] Convert Ads functionality to swift 2022-11-10 11:43:59 +01:00
Axel Vencatareddy
2770ab553c [IOS] Clean swift file of every space padded lines 2022-11-09 17:26:12 +01:00
Axel Vencatareddy
d5c245e675 Merge remote-tracking branch 'olgunkaya/master' 2022-11-09 13:14:04 +01:00
wood1986
86a89eaed2 fix: fix memory leak for iOS 2022-11-04 00:53:02 -07:00
Olivier Bouillet
914eb9d3c6
Merge pull request #2879 from evoactivity/patch-3
Missed 1 import for RCTVideoSwiftLog
2022-10-03 14:33:20 +02:00
Liam Potter
1ba3b2c526
Missed 1 import for RCTVideoSwiftLog
This is an addendum to #2870
2022-10-03 13:28:30 +01:00
olivier bouillet
2efa746eed fix(ios): ensure we stop playback on invalid or empty url 2022-10-02 21:33:53 +02:00
Liam Potter
a7f0efd27f Fix iOS RCTSwiftLog naming collision with rive-react-native 2022-09-26 00:10:21 +01:00
olivier bouillet
1d4665f9e8 Revert "type _eventDispatcher as RCTEventDispatcherProtocol"
This reverts commit 537d36cf60.
2022-09-14 08:08:07 +02:00
Stipe Perković
02081857f0 fix indent 2022-09-06 12:55:00 +02:00
Stipe Perković
6e6ae9d7c9 IOS: fix ui frame drop on load 2022-09-06 12:13:54 +02:00
freeboub
aaa6141b11
Merge pull request #2802 from ckaznable/patch
Fix rctDelegate may be nil in some cases
2022-08-06 11:51:57 +02:00
john
e1987e561a fix rctDelegate is nil 2022-08-05 09:53:22 +08:00
陈曦
cee650c84c feat: 🎸 add exception catch 2022-07-27 21:34:08 +08:00
陈曦
fcea0ffcea refactor: 💡 support camera video for swift 2022-07-27 21:13:47 +08:00
Igor Tironi
2a54474a18 Added missing NSError initialization params 2022-06-24 15:51:26 -07:00
Eran Hammer
41731a8117
Merge pull request #2679 from nbennink/fix/disable-sideloaded-texttracks
fix(texttracks): unable to disable sideloaded texttracks in the AVPlayer
2022-06-23 14:30:03 -07:00
Eran Hammer
553e51c639
Port of #2329 2022-06-21 23:30:55 -07:00
Igor Tironi
c2d60a7371 Merge branch 'master' of github.com:react-native-video/react-native-video into type-event-dispatcher-with-protocol 2022-06-15 11:01:24 -07:00
Igor Tironi
e1574675b5 flipped playerLayer nil check to start observer 2022-06-14 16:58:47 -07:00
Igor Tironi
537d36cf60 type _eventDispatcher as RCTEventDispatcherProtocol 2022-06-14 15:50:22 -07:00
nbennink
1597d7f7c8 style: change temporary debug name 2022-06-13 11:42:12 +02:00
nbennink
16e346c0b1 Merge branch 'master' into fix/disable-sideloaded-texttracks 2022-06-13 11:40:43 +02:00
Nick Fujita
68b9db4d11
iOS Swift Conversion (#2527)
Converts iOS implementation from Objective-c to Swift

# During the conversion process some updates to the code structure were also made
- Modularize codebase from single file to smaller focused files
- Untangled large nested IF statements
- Added more null checks, since Swift is more strict with null pointers
- Added property to allow for decoding of local video sources with self contained key for offline playback
- Updates example apps to test react-native 0.63.4 and uses auto native dependency imports for android and ios
2022-05-19 22:29:25 +09:00
nbennink
c9ecc8e9e0 fix(texttracks): unable to disable sideloaded texttracks in the AVPlayer 2022-05-12 14:45:02 +02:00
Eran Hammer
60d0968514
Merge pull request #2395 from zetlanddk/apply-modifiers-before-starting
Make sure modifiers are applied before playing
2022-04-20 01:15:58 -07:00
Eran Hammer
2dadf28bb5
Merge pull request #2645 from tombaranowicz/tombaranowicz-patch-1
Disable pipController init if pictureInPicture is false
2022-04-20 00:54:53 -07:00
Eran Hammer
ccd9894910
Fix iOS 15.4 race condition 2022-04-05 12:34:41 -07:00
Tomasz Baranowicz
dad33ef885
Disable pipController init if pictureInPicture is false
Disable pipController init if pictureInPicture is set to false prevents going to PIP mode on iOS when the app goes to the background.
2021-11-05 12:42:45 +01:00
Jonas Dalesjö
bf11502fdb
Merge pull request #2215 from valtech-sd/master
Resolved ignored silent switch in iOS when player is set to paused
2021-09-09 21:34:50 +02:00
Shane Mckenna
a42240d554 Fix for tvOS native audio menu language selector 2021-08-23 11:59:53 -07:00
sdkcy
0f94a3d956 Custom skin support added for ios. onReceiveAdEvent prop added to catch ad events on ios. 2021-07-26 16:11:37 +03:00
Jonas Dalesjö
db58ba90f1
Merge pull request #2167 from redspear/1930-ios-reapply-rate-modifier
Fix: iOS rate is reset to 1.0 after play/pause #1930
2021-06-24 17:49:05 +02:00
Olgun Kaya
6c46dcffa8 Merge branch 'implement-ima-sdk' into master
# Conflicts:
#	android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
#	examples/basic/package.json
#	examples/basic/yarn.lock
#	ios/Video/RCTVideo.h
#	ios/Video/RCTVideo.m
#	ios/Video/RCTVideoManager.m
#	react-native-video.podspec
2021-06-15 15:42:07 +03:00
anderslemke
dcea67eb96 Make sure modifiers are applied before playing 2021-06-03 15:11:57 +02:00
Nick Fujita
88b636f158
iOS DRM Fixes for License Fetching (#2208) 2021-01-13 19:18:01 +09:00
Cameron Perry
f79782b447 Resolved an issue where setting a video to paused would ignore the “silent switch” setting 2020-11-19 16:18:31 -08:00
redspear
522af9eaa7 Bugfix: #1930 2020-09-28 09:56:06 +10:00