Android > Chrome Chromecast Icon Over Html5 Video Position


Answer :

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


After searching the Chromium source code, I figured out how to do it:

video::-internal-media-controls-overlay-cast-button {     display: none; } 

Example: http://jsfiddle.net/f1quhd2L/8/


Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy