Fixing issue with youtube autoplay counting a value of '0' as true