#1033 - Fix YouTube sync when loading a different video (on the example page)

This PR also addresses calling "prepareYouTube()" function before the iframe element is ready.