Issue #2831274 by slashrsm, seanB, Wim Leers, chr.fritsch, phenaproxima, naveenvalecha, marcoscano, webflo, Gábor Hojtsy, amateescu, Boobaa, iMiksu, mtodor, effulgentsia, xjm, Berdir, tim.plunkett, dawehner, tkoleary, tstoeckler, tedbow, alexpott, yoroy, catch, Bojhan, andypost, jhedstrom, jibran, aspilicious, boztek, cbr, bigbaldy, alex0412, dagmar, blueminds, ekes, Dave Reid, Sam152, bojanz, pixelmord, jonathanshaw, CTaPByK, webchick, samuel.mortenson, dbt102, dishabhadra, proweb.ua, rakesh.gectcr, rasikap, paranojik, pameeela, neardark, NormySan, Primsi, nicolas.rafaelli, romainj, royal121, vladan.me, vpeltot, woprrr, vilepickle, toni04, scheban, tduong, temkin, tim-e, mbovan, mashermike, felribeiro, giancarlosotelo, hctom, euphoric_mv, eric.duran7@gmail.com, edurenye, eelkeblok, H1ghlander, Jaesin, hkirsman, ja_ca, NickWilde, joachim, joshi.rohit100, marcingy, NerOcrO, Mixologic, jcisio, jfrederick, Lukas von Blarer, Maouna: Bring Media entity module to core as Media module
2017-05-19 12:57:59 +00:00
|
|
|
services:
|
|
|
|
plugin.manager.media.source:
|
|
|
|
class: Drupal\media\MediaSourceManager
|
|
|
|
parent: default_plugin_manager
|
Issue #2831944 by chr.fritsch, phenaproxima, alexpott, marcoscano, slashrsm, seanB, robpowell, samuel.mortenson, tstoeckler, Wim Leers, dawehner, martin107, Gábor Hojtsy, aheimlich, tedbow, mtodor, larowlan, idebr, bkosborne, ckrina: Implement media source plugin for remote video via oEmbed
2018-06-21 08:11:10 +00:00
|
|
|
media.oembed.url_resolver:
|
|
|
|
class: Drupal\media\OEmbed\UrlResolver
|
|
|
|
arguments: ['@media.oembed.provider_repository', '@media.oembed.resource_fetcher', '@http_client', '@module_handler', '@cache.default']
|
|
|
|
media.oembed.provider_repository:
|
|
|
|
class: Drupal\media\OEmbed\ProviderRepository
|
2021-08-13 08:21:49 +00:00
|
|
|
arguments: ['@http_client', '@config.factory', '@datetime.time', '@keyvalue', '@logger.factory']
|
Issue #2831944 by chr.fritsch, phenaproxima, alexpott, marcoscano, slashrsm, seanB, robpowell, samuel.mortenson, tstoeckler, Wim Leers, dawehner, martin107, Gábor Hojtsy, aheimlich, tedbow, mtodor, larowlan, idebr, bkosborne, ckrina: Implement media source plugin for remote video via oEmbed
2018-06-21 08:11:10 +00:00
|
|
|
media.oembed.resource_fetcher:
|
|
|
|
class: Drupal\media\OEmbed\ResourceFetcher
|
|
|
|
arguments: ['@http_client', '@media.oembed.provider_repository', '@cache.default']
|
|
|
|
media.oembed.iframe_url_helper:
|
|
|
|
class: Drupal\media\IFrameUrlHelper
|
|
|
|
arguments: ['@router.request_context', '@private_key']
|
2018-12-07 13:10:26 +00:00
|
|
|
media.config_subscriber:
|
|
|
|
class: Drupal\media\EventSubscriber\MediaConfigSubscriber
|
|
|
|
arguments: ['@router.builder', '@cache_tags.invalidator', '@entity_type.manager']
|
|
|
|
tags:
|
|
|
|
- { name: event_subscriber }
|