How to embed youtube playlist in webpage or HTML
YouTube playlist embedding in webpage or HTML.
Today's blog topic is How to embed YouTube playlists in webpage or HTML. For this no need to install any plugin or any scripts or any CDN links.
You just can follow these steps. For detailed explanation, follow the code example. And also the tutorial given below.
- On a computer, go to the YouTube video or playlist you want to embed.
- Click SHARE.
- From the list of Share options, click Embed.
- From the box that appears, copy the HTML code.
- Paste the code into your website HTML.
Embedding playlist in webpage or HTML.
Code Example:
<!DOCTYPE html> <html> <head> <title> Embedding YouTube playlist example code</title> <script> </script> </head> <body> <div class="container-fluid"> <div class="row"> <h2>How to embeding-playlist</h2> <iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PL5Hx1fNnHsQ4E9CUySMW6ir46pyod85hyd" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> </div> </body> </html>
Follow the steps as shown in the tutorial:
Comments
Post a Comment