1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-11-25 10:16:06 -05:00

remove plyr.js

This commit is contained in:
2019-09-24 23:53:09 -04:00
parent 08636a7b51
commit 12ae098bef
7 changed files with 8 additions and 30 deletions

View File

@@ -14,7 +14,6 @@
<link rel="icon" type="image/png" href="https://jarv.is/favicon-16.png" sizes="16x16">
<link rel="shortcut icon" href="https://jarv.is/favicon.ico">
<link rel="dns-prefetch" href="https://stats.jarv.is">
<link rel="stylesheet" href="https://jarv.is/leo/plyr/plyr.css">
<style>
html, body {
display: table;
@@ -38,11 +37,11 @@
text-align: center;
}
p#logo {
div#logo {
margin-top: 16px;
margin-bottom: 8px;
}
p#logo svg {
div#logo svg {
height: 48px;
width: 48px;
padding: 4px;
@@ -61,16 +60,15 @@
color: #666;
}
/* Responsive embed: */
video, .plyr {
video {
width: 640px;
margin: 0 auto;
font-family: inherit;
}
/* Responsive embed: */
@media screen and (max-width: 680px) {
video, .plyr {
video {
width: 100%;
}
h1 {
@@ -84,7 +82,7 @@
<div id="container">
<h1>Facebook App on <em>"The Lab with Leo Laporte"</em></h1>
<video id="player" poster="https://jarv.is/leo/thumb.png" controls crossorigin playsinline>
<video id="player" poster="https://jarv.is/leo/thumb.png" controls crossorigin playsinline preload="none">
<!-- Video files -->
<source src="https://jarv.is/leo/leo.webm" type="video/webm">
<source src="https://jarv.is/leo/leo.mp4" type="video/mp4">
@@ -96,7 +94,7 @@
Your browser doesn't support HTML5 video. <a href="https://jarv.is/leo/leo.mp4">Click here to view the raw .mp4 video.</a>
</video>
<p id="logo">
<div id="logo">
<a href="https://jarv.is/">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 144.1">
<title>Jake Jarvis</title>
@@ -109,24 +107,11 @@
<polygon fill="#009cdf" points="19.2 110.9 38.4 99.8 38.4 77.6 19.2 88.7 19.2 110.9 19.2 110.9"/>
</svg>
</a>
</p>
</div>
<p id="copyright">Video is property of <a href="https://leolaporte.com/" target="_blank" rel="noopener noreferrer nofollow">Leo Laporte</a> and <strong>G4techTV</strong> / <strong>HOW TO Channel</strong>. &copy; 2007.</p>
</div>
<script src="https://jarv.is/leo/plyr/plyr.min.js"></script>
<script>
const player = new Plyr('#player', {
debug: false,
iconUrl: "https://jarv.is/leo/plyr/plyr.svg",
blankVideo: "https://jarv.is/leo/plyr/blank.mp4",
settings: [],
storage: { enabled: false },
autoplay: false,
captions: { active: true, language: 'en', update: false }
});
</script>
<script>
var _paq = _paq || [];
_paq.push(['setRequestMethod', 'POST']);