Skip to content

Commit

Permalink
Mute Sidebar and Fullscreen <video> elements causing audio feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
brainslog committed Apr 10, 2015
1 parent 7c34692 commit a0835e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/modules/room.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h4 style="margin: 6px 0 0 5px;"><span style="color:#555;">Incoming</span><span
<img src="resources/images/male-placeholder.jpg" ng-hide="remoteVideo">
<video class="remote-video-{{activeLayout}}" ng-src="{{remoteVideo}}" style="width: {{videoConstraints.mandatory.minWidth}}px; height: {{videoConstraints.mandatory.minHeight}}px;" autoplay="autoplay" ng-show="remoteVideo"></video>
<div class="video-status" ng-show="inCall.intStatus !== 'ESTABLISHED'"> {{inCall.intStatus}} </div>
<video ng-show="activeLayout === 'FuS'" id="localVideoFS" autoplay="autoplay" ng-src="{{localVideo}}" style="width: 15%; top: 45px; position: fixed; z-index: 443; right: 10%; transform: scaleX(-1);"></video>
<video ng-show="activeLayout === 'FuS'" id="localVideoFS" autoplay="autoplay" ng-src="{{localVideo}}" style="width: 15%; top: 45px; position: fixed; z-index: 443; right: 10%; transform: scaleX(-1);" muted="true"></video>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/modules/templates/oly-sidebar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul class="nav nav-sidebar sidemenu">
<li ng-show="activeLayout === 'FuW'">
<a href="" ng-click="setActiveLayout('SbS')"><video ng-show="activeLayout === 'FuW'" id="localVideoThumb" autoplay="autoplay" ng-src="{{localVideo}}" style="width: 100%; transform: scaleX(-1);"></video><small>YOU</small></a>
<a href="" ng-click="setActiveLayout('SbS')"><video ng-show="activeLayout === 'FuW'" id="localVideoThumb" autoplay="autoplay" ng-src="{{localVideo}}" style="width: 100%; transform: scaleX(-1);" muted="true"></video><small>YOU</small></a>
</li>

<!-- Non-popover contacts.. TODO: Check if going back to this...
Expand Down

0 comments on commit a0835e9

Please sign in to comment.