File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ <script lang =" ts" >
2+ import GeneralObserver from ' ./general-observer.svelte'
3+ export let soundcloudLink: string = ' '
4+ export let width: string = ' 100%'
5+ export let showVisual: boolean = true
6+ export let height: string = ' 300'
7+ </script >
8+
9+ <GeneralObserver {height } {width }>
10+ <iframe
11+ {width }
12+ {height }
13+ title ={` soundcloud-${soundcloudLink } ` }
14+ scrolling =" false"
15+ frameborder =" 0"
16+ allow =" autoplay"
17+ src ="https://w.soundcloud.com/player/?url= {soundcloudLink }&visual= {showVisual }"
18+ />
19+ </GeneralObserver >
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ export { default as Spotify } from './components/spotify.svelte'
77export { default as Tweet } from './components/tweet.svelte'
88export { default as Vimeo } from './components/vimeo.svelte'
99export { default as YouTube } from './components/you-tube.svelte'
10+ export { default as SoundCloud } from "./components/soundcloud.svelte"
You can’t perform that action at this time.
0 commit comments