supporting both native player and chromecast player