Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
43de3e14
提交
43de3e14
authored
3月 05, 2015
作者:
Anthony Minessale
提交者:
Michael Jerris
5月 28, 2015
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-7509: try to make full screen mode universal
上级
43eb3236
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
16 行增加
和
6 行删除
+16
-6
index.html
html5/verto/video_demo/index.html
+3
-3
verto.js
html5/verto/video_demo/verto.js
+13
-3
没有找到文件。
html5/verto/video_demo/index.html
浏览文件 @
43de3e14
...
...
@@ -94,11 +94,11 @@
<div
id=
"fs"
style=
"width:100%;height:100%"
>
<div
id=
"fs"
x
style=
"width:100%;height:100%"
>
<div
id=
"rows"
style=
"background-color:#f9f9f9"
>
<span
id=
usrinner
style=
"margin:25px"
>
<span
id=
usrctl
>
User Controls
</span>
<span
id=
usrctl
>
<b>
User Controls
</b>
</span>
<div
id=
usr2
>
<button
data-inline=
"true"
id=
"hold"
>
HOLD
</button>
...
...
@@ -120,7 +120,7 @@
</span>
<br><br>
<div
id=
"conf"
style=
"width:100%;height:100%"
>
<div
id=
"conf"
x
style=
"width:100%;height:100%"
>
<div
style=
"color:black;font-family: verdana"
align=
"center"
id=
"conf_count"
></div><br>
<table
width=
"1000"
cellspacing=
"0"
cellpadding=
"0"
border=
"0"
align=
"center"
id=
"conf_list"
class=
"jsDataTable"
>
</table>
...
...
html5/verto/video_demo/verto.js
浏览文件 @
43de3e14
...
...
@@ -519,18 +519,30 @@ $("#vmutebtn").click(function() {
var
is_full
=
false
;
var
usrto
;
var
rs
;
function
noop
()
{
return
;
}
function
on_full
(
which
)
{
is_full
=
which
;
if
(
is_full
)
{
clearTimeout
(
rs
);
$
(
"#usr2"
).
hide
();
rs
=
setTimeout
(
function
()
{
$
(
"#webcam"
).
width
(
$
(
window
).
width
());
$
(
"#webcam"
).
height
(
$
(
window
).
height
());
},
1500
);
$
(
"#rows"
).
css
(
"position"
,
"absolute"
).
css
(
"z-index"
,
"2"
);
$
(
"#fullbtn"
).
text
(
"Exit Full Screen"
);
}
else
{
$
(
"#rows"
).
css
(
"position"
,
"static"
).
css
(
"z-index"
,
"2"
);
$
(
"#fullbtn"
).
text
(
"Enter Full Screen"
);
clearTimeout
(
usrto
);
clearTimeout
(
usrto
);
clearTimeout
(
rs
);
rs
=
setTimeout
(
function
()
{
$
(
"#webcam"
).
width
(
"100%"
);
$
(
"#webcam"
).
height
(
"100%"
);
},
1500
);
}
}
...
...
@@ -1226,12 +1238,10 @@ $(document).ready(function() {
$
(
"#usr2"
).
hide
();
$
(
"#usrctl"
).
mouseover
(
function
()
{
$
(
"#mod2"
).
hide
();
$
(
"#usr2"
).
show
();
});
$
(
"#usr2"
).
mouseover
(
function
()
{
$
(
"#mod2"
).
hide
();
clearTimeout
(
usrto
);
});
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论