# Summary

The oEmbed module implements the oEmbed Consumer and Provider APIs to support embedding third party media in Drupal content. The module supports file entities with a streamwrapper, text fields with an input filter, and URL fields with a field formatter.

Provider data will be retrieved from the oEmbed specification. https://github.com/iamcal/oembed/pull/87

# Project URL

https://www.drupal.org/project/oembed

# Where is the code?

http://cgit.drupalcode.org/oembed/tree/?h=8.x-1.x

# Estimated completion date

Putting aside contrib dependencies that possibly aren't ready yet (File Entity and Media), oEmbed filters and field formatters would be ready around November 6.

# Dependencies

Required dependencies: Composer, oEmbed library for PHP with ~100% test coverage. Depends on Guzzle and Symfony serializer.

Optional dependencies: File Entity, Media module.

# Who's doing the port?

Benjamin Doherty, bangpound of Caxy.

# What help do they need?

* Better understanding of Drupal 8's security

# D8 roadmap

* Nothing yet.

# Background and reference information

* https://github.com/bangpound/oEmbed
* https://github.com/iamcal/oembed/pull/87

Comments

Anonymous’s picture

bangpound created an issue. See original summary.

Kristen Pol’s picture

Title: oEmbed » [oembed] oEmbed
lsolesen’s picture

What is the status here?

Tim Banks’s picture

The media embed(http://ckeditor.com/addon/embed) option in ckeditor supports media from over 1715 providers and comes packaged as part of core. We have been testing it and its seems pretty robust. Definitely worth looking at as an alternative!

MustangGB’s picture

Category: Task » Plan
ressa’s picture

Hey @Tim Banks, thanks for the tip about the Embed addon. What's the correct way of adding it to CKEditor, without losing the addon when I update Drupal 8?

EDIT: My task was to turn links pointing to a Youtube video page, with a class called link_embedly into iFramed Youtube videos. I managed to do it with the JQuery Library for Embedly. I can post the solution here if anyone is interested.

Example link: <a class="link_embedly" href="https://www.youtube.com/watch?v=Smp1a0P-6_g&amp;maxwidth=480">oil</a>

Jody Lynn’s picture

I am using https://www.drupal.org/project/ckeditor_media_embed and in order to get a link formatter like I enjoyed using in D7 oembed I created one at https://www.drupal.org/node/2842201

With that I've got the oembed features that I need.

ressa’s picture

Thanks for sharing your approach @Jody Lynn. I had a look at CKEditor Media Embed Plugin, but found the installation process too complicated, so I ended up using Video Embed Field, which was a breeze to install and configure.