Hello, I'm trying to add a div instead of iframe in mediaembed, is it possible this way?
(new Extend\Formatter)
->configure(function (Configurator $config) {
$config->MediaEmbed->add(
'tenor',
[
'host' => ['tenor.com'],
'extract' => [
"!tenor\\.com/[a-zA-Z\-](?'id'[0-9]+)!",
],
'div' => [
'width' => 640,
'height' => 480,
'data-id'='{@id}'
]
]
);
}),
Thanks for your help.