From cb84fb27662552663e62b2d06f1370c48c9c216c Mon Sep 17 00:00:00 2001 From: Christian Ebert Date: Tue, 7 Oct 2014 17:59:21 +0100 Subject: [PATCH] ipad: do not set video type attribute Forcing it to video/mp4 does not make sense with HLS or audio. As this was never needed on iOS, we just omit the type attribute instead of implementing some unreliable detection mechanism based on filename suffix. --- js-plugins/ipad/flowplayer.ipad.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js-plugins/ipad/flowplayer.ipad.js b/js-plugins/ipad/flowplayer.ipad.js index 921841a..f820880 100644 --- a/js-plugins/ipad/flowplayer.ipad.js +++ b/js-plugins/ipad/flowplayer.ipad.js @@ -925,7 +925,6 @@ $f.addPlugin("ipad", function(options) { api.style.cursor = 'pointer'; api.style.webkitUserDrag = 'none'; - api.type="video/mp4"; // if ( hasBuiltinControls ) // api.controls="controls";