Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate adding embedded player in Slack previews #249

Open
mattstratton opened this issue Feb 11, 2020 · 2 comments
Open

Investigate adding embedded player in Slack previews #249

mattstratton opened this issue Feb 11, 2020 · 2 comments

Comments

@mattstratton
Copy link
Owner

I have NO idea if this is feasible/reasonable...I noticed that Soundcloud Slack previews show an embedded audio player, and thought that might be a neat feature to add to episode pages in the theme:

image

@mattstratton
Copy link
Owner Author

mattstratton commented Feb 11, 2020

Looking at how soundcloud does it; they seem to work with oembed:

<link rel="canonical" href="https://soundcloud.com/thenewstackmakers/makers-by-jenn-mary-thengvall">
<link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.soundcloud.com/thenewstackmakers/makers-by-jenn-mary-thengvall">
<link rel="alternate" type="text/xml+oembed" href="https://soundcloud.com/oembed?url=https%3A%2F%2Fsoundcloud.com%2Fthenewstackmakers%2Fmakers-by-jenn-mary-thengvall&amp;format=xml">
<link rel="alternate" type="text/json+oembed" href="https://soundcloud.com/oembed?url=https%3A%2F%2Fsoundcloud.com%2Fthenewstackmakers%2Fmakers-by-jenn-mary-thengvall&amp;format=json">
{
version: 1,
type: "rich",
provider_name: "SoundCloud",
provider_url: "https://soundcloud.com",
height: 400,
width: "100%",
title: ""Mary Thengvall - The Value of Developer Relations" by The New Stack Makers",
description: "No matter what you call this role — developer community manager, developer evangelist, developer advocate, developer relations, or, cheekily, developer avocado — it's got two things in common. It's one of the most expensive, travel-heavy roles in a tech org and it's one of the hardest to measure. That combination means metrics often make or break your job. But first, what is this role? Good question to which there are many, many answers. In this episode of The New Stack Makers, Camunda's Director of Developer Relations Mary Thengvall talked about her definition. And she should know, she wrote the book on the business case for developer relations. To her, the DevRel arena is "anyone who is responsible for enabling developer audiences and making them successful.",
thumbnail_url: "https://soundcloud.com/images/fb_placeholder.png",
html: "<iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F758362147&show_artwork=true"></iframe>",
author_name: "The New Stack Makers",
author_url: "https://soundcloud.com/thenewstackmakers"
}

(reference: https://soundcloud.com/thenewstackmakers/makers-by-jenn-mary-thengvall)

SoundCloud
No matter what you call this role — developer community manager, developer evangelist, developer advocate, developer relations, or, cheekily, developer avocado — it's got two things in common. It's on

@mattstratton
Copy link
Owner Author

So the thing is, it looks like for this to work, it would be oembed which seems to require a server to do the work. I suppose it might be possible to create some kind of fun serverless function, but this would not be part of the theme; it would be something that would take in the parameters of the episode page and turn it into the right stuff. Intriguing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant