Forum Discussion
Player button has been removed by using the following code but audio not playing automatically. To play the audio I have to click on an interactive element. Any advice?
u.trigger(c.startOverlay.READY)})),this.onStart()
- MathNotermans-92 years agoCommunity Member
Do check your code... it misses a )
Try to understand the code instead of just copy and paste blindly.
Brackets ( all types ) are openend, some parameters are passed inside, then the brackets close.
So this if correct ( dummy ) code:bladibla, { param1, param2,param3,
}
or...bladibla ( c.startOverlay.READY ) } ) ) ,this.onStart ( )
the single
}
you see inhere is opened in another part of the script.As are the 2
) )
before ,this.onStart()So the complete function looks something like this...
( ( {bladibla ( c.startOverlay.READY ) } ) ) ,this.onStart ( )
Any openeing bracket needs closing somewhere. Else you get errors.