From 5038ca7613e71d84a706a6a5d8c8359d272778e4 Mon Sep 17 00:00:00 2001 From: Chad Phillips Date: Thu, 26 Jul 2018 14:06:30 -0500 Subject: [PATCH] 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. --- html5/verto/js/src/jquery.FSRTC.js | 1 - 1 file changed, 1 deletion(-) 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); } }