fix site detection, add hide logo to macro url
This commit is contained in:
parent
8253f5e0dc
commit
47d9b4a866
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ const macroUrl =
|
||||||
`&AV_CONSENT=[CONSENT_MACRO]` +
|
`&AV_CONSENT=[CONSENT_MACRO]` +
|
||||||
`&skip=true` +
|
`&skip=true` +
|
||||||
`&skiptimer=5` +
|
`&skiptimer=5` +
|
||||||
|
`&logo=false` +
|
||||||
`&usevslot=true` +
|
`&usevslot=true` +
|
||||||
|
`&vastretry=3` +
|
||||||
`&hidecontrols=false`;
|
`&hidecontrols=false`;
|
||||||
|
|
||||||
export type Player = {
|
export type Player = {
|
||||||
|
@ -603,7 +605,7 @@ export default React.memo<Props>(function VideoJs(props: Props) {
|
||||||
// pre-roll ads
|
// pre-roll ads
|
||||||
// This must be initialized earlier than everything else
|
// This must be initialized earlier than everything else
|
||||||
// otherwise a race condition occurs if we place this in the onReady call back
|
// otherwise a race condition occurs if we place this in the onReady call back
|
||||||
if (allowPreRoll && !SIMPLE_SITE && window.google) {
|
if (allowPreRoll && SIMPLE_SITE && window.google) {
|
||||||
const google = window.google;
|
const google = window.google;
|
||||||
// player.aniview();
|
// player.aniview();
|
||||||
vjs.ima({
|
vjs.ima({
|
||||||
|
|
Loading…
Add table
Reference in a new issue