diff --git a/.changeset/two-islands-mix.md b/.changeset/two-islands-mix.md new file mode 100644 index 00000000..abba93ee --- /dev/null +++ b/.changeset/two-islands-mix.md @@ -0,0 +1,7 @@ +--- +'@astro-community/astro-embed-integration': minor +'@astro-community/astro-embed-soundcloud': minor +'astro-embed': minor +--- + +Adds SoundCloud astro-embed component diff --git a/demo/package.json b/demo/package.json index 56f7f410..590ae4b7 100644 --- a/demo/package.json +++ b/demo/package.json @@ -14,6 +14,8 @@ "@astro-community/astro-embed-gist": "workspace:*", "@astro-community/astro-embed-link-preview": "workspace:*", "@astro-community/astro-embed-mastodon": "workspace:*", + "@astro-community/astro-embed-soundcloud": "workspace:*", + "@astro-community/astro-embed-twitter": "workspace:*", "@astro-community/astro-embed-vimeo": "workspace:*", "@astro-community/astro-embed-youtube": "workspace:*", "@astrojs/mdx": "^5.0.4", diff --git a/demo/src/pages/index.astro b/demo/src/pages/index.astro index 4535ee34..eb8eaa0d 100644 --- a/demo/src/pages/index.astro +++ b/demo/src/pages/index.astro @@ -36,6 +36,11 @@ import Base from '../layouts/Base.astro';
<Gist/> component examples
<SoundCloud/> component examples
+
+ <SoundCloud
+ id="https://soundcloud.com/rick-astley-official/never-gonna-give-you-up"
+ />
+
+ <SoundCloud
+ id="https://soundcloud.com/rick-astley-official/sets/the-greatest-hits-44"
+ playLabel="Play the greatest hits!" params="auto_play=false&start_track=1"
+ height="450px" embedType="visual" />
+
+ <SoundCloud id="https://soundcloud.com/rick-astley-official"
+ height="450px" embedType="visual" posterQuality="max" />
+
+ <SoundCloud
+ id="https://soundcloud.com/rick-astley-official/never-gonna-give-you-up-2022"
+ playLabel="Get Rick Rolled!"
+ poster="https://picsum.photos/id/158/1280/853" />
+