That works, but this way is the quickest way for android phones.
And yea, it just changes the url on the fly,
and if the video has HD available, it gets that version.
Meaning best quality every time =)
Go to the URL in my first post.
There are several methods to do the same thing.