From: Chad Phillips Date: Thu, 26 Jul 2018 19:06:30 +0000 (-0500) Subject: FS-11282: Remove iOS 'controls' hack, not needed X-Git-Tag: v1.8.2~1^2~63^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5038ca7613e71d84a706a6a5d8c8359d272778e4;p=thirdparty%2Ffreeswitch.git 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. --- diff --git a/html5/verto/js/src/jquery.FSRTC.js b/html5/verto/js/src/jquery.FSRTC.js index c2ea803d0b..9606c4e638 100644 --- a/html5/verto/js/src/jquery.FSRTC.js +++ b/html5/verto/js/src/jquery.FSRTC.js @@ -246,7 +246,6 @@ if (iOS) { self.options.useVideo.setAttribute("playsinline", true); - self.options.useVideo.setAttribute("controls", true); } }