by @kodeazy

YouTube video wont show in iframe

Home » html » YouTube video wont show in iframe
  • iframe unable to play YouTube video using url tag src
  • My video is in below format

    <iframe width="640" height="360" src="https://www.youtube.com/watch?v=tQ0yjYUFKAE">
    </iframe>

    output:

Replaced the watch?v= part of the URL in src with embed/ as shown below

<iframe width="640" height="360" src="https://www.youtube.com/embed/tQ0yjYUFKAE">
</iframe>

output: