mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
video tag
This commit is contained in:
parent
407ef134f3
commit
f2efeb7824
@ -512,7 +512,9 @@
|
||||
<button class="window-button-full-screen">⤢</button>
|
||||
</div>
|
||||
<div id="stream-info"></div>
|
||||
<div class="stream-box-offline" id="stream-box"><img id="stream-image" src="/share/png/blank-stream.png"></div>
|
||||
<div class="stream-box-offline" id="stream-box"><img id="stream-image" src="/share/png/blank-stream.png">
|
||||
<video class="hidden" id="stream-video" autoplay playsinline muted></video>
|
||||
</div>
|
||||
<div class="keypad" id="stream-mouse-buttons" align="center">
|
||||
<div class="keypad-block">
|
||||
<div class="keypad-row">
|
||||
|
||||
@ -10,6 +10,7 @@ div(id="stream-window" class="window window-resizable" data-show-by-button="show
|
||||
|
||||
div(id="stream-box" class="stream-box-offline")
|
||||
img(id="stream-image" src=`${png_dir}/blank-stream.png`)
|
||||
video(id="stream-video" class="hidden" autoplay playsinline muted)
|
||||
|
||||
div(id="stream-mouse-buttons" class="keypad" align="center")
|
||||
div(class="keypad-block")
|
||||
|
||||
@ -56,7 +56,8 @@ div.stream-box-mouse-enabled {
|
||||
cursor: url("../../svg/stream-mouse-cursor.svg"), pointer;
|
||||
}
|
||||
|
||||
img#stream-image {
|
||||
img#stream-image,
|
||||
video#stream-video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user