Go to file
2022-11-10 11:43:59 +01:00
.github Update issue templates 2022-08-06 14:10:11 +02:00
android [ANDROID] Fix android after merge 2022-11-09 14:26:39 +01:00
docs chore: fix copy past 2022-09-15 00:03:56 +02:00
examples Merge remote-tracking branch 'olgunkaya/master' 2022-11-09 13:14:04 +01:00
ios [IOS] Convert Ads functionality to swift 2022-11-10 11:43:59 +01:00
windows Change WindowsTargetPlatformVersion to 10.0 2022-05-31 23:23:36 -07:00
.eslintignore Fix ESLint setup and errors 2022-04-20 10:20:55 -07:00
.eslintrc Bump javascript dependencies (#1914) 2020-02-22 13:56:31 -05:00
.gitignore iOS Swift Conversion (#2527) 2022-05-19 22:29:25 +09:00
.prettierrc Bump javascript dependencies (#1914) 2020-02-22 13:56:31 -05:00
API.md Add focusable prop 2022-09-26 01:51:18 +01:00
CHANGELOG.md fix: fix memory leak for iOS 2022-11-04 00:53:02 -07:00
CONTRIBUTING.md Update PR guide 2022-06-15 13:59:03 +03:00
DRMType.js Fix lint 2022-02-04 12:32:34 -08:00
FilterType.js Bump javascript dependencies (#1914) 2020-02-22 13:56:31 -05:00
LICENSE Update copyright 2022-06-22 06:35:04 +00:00
package.json added homepage to package.json 2022-10-04 13:18:23 +02:00
react-native-video.podspec [IOS] Convert Ads functionality to swift 2022-11-10 11:43:59 +01:00
README.md Merge remote-tracking branch 'olgunkaya/master' 2022-11-09 13:14:04 +01:00
TextTrackType.js Bump javascript dependencies (#1914) 2020-02-22 13:56:31 -05:00
Video.js Merge remote-tracking branch 'olgunkaya/master' 2022-11-09 13:14:04 +01:00
VideoResizeMode.js Example fix, test script, and some refactoring 2016-01-31 20:13:48 -08:00

react-native-video-inc-ads

an addon property (adTagUrl) to support google ima on react-native-video. Thanks to https://github.com/RobbyWH for his great work. I just merged his ima branch with latest react-native-video branch.

const adTagUrl = "https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/"

  • "ad_rule_samples&ciu_szs=300x250&ad_rule=1&impl=s&gdfp_req=1&env=vp"
  • "&output=vmap&unviewed_position_start=1&cust_params=deployment%3Ddevsite"
  • "%26sample_ar%3Dpremidpost&cmsid=496&vid=short_onecue&correlator=";

In case of any issue, one can follow RobbyWH's comments on the issue : https://github.com/react-native-video/react-native-video/issues/488 :)

A new function property onReceiveAdEvent added. this is used to notify ad events from native component to react component.

react-native-video

⚠️ Version 6 Alpha: The following documentation may refer to features only available through the v6.0.0 alpha releases, please see version 5.2.x for the current documentation!

A <Video> component for react-native.

Version 6.x recommends react-native >= 0.68.2.
For older versions of react-native, please use version 5.x.

Version 6.0.0 breaking changes

Version 6.0.0 is introducing dozens of breaking changes, mostly through updated dependecies and significant refactoring. While the API remains compatible, the significant internal changes require full testing with your app to ensure all functionality remains operational. Please view the Changelog for specific breaking changes.

Installing Version 6.0.0 Alphas

Whilst we finalise version 6.0.0 you can install the latest alpha from npm Using npm:

npm install --save react-native-video@alpha

using yarn:

yarn add react-native-video@alpha

Useful resources

react-native-video was originally created by Brent Vatne