Open yannickh2 opened 1 year ago
Is this an error from something like VSCode? It should work, I just verified locally.
The switch
example has buttons for youtube and oceans, which seems to be working for me.
hm I build with svelte so maybe it is an error from their side?
npm run build
kit-template-default@0.0.1 build vite build
vite v3.1.0 building for production...
✓ 8 modules transformed.
[vite-plugin-svelte]
/Users/.../src/routes/planksexplanation/+page.svelte:13:29 Expected }
error during build: ParseError: Expected } at error (file:///Users/yannick...node_modules/svelte/compiler.mjs:17746:19)
Hello,
I am getting an unexpected token error in your example. If I remove ":" and change it to "}" the app compiles but video will not load.
I tried all of the example files and switch loads the first video, but not any youtube videos.
Best, Yannick