/
embed.html
35 lines (29 loc) · 1.15 KB
/
embed.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<h1>IFrame test</h1>
<iframe width="420" height="315" src="" frameborder="0" allowfullscreen></iframe>
<!--
<h1>pls.watch</h1>
<p>Video and Audio require click-to-play. Images/GIFs are safe to autoplay.</p>
<iframe width="420" height="315" src="/#v=T0rs3R4E1Sk&t=23;30&v=Qq-I4orlEhE" frameborder="0" allowfullscreen></iframe>
<iframe width="420" height="315" src="/#s=sacredbones/pharmakon-body-betrays-itself" frameborder="0" allowfullscreen></iframe>
<iframe width="420" height="315" src="/#i=cJjBEQP.jpg&t=3s&i=vo9DPpp.gif&t=3s" frameborder="0" allowfullscreen></iframe>
<iframe width="420" height="315" src="/#i=50yPd6G" frameborder="0" allowfullscreen></iframe>
-->
<script src="https://cdn.jsdelivr.net/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script>
'use strict';
var loadIFrame = function() {
var $iframe = $('iframe');
$iframe.attr('src', '../'+window.location.hash);
};
$(window).bind('hashchange', loadIFrame);
loadIFrame();
</script>
</body>
</html>
<!-- vim:set ts=2 sw=2 et: -->