Update README.md

added mention to great RobbyWH and his branch plus the property needs to be used in the project.
This commit is contained in:
Olgun Kaya 2021-06-22 17:46:46 +03:00 committed by GitHub
parent 7263b8ecc0
commit 96c717d6df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,14 @@
## 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 :)
## react-native-video ## react-native-video
A `<Video>` component for react-native, as seen in A `<Video>` component for react-native, as seen in