Fix for certain videos, one example is those provided by Vevo.
It's based on https://gist.github.com/anonymous/e40cb4a1ba3c71f16c05