Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android > Chrome Chromecast icon over html5 video position

If there is a Chromecast around and:

If the html5 video controls are enabled, the cast buttons shows up in the control bar.

If the html5 video controls are disabled, the cast button shows up on the top left.

enter image description here

I'd like to disable the native controls, but also include my own cast button, kind of what video.js-chromecast does, but the native button still shows up.

Is there anyway to reposition the Cast icon over the html5 video? or completely hide it ?

like image 595
bentael Avatar asked Jan 26 '15 15:01

bentael


1 Answers

There is another options to disable casting button, this option actually disables the button instead of hiding it.

<video disableRemotePlayback src="...">

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/disableRemotePlayback https://developers.google.com/web/updates/2015/11/presentation-api

like image 64
Tushar Vaghela Avatar answered Sep 20 '22 18:09

Tushar Vaghela