Youtube player Class written in AS3