PublicRadioInternational / embed-containers

Development for embed containers within PRI's Platform
GNU General Public License v2.0
0 stars 0 forks source link

Include oEmbed data in Video embed modal #348

Open rpeterman-gp opened 7 years ago

rpeterman-gp commented 7 years ago

Gathering of video data can be simplified using oEmbed data from the video service provider. This data can not only be used to prepopulate the Title field for the user, saving them from having manually enter it, but can also provide other useful data, such as thumbnail URL's and links to the author and provider sites. oEmbed data can also be used to share this content with PMP and other services that support oEmbed links.

Not all providers return the same amount of data and would require some handling to normalize the data for standardized usage. Also,not all providers support a jsonp response options necessary front-end implementation. Until an in-house oEmbed retrieval endpoint can be created, suggest using Noembed service to support implementation of this feature into front-end code.