Use videojs Player API functions to resolve#6

Hi,

This stops accessing member variables that have been renamed by minifying

It fixes #6 . A test is here http://plnkr.co/l4gWgD

Cheers