Update: Check out Vladimir Sobolev’s Youtube Embed Player Customizer for way more options and a coding-free method of customization.
As the third most-visited site on the web, YouTube is unquestionably the most popular method of online video distribution. YouTube does have its strongpoints: anyone can post an unlimited number of videos for free, basic analytics are included, and with hundreds of millions of users, it’s likely your video will be viewed and shared by those who would otherwise never find it. As with other video hosting services, it is possible to embed videos from YouTube on web pages, blogs, etc., provided that the uploader of the video allows it. However, by default, an embedded YouTube video looks cluttered and unsightly when compared to embedded videos from rival services Vimeo and Wistia. Below are examples of embedded video from each service, without using any custom parameter code in the embed HTML.
Wistia keeps it clean and simple. A simple ‘play’ indicator in the middle is all that’s needed to indicate an embedded video.
Vimeo provides checkboxes to disable the majority of the clutter from the embed, resulting in a fairly clean interface that blends with most any site design.
YouTube‘s default embed forces the title link, share options, more info box, and watch later option all to be displayed. Thankfully, we can dramatically improve the visual presentation of the embed with one easy modification
Adding the “showinfo=0” and “&autohide=1” Parameters
How parameters work
Nowadays, YouTube videos are generally embedded via the <iframe> HTML tag. By clicking “Share”, then “Embed” on any video’s page on YouTube. URL parameters are used in a parameter=value format. By default, one URL parameter (rel) is included, and its value is set to 0 (ensure the “Show suggested videos when the video finishes” checkbox is unchecked in the “Embed” section on YouTube). Here is the default YouTube embed code:
<iframe width="560" height="315" src="http://www.youtube.com/embed/j7xiyPEWkrg?rel=0" frameborder="0" allowfullscreen></iframe>
Adding the parameters
Simply adding “&showinfo=0&autohide=1” to the end of the <iframe> src attribute will give a considerably cleaner look. The “showinfo” parameter dictates whether or not the top bar containing the title and share options is displayed, while the “autohide” parameter determines whether or not the play controls are visible when the video is not being played. The new code would be:
<iframe width="560" height="315" src="http://www.youtube.com/embed/j7xiyPEWkrg?rel=0&showinfo=0&autohide=1" frameborder="0" allowfullscreen></iframe>
Here is the result:
Now we have a more minimalist presentation, similar to Wistia’s. If you’d like to make better use of video on your company’s website, drop us a line. We’ll help you determine the best approach in using video to entertain and inform visitors to your site, and show you how video can be a sales-driving, measurable, and dynamic tool for your business.
thanks for this. i was testing on my side.
the speed and page load is with youtube and vimeo.
wistia wins with beauty and analytics. but it’s a bandwidth hog and it takes more resources from them to make it responsive.
your examples look clean. are there features to clean up the vimeo video anymore?
p.s. you can duplicate wistia’s tracking by using google analytics tracking. http://www.bluefountainmedia.com/blog/track-youtube-player-events-google-analytics/ or http://www.lunametrics.com/blog/2012/10/22/automatically-track-youtube-videos-events-google-analytics/.
I don’t have a solution but Leadplayer ( I don’t use them, so I can’t recommend and they come off spammy to me) for collecting email addresses in Youtube videos.
oh also, i just saw what you typed on vimeo. oooppps, lol.
and have you tried video.js? i’ll be testing with that soon.
thanks again.
Hi Tim,
Thanks for sharing; I’ve been meaning to write an update to this post with some new info, including an update on analytics for YouTube. I’ve seen video.js but haven’t ever used it on a site. When we have our new site launched I’ll have more time for blogging, hopefully.
Best,
Andrew
Thank you so much! Hopefully I’ll be able to implement this in my Squarespace site, not sure if it’s possible since sqspc is a coding workaround
Hello! Take a look to my helpful tool for Youtube Player customization: http://sobolev.us/yt
All available parameters listed and can be managed in realtime.
Wow, this is awesome…thanks for sharing. Post has been updated with link.
You can check away all those features in the embed section.
Just remember to copy the code above, not right click the video.
Here is another question:
On iPad the play icon stays red, on desktop/laptop it is black until the mouse pointer is placed (hovered?) over it.
Any way to make the play icon stay red on all screens?