PHP Kod:
$html = preg_replace('/<iframe width="(.*)" height="(.*)" src="\/\/www.youtube.com\/embed\/(.*)" frameborder="0" allowfullscreen>\<\/iframe>/', '<amp-youtube width="480" height="270" layout="responsive" data-videoid="$3"></amp-youtube>', $html);
Örnek sayfa: https://accesstr.net/konu-alt-form-ust-f...derme.html
Amp Sayfa: https://accesstr.net/amp/konu-76818.html