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

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable