From 6a0415d17c561f46162284d6d7cc6bc588a6403b Mon Sep 17 00:00:00 2001 From: Phil Crump Date: Tue, 23 Jan 2018 21:07:00 +0000 Subject: [PATCH 1/2] Port Firefox flash changes from clappr --- src/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index e9d473c..23c386e 100644 --- a/src/main.js +++ b/src/main.js @@ -14,6 +14,7 @@ export default class RTMP extends Flash { get attributes() { return { 'data-rtmp': '', + 'data': this.swfPath, 'type': 'application/x-shockwave-flash', 'width': '100%', 'height': '100%' @@ -191,8 +192,6 @@ export default class RTMP extends Flash { if (Browser.isLegacyIE) { this.$el.attr('classid', IE_CLASSID) } - } else if (Browser.isFirefox) { - this._setupFirefox() } this.el.id = this.cid var style = Styler.getStyleFor(flashStyle) From bed86313a9036116a292651c71883f9a19a20922 Mon Sep 17 00:00:00 2001 From: Phil Crump Date: Tue, 23 Jan 2018 21:10:23 +0000 Subject: [PATCH 2/2] Port Firefox flash changes from clappr --- public/flash.html | 1 + 1 file changed, 1 insertion(+) diff --git a/public/flash.html b/public/flash.html index fc0370e..f1e245c 100644 --- a/public/flash.html +++ b/public/flash.html @@ -23,6 +23,7 @@ allowfullscreen="false" bgcolor="#000000" FlashVars="playbackId=<%= playbackId %>&scaling=<%= scaling %>&bufferTime=<%= bufferTime %>&playbackType=<%= playbackType %>&startLevel=<%= startLevel %>&useAppInstance=<%= useAppInstance %>&proxyType=<%= proxyType %>&autoSwitch=<%= autoSwitch %>&switchRules=<%= switchRules %>" + data="<%= swfPath %>" src="<%= swfPath %>" width="100%" height="100%">