Cloudflare has added the RocketLoader option which adds if (!window.__cfRLUnblockHandlers) return false;
to my onloadstart
.
<video id="video" onloadstart="if (!window.__cfRLUnblockHandlers) return false; this.volume=0.01" loop="">
Since it adds window.__cfRLUnblockHandlers
the volume that plays is super loud when people click play. As this.volume=0.01
no longer gets detected.
I have tried a few things like adding this
var __cfRLUnblockHandlers = 1 ;
or
<script>
window.__cfRLUnblockHandlers = true;
</script>
Both do not work and cloudflare still forces __cfRLUnblockHandlers
onto my onloadstart
.
At the moment I am unable to turn off RocketLoader. Is there a way to fix this without changing the cloudflare settings.