This line of code works fine:
<iframe width="560" height="315" src="https://www.youtube.com/embed/0AWIAxqKeNY" allowfullscreen></iframe>
However, if I let the user/admin specify a YouTube link to be embedded in the webpage, it shows an empty box where the YouTube video should be. This is the code I'm using currently:
<iframe width="560" height="315" src="<?php echo $url; ?>" allowfullscreen></iframe>
For testing purposes, the $url = "https://www.youtube.com/embed/0AWIAxqKeNY" (same as the link above) and it is still not showing the video on the page.
<?php echo '<iframe ... scr="'.$url.'"' ?>?