Commit 76589f76 authored by Gar Bergstedt's avatar Gar Bergstedt

add CSS style to media control panel to make it black

parent db24a003
......@@ -4,6 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Text track demo</title>
<style>
video::-webkit-media-controls-panel {
background-color:#000;
}
</style>
<script>
function print(str) {
// Use createTextNode so we don't need to do escaping
......@@ -158,7 +163,7 @@ function setupHandlers() {
<body>
<p>
<video id="exampleVideo" controls="controls" height="240" onloadstart="setupHandlers();">
<video id="exampleVideo" controls="controls" width="640" height="480" onloadstart="setupHandlers();">
<source type="video/ogg" src="test.ogv">
<source type="video/x-matroska" src="test.mkv">
<track src="subtitles.vtt" kind="subtitles" srclang="en" label="English" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment