mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Add video support
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
<div>
|
||||
<h3>Overlay assets</h3>
|
||||
<p>Upload images to place on the broadcaster's overlay. Changes are visible to the broadcaster instantly.</p>
|
||||
<input id="asset-file" type="file" accept="image/*" />
|
||||
<input id="asset-file" type="file" accept="image/*,video/*" />
|
||||
<button onclick="uploadAsset()">Upload</button>
|
||||
<ul id="asset-list" class="asset-list"></ul>
|
||||
<div id="asset-controls" class="panel hidden">
|
||||
@@ -44,6 +44,16 @@
|
||||
Maintain aspect ratio
|
||||
</label>
|
||||
</div>
|
||||
<div class="control-grid">
|
||||
<label>
|
||||
Animation speed
|
||||
<input id="asset-speed" type="number" min="0.1" step="0.1" value="1" />
|
||||
</label>
|
||||
<label class="checkbox-inline">
|
||||
<input id="asset-muted" type="checkbox" />
|
||||
Muted (videos)
|
||||
</label>
|
||||
</div>
|
||||
<div class="control-actions">
|
||||
<button type="button" onclick="nudgeRotation(-5)" class="secondary">Rotate left</button>
|
||||
<button type="button" onclick="nudgeRotation(5)" class="secondary">Rotate right</button>
|
||||
|
||||
Reference in New Issue
Block a user