use insecure mode (#74)
This commit is contained in:
parent
53063931ab
commit
5f55a3f128
1 changed files with 6 additions and 1 deletions
|
@ -589,7 +589,12 @@ export default React.memo<Props>(function VideoJs(props: Props) {
|
||||||
|
|
||||||
if (shouldShowAnAd && browserIsChrome && !IS_MOBILE) {
|
if (shouldShowAnAd && browserIsChrome && !IS_MOBILE) {
|
||||||
// fire up ima integration via module
|
// fire up ima integration via module
|
||||||
player.ima({adTagUrl: macroUrl});
|
player.ima({
|
||||||
|
adTagUrl: macroUrl,
|
||||||
|
vpaidMode: 2, // 2 = INSECURE
|
||||||
|
// // $FlowFixMe
|
||||||
|
// vpaidMode: google.ima.ImaSdkSettings.VpaidMode.INSECURE,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// kick player in the butt, sometimes it doesn't always autoplay when it should
|
// kick player in the butt, sometimes it doesn't always autoplay when it should
|
||||||
|
|
Loading…
Reference in a new issue