Updated to use the version 3 of the api, replaced deprecated getVideoBytesLoaded() getVideoBytesTotal() with getVideoLoadedFraction().
Merge pull request #5 from ralcus/master

Updated to use version 3 of the api, replaced a couple of deprecated functions