提交 5038ca76 authored 作者: Chad Phillips's avatar Chad Phillips

FS-11282: Remove iOS 'controls' hack, not needed

iOS requires a 'playsinline' attribute to be added to video tags, however a
'controls' attribute was erroneously added, and is unneeded.

See https://github.com/webrtc/samples/issues/929#issuecomment-330816567 and
following comments for confirmation.

Removing this attribute reduces UI noise and 'click contention' on video
elements.
上级 d5af9296
......@@ -246,7 +246,6 @@
if (iOS) {
self.options.useVideo.setAttribute("playsinline", true);
self.options.useVideo.setAttribute("controls", true);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论