New OG tags
4www opened this issue · 5 comments
so when a user share a track
url:
- the media is the
youtube
video - the description is the track's
title + body
So then it is just a wrapper around the media (here youtube), with your description.
And when the media is shared, it can be listened directly, not in the context of the radio. Just that track that you're sharing right now. If the person likes the media, excerpt of the radio, they will click the radio4000 track link that was shared, and tune in.
In any case, nobody listens to playlists, or radios, in feeds that pull in content from og tags (twitter, facebook, chat...).
Sounds good. Only challenge I see is how we can get the YouTube embed/preview when we share the track URL?
Also, what happened to our own oembed endpoint?
maybe we can use that, https://www.npmjs.com/package/ember-cli-meta-tags
and build the og tag from the track info
we're using https://github.com/adopted-ember-addons/ember-page-title
seems they can work together
Edit: not sure it is a priority though, just nice to have, as I think it makes sense when you share a track.
it's not immediately clear but ember-cli-head is actually a dependency of ember-page-title, so we already have it - and can use it :]
Example:
Also, these meta tags enable the r4 player embed on twitter https://zesty-cold.glitch.me/3.html
Perfect!
With this we can try to make:
- channel route, embed channel r4-player
- track route, YouTube track embed