Welcome to WebmasterWorld Guest from 54.196.86.89

Forum Moderators: not2easy

Message Too Old, No Replies

Embedding a video

     
11:44 am on Feb 13, 2017 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 26, 2004
posts: 410
votes: 0


When you're imbedding a video on your website, that can be played by anyone, with any browser, what format of video do you go for please?
1:31 pm on Feb 13, 2017 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:11485
votes: 692


I upload my videos to Youtube, then use the code they supply. Under the video look for: Share > Embed.

Cut'n Paste the <iframe> code into your webpage. You might want to wrap a <div> around it for positioning.

I tried hosting my own videos for a while, but they became popular & other sites hot-linked to them causing my data usage to exceed what my host offered. Now I let Youtube do that.
1:35 pm on Feb 13, 2017 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator mack is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 15, 2001
posts:7729
votes: 44


Agree totally. Another reason for using Youtube is, you can share it pretty much anywhere, yet still get great Analytics through the video manager on Youtube. When you start hosting in multiple places this data becomes very fragmented.

Mack.
1:51 pm on Feb 13, 2017 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 26, 2004
posts: 410
votes: 0


Sorry, I realise now that I should have been clearer, what format of video would you have on your website, without involving any 3rd party websites?
1:57 pm on Feb 13, 2017 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:11485
votes: 692


MP4 is supported widely, although it does use compression.

There are other higher quality video formats, but then you're dealing with patchy support.
2:02 pm on Feb 13, 2017 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 26, 2004
posts: 410
votes: 0


Thanks, I had been thinking of mp4, but was looking for good quality uncompressed video and fast loading pages.
2:05 pm on Feb 13, 2017 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:11485
votes: 692


If you host your own player then you can use whatever you like almost. But if you leave it up to whatever the user's browser supports, mp4 may be the best choice.
good quality uncompressed video and fast loading pages
That may be an oxymoron.
4:39 pm on Feb 13, 2017 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 26, 2004
posts: 410
votes: 0


'That may be an oxymoron'.
Yep, maybe, but I'm an optimist! ;-)