fixing video initialisation

deferred video initalisation was broken since `var player = this;` was moved inside deferred function