added check for media player is null when doing final emit for time index.
added check for media player is null when doing final emit for time index.

markhatchell/nativescript-videoplayer,bradmartin/nativescript-videoplayer