spee.ch/views/partials/asset.handlebars

19 lines
351 B
Handlebars
Raw Normal View History

<div class="panel">
<p> asset goes here </p>
2017-07-05 22:51:25 +02:00
<div id="asset-placeholder">
{{#if type.mp4}}
<p>It's a video!</p>
{{else}}
<p>It's not a video</p>
{{/if}}
</div>
</div>
<script src="/socket.io/socket.io.js"></script>
<script type="text/javascript">
var socket = io();
socket.emit('asset-request', 'ready for asset on 1234');
</script>