Browse Source

Removed selfview video layout.

pull/120/head
Simon Eisenmann 11 years ago
parent
commit
71a8eabcce
  1. 22
      src/styles/components/_audiovideo.scss
  2. 2
      static/css/main.min.css
  3. 11
      static/js/services/videolayout.js
  4. 1
      static/partials/audiovideo.html

22
src/styles/components/_audiovideo.scss

@ -233,7 +233,7 @@ @@ -233,7 +233,7 @@
.audiovideo .overlayActions {
background: $video-overlayactions;
bottom: 0;
height: 140px;
height: 105px;
left: 0;
margin:auto 0;
opacity: 0;
@ -360,26 +360,6 @@ @@ -360,26 +360,6 @@
}
}
.renderer-selfportrait {
.miniContainer {
max-height: 100%;
width: 100%;
height: 100%;
left: 0px;
right: 0px;
bottom: 0px;
top: 0px;
.miniVideo {
width: 100%;
height: 100%;
}
}
.remoteVideos {
opacity: 0 !important;
display: none;
}
}
.renderer-classroom {
.remoteContainer {
border-left: 40px solid black;

2
static/css/main.min.css vendored

File diff suppressed because one or more lines are too long

11
static/js/services/videolayout.js

@ -172,16 +172,6 @@ define(["jquery", "underscore", "modernizr", "injectCSS"], function($, _, Modern @@ -172,16 +172,6 @@ define(["jquery", "underscore", "modernizr", "injectCSS"], function($, _, Modern
Smally.prototype.name = "smally";
// SelfPortrait inherits from OnePeople
var SelfPortrait = function(container, scope, controller) {
// Call super.
OnePeople.call(this, container, scope, controller);
}
SelfPortrait.prototype = Object.create(OnePeople.prototype);
SelfPortrait.prototype.constructor = SelfPortrait;
SelfPortrait.prototype.name = "selfportrait";
// A view with one selectable large video. The others are small.
var ConferenceKiosk = function(container, scope, controller) {
@ -311,7 +301,6 @@ define(["jquery", "underscore", "modernizr", "injectCSS"], function($, _, Modern @@ -311,7 +301,6 @@ define(["jquery", "underscore", "modernizr", "injectCSS"], function($, _, Modern
renderers[OnePeople.prototype.name] = OnePeople;
renderers[Smally.prototype.name] = Smally;
renderers[ConferenceKiosk.prototype.name] = ConferenceKiosk;
renderers[SelfPortrait.prototype.name] = SelfPortrait;
renderers[Classroom.prototype.name] = Classroom;
// Public api.

1
static/partials/audiovideo.html

@ -14,7 +14,6 @@ @@ -14,7 +14,6 @@
<div class="overlayActions">
<button class="btn btn-link" title="{{_('Standard view')}}" ng-click="setRenderer('onepeople')"><i class="fa fa-table" ></i></button>
<button class="btn btn-link" title="{{_('Kiosk view')}}" ng-click="setRenderer('conferencekiosk')"><i class="fa fa-user"></i></button>
<button class="btn btn-link" title="{{_('Self portrait')}}" ng-click="setRenderer('selfportrait')"><i class="fa fa-dot-circle-o"></i></button>
<button class="btn btn-link" title="{{_('Classroom')}}" ng-click="setRenderer('classroom')"><i class="fa fa-graduation-cap"></i></button>
</div>
</div>
Loading…
Cancel
Save