Follow

So, in case people are wondering if can actually federate with other fedi software such as Mastodon, the answer is yes.

I've included a demo video below. Let me give you some context:

- I'm using an account on mastodon.social (to show you that it works with a current release of Mastodon)
- I'm using development version of Funkwhale runing on my local computer, hence the ngrok.io URL.

This is basic, but it's to show you we're no t lying when we're talking about federation with other fedi software.

Follows will work as well, I'll share a video as soon as it's ready.

Some updates on federation:

The code powering the demo in the previous toot has been merged in the develop branch and deployed on open.audio.

This means that any public track published on open.audio can be searched from Mastodon and played via a single click.

I'm still looking for a way to have Mastodon embed the track directly via its audio player, but I'm going to call it a day ;)

Show thread

Also, special thanks to @Thib, who got me the necessary info to start working on this!

Show thread

@Sylvhem yeah me too!

My only regret is I had to mess with my schedule to hack this in a rush, instead of taking more time to polish it, but letting people spread lies about what we intend (or do not intend) to support without any reaction wasn't a good idea.

@eliotberriot That's OK. You can still take your time to polish it now :).

@eliotberriot But it looks like Mastodon cant embed the song directly? Is that being worked on?

@felix yes, please keep in mind it's still a poc, done on a development version, to showcase a very specific use case.

In the final release, we're aiming for:

- Subscribing to Funkwhale channels from other fedi software
- Push new tracks/uploads to followers on fedi (and not only Funkwhale)
- Have Mastodon (and other compatible fedi software) display a proper player under the track

So obviously, there's still a lot of work to do ;)

@eliotberriot Ah i should have realised that its not final yet. Very cool!

@eliotberriot
Sweet. I'm sure @felix will join me in wishing for human-readable links/directory structure, heh (and easy bulk export/download, right Felix? πŸ˜‰)

@kylebronsdon For me its more of a theoretical need, so knowing the api exists is enough. But of course, a proper, integrated exporter would be nice.

@eliotberriot

@eliotberriot can’t wait for this :blob_wait: (i actually can don’t worry)

@tixie oh, it also has been deployed on my personal pod a few minutes ago, however, it will only work with public tracks (for copypright reason).

However, maybe we could find a way to make this work for non-public tracks (so not including the audio file itself, but at least you could boost share something you're listening currently)

@eliotberriot Use OEmbed with type "video" that uses an iframe to load the player. Mastodon will not load "rich" embeds because they usually depend on JavaScript.

@Gargron thanks!

Has this behaviour changed recently? Because our current oembed player use the `rich` format, so it may be broken also

@eliotberriot No, it has been like that since the start! I have never seen a funkwhale embed so this may be true.

@Gargron How strange, this seem to be working πŸ€”

mastodon.eliotberriot.com/@eli

I'm running a fork (Florence Soc), so maybe that's the reason, but I tested it with Mastodon during the first iteration, and I rembember it worked too

@eliotberriot It's not a bug, you also have a twitter:player which we use when it's available and OEmbed is not

@Gargron oh, right, sorry about that. I'm going to check if it works with our Audio activities then :)

@Gargron (jumping in because this topic is of the highest interest to me) Is there a specification somewhere of what metadata fields a web page has to provide to get an embed to display on the Fediverse ? Is it an ActivityPub thing ? Is there any hope that Mastodon and other software implement the same rules ?

I had OpenGraph cards working in the output of my static blog generator, then it stopped working, now I think I fixed it for Mastodon but not for Pleroma, I don't even know about the others… @eliotberriot
@eliotberriot Yay! This is so exciting.

Once podcast support and artist profiles officially become a part of Funkwhale, it'll be great to follow them from other fediverse platforms.
@Eliot 😚 Incidentally for many fediverse platforms an html5 audio player in the content is just fine and oembeds need to be whitelisted one site at a time (which could be a problem in a decentralized world). Mastodon will strip out the html5 player. Just mentioning to make sure whatever you come up with will work on other platforms also.
@eliotberriot I've just installed Funkwhale and am playing with it, and it seems very capable. Great moderation tools too!
Sign in to participate in the conversation
Mastodon.eliotberriot.com

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!