diff --git a/src/hola_player.js b/src/hola_player.js index b5b3ea6..2152105 100644 --- a/src/hola_player.js +++ b/src/hola_player.js @@ -245,6 +245,8 @@ Player.prototype.init_element = function(element){ if (!element.id) element.id = util.unique_id('hola_player'); element.setAttribute('playsinline', ''); + // disable forced native controls in Facebook Instant Articles + element.setAttribute('data-fb-disable-controls', ''); element.hola_player = this; return element; };