提交 4d32ca98 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-10420: [verto.js] Verto on Safari -- some more tweaks

上级 74f244e8
......@@ -127,7 +127,7 @@ var updateVideoSize = function(ms) {
var w = videoElem.width();
var h = videoElem.height();
var new_w, new_h;
var aspect = 1920 / 1080;
var aspect = w / h;
var videoContainer = jQuery('div.video-wrapper');
if (w > h) {
new_w = videoContainer.width();
......@@ -264,10 +264,17 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
label: 'Screen'
}];
data.audioDevices = [{
id: 'none',
label: 'No Microphone'
id: 'any',
label: 'Default Microphone'
},
{
id: 'none',
label: 'No Microphone'
}];
data.speakerDevices = [];
data.speakerDevices = [{
id: 'any',
label: 'Default Speaker'
}];
if(!storage.data.selectedShare) {
storage.data.selectedShare = data.shareDevices[0]['id'];
......
......@@ -442,7 +442,7 @@ function real_size() {
var new_w;
var new_h;
var aspect = 1920 / 1080; /*temasys doesn't provide video width hack aspect to wide screen*/
var aspect = w / h;
if (w > h) {
new_w = window.innerWidth;
......
......@@ -147,7 +147,7 @@ function real_size() {
var new_w;
var new_h;
var aspect = 1920 / 1080; /*temasys doesn't provide video width hack aspect to wide screen*/
var aspect = w / h;
if (w > h) {
new_w = window.innerWidth;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论