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:
parent
d5af929660
commit
5038ca7613
|
@ -246,7 +246,6 @@
|
|||
|
||||
if (iOS) {
|
||||
self.options.useVideo.setAttribute("playsinline", true);
|
||||
self.options.useVideo.setAttribute("controls", true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue