@meetalva/music-player
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -11,12 +11,10 @@ "use strict"; | ||
const url = `https://open.spotify.com/embed/${parts[parts.length - 2]}/${parts[parts.length - 1]}`; | ||
return (React.createElement(React.Fragment, null, | ||
React.createElement("iframe", { src: url, frameBorder: "0", allowTransparency: true, allow: "encrypted-media", style: { | ||
width: props.width, | ||
height: props.height, | ||
overflow: 'hidden', | ||
background: 'transparent', | ||
display: 'block' | ||
} }), | ||
url)); | ||
return (React.createElement("iframe", { src: url, frameBorder: "0", allowTransparency: true, allow: "encrypted-media", style: { | ||
width: props.width, | ||
height: props.height, | ||
overflow: 'hidden', | ||
background: 'transparent', | ||
display: 'block' | ||
} })); | ||
}; | ||
//# sourceMappingURL=spotify.js.map |
{ | ||
"name": "@meetalva/music-player", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Embed Apple Music or Spotify player to show album and song snippets", | ||
@@ -5,0 +5,0 @@ "alva": { |
Sorry, the diff of this file is not supported yet
6455
73