ブラウザ版 YouTube プレイヤーの表示を改善する
操作ボタン
.ypt-chrome-bottom
プログレスバー、再生、ボリューム、設定等のボタンがある部分。次のようにして動画の外に持っていける。
#info { margin-top: 40px !important; } .html5-video-player { overflow: visible; z-index: 100; } .ytp-chrome-bottom { z-index: 999; bottom: auto; top: 100%; opacity: 1 !important; background: #444; } .ytp-gradient-bottom { display: none; }
動画上に出てくる広告
画面下に持っていく。
.ytp-ad-overlay-slot { position: fixed !important; bottom: 0 !important; top: auto; }