Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions conf/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Django==3.2.13
Django==3.2.14
django_bootstrap5==21.2
django-icons==21.1
django-login-required-middleware==0.8
django-otp==1.1.3
django-qr-code==2.3.0
gunicorn==20.1.0
libsass==0.21.0
libvirt-python==8.4.0
lxml==4.9.0
libvirt-python==8.5.0
lxml==4.9.1
qrcode==7.3.1
rwlock==0.0.7
websockify==0.10.0
Expand Down
2 changes: 1 addition & 1 deletion static/js/ace/ace.js
100755 → 100644

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion static/js/ace/ext-textarea.js
100755 → 100644

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion static/js/ace/worker-xml.js

Large diffs are not rendered by default.

Empty file modified static/js/spice-html5/atKeynames.js
100755 → 100644
Empty file.
Empty file modified static/js/spice-html5/bitmap.js
100755 → 100644
Empty file.
Empty file modified static/js/spice-html5/cursor.js
100755 → 100644
Empty file.
7 changes: 6 additions & 1 deletion static/js/spice-html5/display.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,7 @@ SpiceDisplayConn.prototype.process_channel_message = function(msg)
var v = document.createElement("video");
v.src = window.URL.createObjectURL(media);

v.setAttribute('muted', true);
v.setAttribute('autoplay', true);
v.setAttribute('width', m.stream_width);
v.setAttribute('height', m.stream_height);
Expand All @@ -571,7 +572,7 @@ SpiceDisplayConn.prototype.process_channel_message = function(msg)
top += this.surfaces[m.surface_id].canvas.offsetTop;
}
document.getElementById(this.parent.screen_id).appendChild(v);
v.setAttribute('style', "position: absolute; top:" + top + "px; left:" + left + "px;");
v.setAttribute('style', "pointer-events:none; position: absolute; top:" + top + "px; left:" + left + "px;");

media.addEventListener('sourceopen', handle_video_source_open, false);
media.addEventListener('sourceended', handle_video_source_ended, false);
Expand Down Expand Up @@ -1146,6 +1147,10 @@ function handle_append_video_buffer_done(e)
stream.video.currentTime = stream.video.buffered.start(stream.video.buffered.length - 1);
}

/* Modern browsers try not to auto play video. */
if (this.stream.video.paused && this.stream.video.readyState >= 2)
var promise = this.stream.video.play();

if (Utils.STREAM_DEBUG > 1)
console.log(stream.video.currentTime + ":id " + stream.id + " updateend " + Utils.dump_media_element(stream.video));
}
Expand Down
Empty file modified static/js/spice-html5/enums.js
100755 → 100644
Empty file.
Empty file modified static/js/spice-html5/filexfer.js
100755 → 100644
Empty file.
Loading