Unexpected )

where can i put the “)” in this line of code?
if (Assets.exists(leSource.replace(".webm", “.ogg”), MUSIC) Assets.exists(leSource.replace(".webm", “.ogg”), SOUND))
this uses growtopia/gwebdev’s extension-webm haxeflixel extension.
the code error: source/VideoState.hx:73: characters 62-68 : Expected )
(i’m new so don’t be surprised)

You’re likely missing a && or a || before your second Assets.exists, depending on the logic you’re after

It looks like you have two conditionals in there.
Try:
if (Assets.exists(leSource.replace(“.webm”, “.ogg”), MUSIC) && Assets.exists(leSource.replace(“.webm”, “.ogg”), SOUND))