New answers tagged embed
Use wp_oembed_get( $your_YouTube_url ) instead. Make sure you echo it in your template file. So something like this. <?php $your_YouTube_url = 'http://youtube.com/JaNH56Vpg-A'; echo wp_oembed_get( $your_YouTube_url ); ?>
Having &controls=0 instead of ?controls=0solved the issue for me.
Have you tried switching off all your plugins and changing the theme to see if anything might be causing a conflict of some sort? If it works, then start by changing your theme back, refreshing the page and seeing that works. Introduce the plugins one by one and refresh the page to see if any of those might be the culprit?
Attachment represents a file on your server that you may include its url in your content. All attachments are supposed to be in the media library. It is easy to see that by this definition your idea doesn't fit the wordpress attachment model (images that are off server are not attachments). Your idea has merit but since it doesn't fit the wordpress model ...
Top 50 recent answers are included