Be able to add a youtub short video to the webpage

  • Mikael Johansson
  • Jul 31 2023
  • Leona Varnum commented
    1 Aug, 2023 05:56am

    Hy there i can see your pots and i have some suggestion

    1. Find the YouTube Short Video URL: First, locate the YouTube short video you want to embed. YouTube shorts are typically short-form videos with a vertical aspect ratio and are specifically designed for mobile viewing. Copy the URL of the short video from the address bar of your web browser.

    2. Embed the Video: To embed the YouTube short video on your webpage, you can use the <iframe> HTML tag. Here's an example of how to do it:

    3. <!DOCTYPE html>

    4. <html>

    5. <head>

    6. <title>Your Webpage</title>

    7. </head>

    8. <body>

    9. <!-- Replace "YOUTUBE_SHORT_VIDEO_URL" with the actual URL of the YouTube short video -->

    10. <iframe width="360" height="640" src="YOUTUBE_SHORT_VIDEO_URL" frameborder="0" allowfullscreen></iframe>

    11. </body>

    12. </html>

    Thanks and regards

    Leona Varnum