Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 28th Jan 2016, 11:12 PM   #1
Active Warrior
 
Join Date: 2016
Posts: 54
Thanks: 2
Thanked 5 Times in 5 Posts
Default
How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

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.

apsarasisodia is offline  
Unread 29th Jan 2016, 04:30 AM   #2
Active Warrior
 
Join Date: 2016
Posts: 63
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

There is embed codes in youtube, vimeo.

<iframe width="560" height="315" src="https://www.youtube.com/embed/IpbDHxCV29A" frameborder="0" allowfullscreen></iframe>
Fredzmints is offline  
Unread 29th Jan 2016, 12:51 PM   #3
Active Warrior
 
Join Date: 2015
Posts: 67
Thanks: 3
Thanked 14 Times in 14 Posts
Default
Re: How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

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
Arshalan008 is offline  
Unread 31st Jan 2016, 11:11 PM   #4
Active Warrior
 
Join Date: 2016
Posts: 54
Thanks: 2
Thanked 5 Times in 5 Posts
Default
Re: How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

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.
apsarasisodia is offline  
Unread 2nd Feb 2016, 02:14 AM   #5
Advanced Warrior
 
PBScott's Avatar
 
Join Date: 2012
Posts: 600
Thanks: 27
Thanked 104 Times in 90 Posts
Default
Re: How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

Originally Posted by apsarasisodia View Post

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.
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>
Video is used like the above. If you knew the exact folder of the video, you could probably access it this way, however the actual address is probably buried in YouTube database. You would not want to display a YouTube video this way anyhow, as it is not asynchronous like the YouTube code is, and will slow down your website.

If you don't look at this => Really Funny Shirts <= you missed something in life
PBScott is offline  
The Following User Says Thank You to PBScott For This Useful Post:
Unread 10th Mar 2016, 11:22 PM   #6
Active Warrior
 
Join Date: 2016
Posts: 54
Thanks: 2
Thanked 5 Times in 5 Posts
Default
Re: How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

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.

apsarasisodia is offline  
Unread 12th Mar 2016, 03:42 PM   #7
HyperActive Warrior
 
3wCorner's Avatar
 
Join Date: 2016
Posts: 330
Thanks: 0
Thanked 77 Times in 71 Posts
Default
Re: How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

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.
3wCorner is offline  
Unread 14th Mar 2016, 04:45 AM   #8
Active Warrior
 
Join Date: 2016
Posts: 54
Thanks: 2
Thanked 5 Times in 5 Posts
Default
Re: How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

Originally Posted by 3wCorner View Post

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.
Another great trick. Thanks a ton 3wCorner for your reply. I have now another option because of you.

apsarasisodia is offline  
Unread 14th Mar 2016, 08:14 PM   #9
Active Warrior
 
Duc Aaron's Avatar
 
Join Date: 2016
Posts: 36
Thanks: 3
Thanked 5 Times in 5 Posts
Default
Re: How to embed video from any website to my HTML page?
Share on: 
fb share twitter share gplus share more share

Using iframe to embeded video player

Duc Aaron is offline  
Closed Thread


Bookmarks

Tags
embed, html, page, video, website


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 02:19 PM.