Custom YouTube Masthead: HTML5 build guide
Add the YouTube Player
Using YouTube videos in your masthead
Mastheads usually include YouTube videos using the YouTube Video Player. These help increase brand interaction on YouTube and provide a practical, lightweight way to add high-resolution rich media to your ad because videos hosted and pulled from a YouTube brand channel don't count toward file-size load specs.
YouTube public video play count
The YouTube Video Player allows masthead video views to count directly toward overall YouTube brand channel video views. For the YouTube view to count, the user must click to start the video using the standard YouTube play button. Autoplay videos don't count toward YouTube views.
The standard play button appears in the middle of the video player (on both an embedded or chromeless YouTube Player) or on the default control menu in the bottom left corner of the player. Any custom play buttons or play thumbnails in the creative don't increase this count.
|YouTube standard play button|
Add the YouTube player
There are two options for adding a YouTube player to your creative, depending on what development tools you use. Choose the option that works for you:
Use the YouTube component in Google Web Designer
In Google Web Designer, add YouTube video using the drag and drop YouTube component.
Use Google Web Designer's YouTube custom element with any HTML editor
If you use any other HTML editor, you can use Google Web Designer's YouTube player as an HTML custom element.