Skip to content

Commit

Permalink
feat: allow auto play on mixcloud player (#1467)
Browse files Browse the repository at this point in the history
* feat: allow auto play on mixcloud player

Allow auto playing on mixcloud player, bringing it in line with soundcloud

* fix: update matching test
  • Loading branch information
JanStevens authored Jul 17, 2022
1 parent 9abdb16 commit 9775bb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/players/Mixcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export default class Mixcloud extends Component {
style={style}
src={`https://www.mixcloud.com/widget/iframe/?${query}`}
frameBorder='0'
allow='autoplay'
/>
)
}
Expand Down
1 change: 1 addition & 0 deletions test/players/Mixcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
/>
))
})

0 comments on commit 9775bb7

Please sign in to comment.