blob: 424d63a5da99fdea979272a4c33c992efef7fe42 (
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
32
33
34
35
36
37
38
39
40
41
42
43
|
<div class="embed-form">
<div class="col-xs-12">
<h3>Embedding <?=h($stream->getDisplay())?></h3>
</div>
<div class="col-sm-3 embed-form">
<div class="form-group">
<label for="size">Select size</label>
<select id="size" class="form-control">
<option value="512,288">512×288</option>
<option value="800,450">800×450</option>
<option <? if($stream->getSelection() == 'sd'): ?>selected<? endif ?> value="1024,576">1024×576</option>
<? if($stream->getSelection() == 'hd'): ?>
<option value="1280,720">1280×720</option>
<option selected value="1920,1080">1920×1080</option>
<? endif ?>
</select>
<div class="checkbox">
<label>
<input checked="checked" type="checkbox" id="autoplay"> Autoplay
</label>
</div>
</div>
</div>
<div class="col-sm-9 embed-form">
<div class="form-group">
<label for="embed-code">Embed code</label>
<input type="text" id="embed-code" class="form-control" readonly value="<?=h(trim('
<iframe src="'.h($stream->getEmbedUrl()).'" width="1024" height="576" frameborder="none" allowfullscreen="allowfullscreen" seamless="seamless" scrolling="no"></iframe>
'))?>">
</div>
<div class="form-group">
<label for="embed-url">Embed URL:</label>
<input type="text" id="embed-url" class="form-control" readonly value="<?=h($stream->getEmbedUrl())?>">
</div>
</div>
</div>
|