Download:
child 251:c34b52fa3e31
parent 249:d1fe2e6ba413
250:a3345d0a228d
Anton Shestakov <av6@dwimlabs.net>, Sun, 04 Dec 2016 01:33:05 +0800
index: don't use rivets to update src attribute of <video> elements Changing this attribute twice in a row is bad and shouldn't happen, and we're already setting it in the view (so we can call el.play() immediately afterwards).

1 файлов изменено, 2 вставок(+), 2 удалений(-) [+]
index.html file | annotate | diff | comparison | revisions
--- a/index.html Sat Dec 03 16:39:37 2016 +0800
+++ b/index.html Sun Dec 04 01:33:05 2016 +0800
@@ -205,8 +205,8 @@
<script type="text/template" id="video-block-template">
<div class="video-block">
- <video class="remote" rv-src="model:remote/stream/url" autoplay></video>
- <video class="local" rv-src="model:local/stream/url" autoplay muted></video>
+ <video class="remote" autoplay></video>
+ <video class="local" autoplay muted></video>
<div class="buttons uk-text-center">
<button type="button" class="uk-button uk-button-success autofade" data-mute-cam
rv-if="model:local/stream" rv-hide="model:local/video/muted">