blob: f5c65100a077be40dec9829bfdce22adf323a5af (
plain)
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
|
<script type="text/javascript" src="<?=h($assets)?>js/player.js"></script>
<div class="dashContainer" style="min-height: 100px" >
<div id="stream-player"></div>
</div>
<!--
TODO: do this properly
-->
<script type="text/javascript">
(function(){
new VOCPlayer.default({
parentId: "#stream-player",
vocStream: "<?=h($room->getStream())?>",
poster: "<?=h($stream->getPoster())?>",
});
}());
</script>
<style type="text/css">
#stream-player > [data-player] {
padding-bottom: 56.25%;
height: auto !important;
}
#stream-player > .fullscreen {
padding-bottom: 0;
}
body.room .player-wrap.tab-content {
padding: 0;
}
</style>
|