1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2024-11-23 09:23:24 +01:00

Fix container width

This commit is contained in:
Marc 2018-12-16 23:00:59 +01:00
parent 4acec4f2d9
commit 088c6d606b
2 changed files with 9 additions and 2 deletions

View file

@ -9,6 +9,7 @@
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script src="./index.js"></script> <script src="./index.js"></script>
<link href="./styles.css" rel="stylesheet" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head> </head>
<body> <body>
@ -73,7 +74,7 @@
<p class="lead">Información de la reproducción</p> <p class="lead">Información de la reproducción</p>
Formatos soportados Formatos soportados
<br> <br>
<em>aac</em>, <em>mp3</em>, <em>nsv</em><em>audio/mpeg</em> <em>aac</em>, <em>mp3</em>, <em>nsv</em>, <em>audio/mpeg</em>
</div> </div>
</div> </div>
</div> </div>
@ -123,7 +124,7 @@
player = new Clappr.Player({ player = new Clappr.Player({
source: channelToReproduce, source: channelToReproduce,
parentId: '#video-player', parentId: '#video-player',
height: '400px', height: '500px',
width: '100%', width: '100%',
autoPlay: true, autoPlay: true,
}); });
@ -175,6 +176,9 @@
document.getElementById("video-resolution").innerHTML = ""; document.getElementById("video-resolution").innerHTML = "";
} }
</script> </script>
</body> </body>
</html> </html>

3
script/public/styles.css Normal file
View file

@ -0,0 +1,3 @@
.container[data-container] {
max-width: 100% !important;
}