-
Notifications
You must be signed in to change notification settings - Fork 1
/
stretchsite.html
61 lines (45 loc) · 1.95 KB
/
stretchsite.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<head>
<title>StretchSite - Fix YouTube Aspect Ratio</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23141447-3', 'auto');
ga('send', 'pageview');
</script>
<script src="https://www.youtube.com/iframe_api"></script>
</head>
<body>
{{> main}}
</body>
<template name="main">
<div class='content'>
<p style="width:35%; margin:0 auto">
<b>StretchSite:</b> Play YouTube Videos in the Correct Aspect Ratio
<br>
<br>Use buttons or first slider to fix video.
<br>Use second slider and your browser's fullscreen feature to maximize the video.
</p>
<br>
<input id="videourl" placeholder="Paste YouTube link">
<br>
<div class="settings">
<button data-scale="0.75">16:9 -> 4:3</button>
<button data-scale="1.333333333">4:3 -> 16:9</button>
<input id="scale" type='range' min=-1 max=1 step=0.01 value=0>
<input id="zoom" type='range' min=-0.3 max=0.9 step=0.01 value=0>
</div>
<br>
<p class='footer'>
Please email feedback to <a href='mailto:[email protected]'>[email protected]</a>.
</p>
</div>
<!--
<div id="ad" style="position:absolute;bottom:100px;width:30%;left:35%;text-align:center;background-color:#333;border-radius:20px">
<p style="position:absolute;top:-40px;text-shadow: 2px 2px #000000;left:-10px;transform:rotate(-45deg);color:white;font-family:monospace;font-size:30px">AD</p>
<p>Save time & money when you ride by comparing<br><b>Uber</b> and <b>Lyft</b> with my new app: <a style="color:white" href="https://anyrideapp.com?ref=stretchsite">Anyride</a></p>
</div>
-->
<iframe id='thevideo' src="" frameborder="0" allowfullscreen></iframe>
</template>