| | #1 |
| Active Warrior Join Date: 2016
Posts: 54
Thanks: 2
Thanked 5 Times in 5 Posts
|
Hello everyone, I'm learning to code in HTML, trying to make an HTML page in which different videos will be embedded. I want to know how to embed the videos from YouTube, DailyMotion and other video websites? There is a video tag in HTML but I guess it is for those cases in which your video is not on the net. Please clear my confusion. |
| | |
| |
| | #2 |
| Active Warrior Join Date: 2016
Posts: 63
Thanks: 0
Thanked 2 Times in 2 Posts
|
There is embed codes in youtube, vimeo. <iframe width="560" height="315" src="https://www.youtube.com/embed/IpbDHxCV29A" frameborder="0" allowfullscreen></iframe> |
| |
| | #3 |
| Active Warrior Join Date: 2015
Posts: 67
Thanks: 3
Thanked 14 Times in 14 Posts
|
you go to youtube or DailyMotion or other website then you will see a button named embed. if you click the button then you got a code. copy and paste your html. if the video is not available in internet then it does not show. you see a black color player and see "Delete this video" or any other speach |
| |
| | #4 |
| Active Warrior Join Date: 2016
Posts: 54
Thanks: 2
Thanked 5 Times in 5 Posts
|
Thanks, one more thing... Can we use <video> tag to embed videos of YouTube? In other words, I want to know the uses of video tag of HTML.
|
| |
| | #5 | |
| Advanced Warrior Join Date: 2012
Posts: 600
Thanks: 27
Thanked 104 Times in 90 Posts
|
Code: <video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video> | |
|
If you don't look at this => Really Funny Shirts <= you missed something in life
| ||
| |
| The Following User Says Thank You to PBScott For This Useful Post: |
| | #6 |
| Active Warrior Join Date: 2016
Posts: 54
Thanks: 2
Thanked 5 Times in 5 Posts
|
Thanks a lot guys, this helped me a lot. I will use iFrame whenever I want to embed videos from online sources like Youtube or Dailymotion. I will use <video> tag for embedding videos which are there in my system.
|
| | |
| |
| | #7 |
| HyperActive Warrior Join Date: 2016
Posts: 330
Thanks: 0
Thanked 77 Times in 71 Posts
|
Go to Youtube. Play the video you want. Click on Share then click on Embed. Just copy and paste the code to your website and publish it.
|
| |
| | #8 |
| Active Warrior Join Date: 2016
Posts: 54
Thanks: 2
Thanked 5 Times in 5 Posts
| |
| | |
| |
| | #9 |
| Active Warrior Join Date: 2016
Posts: 36
Thanks: 3
Thanked 5 Times in 5 Posts
|
Using iframe to embeded video player
|
| | |
| |
|
| Bookmarks |
| Tags |
| embed, html, page, video, website |
| |