3 namespace Drupal\media;
5 use Drupal\Component\Render\MarkupInterface;
6 use Drupal\Component\Render\MarkupTrait;
9 * Defines an object that wraps oEmbed markup for use in an iFrame.
11 * This object is not constructed with a known safe string as the strings come
12 * from an external site. It must not be used outside the Media module's oEmbed
16 * This object is an internal part of the oEmbed system and should only be
17 * used in \Drupal\media\Controller\OEmbedIframeController.
19 * @see \Drupal\media\Controller\OEmbedIframeController
21 class IFrameMarkup implements MarkupInterface {