From 09d89327ff5077f7611f476d82ebaac16f2f784d Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 9 Sep 2015 08:37:15 -0700 Subject: [PATCH] Revert "Work around Firefox 42 controls bug. #450" This reverts commit 38aa7fed0c9b8bee139fc8d61d3ae6c2ce23ce19. --- src/Images/ImageCommon.coffee | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Images/ImageCommon.coffee b/src/Images/ImageCommon.coffee index fc7b55767..a5adc925a 100644 --- a/src/Images/ImageCommon.coffee +++ b/src/Images/ImageCommon.coffee @@ -79,15 +79,6 @@ ImageCommon = # Add controls, but not until the mouse is moved over the video. addControls: (video) -> - # XXX https://bugzilla.mozilla.org/show_bug.cgi?id=1192302 - if /Gecko\/20100101\ \w+\/42\./.test navigator.userAgent - video.controls = true - if doc.contains video - {parentNode, nextSibling, paused} = video - $.rm video - parentNode.insertBefore video, nextSibling - video.play() unless paused - return handler = -> $.off video, 'mouseover', handler # Hacky workaround for Firefox forever-loading bug for very short videos