From 15603bc0539169bf459c5df1a96c9f42974f3fb8 Mon Sep 17 00:00:00 2001
From: Balder <balder.vietor@ddvtech.com>
Date: Mon, 29 Feb 2016 13:44:58 +0100
Subject: [PATCH] Changed Embed to enable MP4 again in FF as they've added H264
 support for Windows beyond XP. XP seems to correctly see it can't play MP4.

---
 src/embed.js | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/embed.js b/src/embed.js
index c039ef6c..d9f3b04c 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -53,12 +53,8 @@ function mistembed(streamname) {
 
     
     if (type == 'video/mp4') {
-      if (navigator.userAgent.indexOf('Firefox') > -1) {
-        //firefox claims to support MP4 but doesn't
-        return false;
-      }
-      else if ((navigator.userAgent.indexOf('MSIE') > -1) && (parseInt(navigator.userAgent.split('MSIE')[1]) <= 9)) {
-        //IE <= 9 doesn't either
+      if ((navigator.userAgent.indexOf('MSIE') > -1) && (parseInt(navigator.userAgent.split('MSIE')[1]) <= 9)) {
+        //IE <= 9 doesn't support MP4, Firefox seems to correctly see it now.
         return false;
       }
     }