Media Player & Song Library

I’ve been tinkering with this Media Player & Song Library for a while. It utilizes audio player embeds with autoplay enabled to create playlists. I have to share it now or else I’ll keep tinkering forever. Enjoy!

(This uses max horizontal space, so it’s best to open and use.)

It’s not perfect. I’d love to know if someone has a better approach for the up and down arrows in the “playlist” table. Gathering and inputing links is cumbersome compared to using iTunes or Spotify. But I’ve found after using this doc, it’s nice to have a repository of free music from different sites that can also play the links. Thanks for checking it out!

11 Likes

Dear @Phil_Hamilton-Schmidt,

Another masterpiece :diamond_shape_with_a_dot_inside:, thanks sharing your great work, showing the potential of of Coda.
We have now the chance to upload our mood " :eye: & :musical_score: " and getting even more inspired.

Thanks sharing your great work :handshake:

Nice!

I once wanted to make a Coda piano (with a video like this) but for some reason it wouldn’t autoplay for me.

Thanks @Jean_Pierre_Traets and @Paul_Danyliuk!

I love the piano idea. I think you could pull it off! I found that youtube wouldn’t autoplay with only “?autoplay=1” at the end of the embed URL. It needs to be accompanied by any other parameter in order to work. I added “&start=0” to all videos unless the link includes its own start value. Here’s how my table ultimately outputs the youtube embeds:

Input URL:
https://youtu.be/9TYf_qrw2WQ

Final Embed Formula
Embed("https://www.youtube.com/embed/9TYf_qrw2WQ?autoplay=1&start=0", height , width, force: true)

Looking at the list of YouTube parameters, it would be really cool to use the “setVolume()” parameter to achieve dynamics in a Coda piano. I would love to see one!

This is amazing! Thank you for sharing - it’s incredible to see how far you’re pushing the product.

2 Likes

Super creative @Phil_Hamilton-Schmidt! One of the most colorful docs I’ve seen :rainbow:

2 Likes

Tried your tips, doesn’t work reliably. Sometimes it would autoplay, sometimes it wouldn’t. I guess that’s because the video is essentially the same, and YouTube has some logic within that would prevent autoplay on too many requests.

Aw man. That’s too bad!