From 9775bb755af195e6f7e8bacfed436fcefb135354 Mon Sep 17 00:00:00 2001 From: Jan Stevens Date: Sun, 17 Jul 2022 15:32:14 +0200 Subject: [PATCH] feat: allow auto play on mixcloud player (#1467) * feat: allow auto play on mixcloud player Allow auto playing on mixcloud player, bringing it in line with soundcloud * fix: update matching test --- src/players/Mixcloud.js | 1 + test/players/Mixcloud.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/players/Mixcloud.js b/src/players/Mixcloud.js index 64e946d9..07730fb1 100644 --- a/src/players/Mixcloud.js +++ b/src/players/Mixcloud.js @@ -100,6 +100,7 @@ export default class Mixcloud extends Component { style={style} src={`https://www.mixcloud.com/widget/iframe/?${query}`} frameBorder='0' + allow='autoplay' /> ) } diff --git a/test/players/Mixcloud.js b/test/players/Mixcloud.js index 13a6c247..fcc1dcf0 100644 --- a/test/players/Mixcloud.js +++ b/test/players/Mixcloud.js @@ -71,6 +71,7 @@ test('render()', t => { style={style} src='https://www.mixcloud.com/widget/iframe/?feed=/mixcloud/meet-the-curators/' frameBorder='0' + allow='autoplay' /> )) })