For accessibility purposes "an embedded video from youtube" isn't cutting it anymore. I've looked into ways that I could either do the following:
- Cache the title from the youtube oEmbed API so on each render (when CDN doesn't have it cached) I get a cached oembed response rather than having to call the API each time.
- Is there a way to get the associated title of the media? for example `media/40981` has a page name / title of "Hello world" however I'm unsure how to access it from the custom provider I've created (extends ProviderPluginBase)
Proposed resolution
Document how I can retrieve the medias title from ProviderPluginBase.
Provide a method of caching the oEmbed response (relying on Youtubes / any third party oEmbed) endpoint to always be working scares me.