I want the embed script as this = <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/3DKDaSd-4nY?rel=0" frameborder="0" allowfullscreen></iframe>
Not this <iframe width="560" height="315" src="https://www.youtube.com/embed/3DKDaSd-4nY" frameborder="0" allowfullscreen></iframe>
This is the code in the plugin
$types = array( 'youtube'=>array( array( 'https{0,1}:\/\/w{0,3}\.*youtube\.com\/watch\?\S*v=([A-Za-z0-9_-]+)[^< ]*', '<iframe width="'.$w.'" height="'.$h.'" src="http://www.youtube.com/embed/$1?wmode=transparent" frameborder="0" allowfullscreen></iframe>' ), array( 'https{0,1}:\/\/w{0,3}\.*youtu\.be\/([A-Za-z0-9_-]+)[^< ]*', '<iframe width="'.$w.'" height="'.$h.'" src="http://www.youtube.com/embed/$1?wmode=transparent" frameborder="0" allowfullscreen></iframe>' ) ),
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.