This repository has been archived on 2024-10-01. You can view files and clone it, but cannot push or open issues or pull requests.
badhouseplants-net-old/layouts/shortcodes/video.html

24 lines
462 B
HTML
Raw Normal View History

<div class="container">
<div id="{{ .Get 1 }}" class="{{ .Get 1 }}" align=center></div>
</div>
<script
type="text/javascript"
2023-04-18 15:40:01 +00:00
src="https://s3.badhouseplants.net/badhouseplants-js/clappr/0.5.0/clappr.js"
>
</script>
<script>
var playerElement = document.getElementById("{{ .Get 1 }}");
var player = new Clappr.Player({
source: {{ .Get 0 }},
mute: true,
height: 360,
width: 640
});
player.attachTo(playerElement);
</script>