It seems like the SPF fails at some point when you're using HTML5 + YouTube Center (not too sure why). Therefore I've added a fallback, when the api isn't called it will write the HTML5 player. I need to look more into this.