add meta viewport

This commit is contained in:
Roy Olav Purser 2021-05-13 11:39:23 +02:00
parent e794340570
commit 9e23554678
Signed by: roypur
GPG Key ID: E14D26A036F21656
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video-js.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video-js.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@silvermine/videojs-chromecast@latest/dist/silvermine-videojs-chromecast.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@silvermine/videojs-chromecast@latest/dist/silvermine-videojs-chromecast.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/{{ videojs_version }}/video.min.js"></script>

View File

@ -1,11 +1,13 @@
body { body {
margin: 0px; margin: 0px;
} }
/*
.video-js { .video-js {
font-size: 1rem; font-size: 1rem;
} }
@media (pointer:coarse) { @media (pointer:coarse) and (orientation:portrait) {
.video-js { .video-js {
font-size: 3rem; font-size: 3rem;
} }
} }
*/