[wp-trac] [WordPress Trac] #45033: Add TIDAL to oEmbed whitelist
WordPress Trac
noreply at wordpress.org
Wed Oct 3 08:20:13 UTC 2018
#45033: Add TIDAL to oEmbed whitelist
-------------------------+-----------------------------
Reporter: tidal | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version:
Severity: critical | Keywords: needs-patch
Focuses: |
-------------------------+-----------------------------
At TIDAL we have recently finished our new modern embed player. Compared
to the old embed this one is free from Flash, login requirements and has a
new fresh design. It's made lean and responsive and optimised to load
fast. We've also set up an oEmbed API for it. We would like to get this
new embed player whitelisted in WordPress.
I've read through the documentation on whitelisting providers available
here: https://make.wordpress.org/core/handbook/contribute/design-decisions
/#whitelisting-oembed-providers
TIDAL started back in 2015 and is today one of the biggest music streaming
providers, and one of few with music videos and high fidelity sound. So
I'd say we meed the criteria for being a well-established, popular,
trusted and mainstream service. We implement the oEmbed specification and
use the rich and video oEmbed types for our embeds.
As for the security concern it is important for us at TIDAL as well. In
our oEmbed API response we only pass an iframe in the HTML field which
load a direct embed url. To further touch on the matter we also care for
not leaving black holes on the web which can be vectors for malwares or
unpleasant user experiences. An example is that our previous embeds are
migrated to this new TIDAL embed player.
I'll go through the "things to be considered" list of questions;
**Is the service is popular enough for core developers to have heard of it
before? Is it "mainstream?"**
Probably :)
**If similar services are already supported, how does this service compare
in terms of size, features, and backing?**
Spotify is already supported, in terms of size they have the same
restrictions on sizes in their oEmbed API as we do (maxwith/maxheight for
rich/video types). For features: TIDAL, apart from Spotify, also serves
video embeds. This can be an on demand video or a live stream.
**Does this service have a large following on Twitter, Facebook, or other
social media? Is its Twitter account verified?**
* Twitter: >242 000 (Twitter account is verified)|
https://twitter.com/TIDAL
* Facebook: >972 000 | https://nb-no.facebook.com/TIDAL/
* Instagram: >413 000 | https://www.instagram.com/tidal/
**Is its oEmbed endpoint clearly established and properly documented?**
The oEmbed endpoint is available at https://oembed.tidal.com and as per
the oEmbed documentation it takes an URL as required parameter. As for our
case it would be one of the links you get when clicking share in the
applications, for example https://tidal.com/track/74695970. (
https://oembed.tidal.com/?url=https://tidal.com/track/74695970 ) There is
not documentation on our oEmbed API endpoint separately since the main
usage is intended to be via the oEmbed discovery procedure and seamless to
the normal user.
**Does the oEmbed endpoint work with WordPress' oEmbed auto-discovery?**
Yes. Our browser pages have the oEmbed discovery <link> tag. Example:
https://tidal.com/browse/track/74695970 which has
{{{
<link rel="alternate" type="application/json+oembed"
href="http://oembed.tidal.com/?url=https://tidal.com/track/74695970" />
}}}
in the source code.
**Does the service make an effort to build relationships with developers,
such as through robust APIs?**
For APIs to be consumed from the outside we stive to create robust APIs.
For example the oEmbed API is made in golang and runs on AWS Lambda to
scale easily.
**How old is the service?**
TIDAL, launched in March 2015.
**Does it have a well-established Wikipedia article? (Seriously.)**
We seriously do. https://en.wikipedia.org/wiki/Tidal_(service)
**Has anyone written a WordPress plugin that leverages the service in some
way, whether adding it as an oEmbed provider, creating a shortcode, or
leveraging other APIs of the service? Do these plugins have any noticeable
adoption or traction that would indicate usage and demand?**
Bjørn Johansen and Paul Schreiber has written an "Embed Tidal" plugin.
This created an embed from a TIDAL link. It creates embeds for the old
TIDAL embed though, the one with Flash that is now replaced on our end.
And does not use the oEmbed API that came with the new embed we recently
launched.
Link: https://wordpress.org/plugins/embed-tidal/
**Is the provider frequently proposed?**
No idea.
\\
I hope we can get it done soon. Let me know if there is anything I can do
to help. :)
\\
Kind regards, \\
Jeremy Karlsson\\
TIDAL
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45033>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list