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.
This commit is contained in:
Chad Phillips 2018-07-26 14:06:30 -05:00
parent d5af929660
commit 5038ca7613
1 changed files with 0 additions and 1 deletions

View File

@ -246,7 +246,6 @@
if (iOS) {
self.options.useVideo.setAttribute("playsinline", true);
self.options.useVideo.setAttribute("controls", true);
}
}