Chromeless sample
by luckylooke
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Chromeless THEOplayer</title>
<script type="text/javascript" src="//cdn.theoplayer.com/dash/theoplayer/THEOplayer.js"></script>
<style>
.theoplayer-container {
width: 500px;
height: 280px;
background: orange;
position: relative;
}
.controls {
width: 100%;
height: 50%;
position: absolute;
z-index: 2;
bottom: 0;
background: grey;
opacity: 0.7;
}
.control-bar {
width: 100%;
height: 40%;
position: relative;
background: yellow;
opacity: 0.7;
}
.subtitles-container {
height: 30%;
width: 100%;
background: grey;
}
.timeline-container {
height: 30%;
width: 100%;
background: green;
}
.playhead-position {
display: inline-block;
width: 10%;
}
.seekbar-container {
display: inline-block;
width: 70%;
background: lawngreen;
position: relative;
}
.seekbar-container .slider-seek {
width: 100%;
}
.duration {
display: inline-block;
width: 10%;
}
.buffered-block {
position: absolute;
background: darkolivegreen;
height: 10px;
}
.hidden {
display: none;
}
.theoplayer-container .theoplayer-texttracks {
display: none !important;
}
</style>
</head>
<body>
<div class="theoplayer-container">
<div class="controls">
<div class="subtitles-container"></div>
<div class="timeline-container">
<div class="playhead-position">0</div>
<div class="seekbar-container">
<input class="slider-seek" type="range" min="0" max="100" step="0.01" value="0" />
</div>
<div class="duration">0</div>
</div>
...