Quantcast
Channel: Video Cloud Overview Recent
Viewing all articles
Browse latest Browse all 2356

Make Your Video Content Indexable

$
0
0
0

Internet search engines provide end-users a quick and easy to use way to get access to information available on the Internet. As more and more Internet content is multimedia, you need to ensure that your content is properly indexed by the search engines so that users can discover it. This article will provide an overview of how to enable your video content to be SEO enabled and indexed by the various search engines (Google, Yahoo, Microsoft).

There is a standard document, called a sitemap, that search engine indexers look for when examining your site. This document concisely tells the search engines what content is exposed on your site, the metadata for that content, and where that content is located on your site. A sitemap is an XML file that follows a standard specification.

There are two different flavors of sitemaps that you can (and should) create:

  • Sitemap - A sitemap that will index your content in the standard text based search engines such as www.google.com or search.yahoo.com
  • Video Sitemap - A sitemap that will index your content in media-centric search engines such as video.google.com

Note that both of these sitemaps index the metadata about your video content and provide links to end-users. The difference is where the metadata that is indexed is obtained from and how the content is surfaced in search results.

A proper SEO strategy for your video content will include creating both a standard sitemap as well as a video sitemap. From a priority perspective, you want to create a standard sitemap first and then a video sitemap. Using the Video Cloud CMS API, you can create your sitemaps automatically, rather than compiling them by hand.

 

 

Standard Sitemaps

Sitemaps follow the sitemap specification that is defined here: www.sitemaps.org. The purpose of the sitemap file is to provide a list of URLs on your site to the search engines. The only other information associated with a URL is when the page was last modified and how frequently the page changes. Note that there is no metadata about your content in this index. Because the sitemap is page-centric, we need to create a model where each video in your library will have a unique page, or URL, associated with it. This can be accomplished by having a single page whose behavior and content can be dynamically changed by passing in different query parameters to the page. For example, if you have a URL like http://www.example.com/video.html?videoId=123, you would have the video.html page look for the videoId query parameter (videoId=123) and modify the contents of the page returned to the browser to contain information about the video with id 123. This would be done on the server-side of your application where the page would look for the ID and then use the Video Cloud Media API to fetch metadata about the video and write it into the page.

For the purposes of this article, we assume that there is a single landing page on your site which can be used to play back all video content for your site. Different query parameters will be passed to the page to tell the page what video to play back and what video to surface metadata for. For example, let's say you have a page that displays the contents of an entire playlist and queues up a specific video in a player. You tell the page what playlist to display metadata for via a bclid query parameter and what video to surface in a player via the bctid parameter. Thus, what we want to do is create a URL for every unique playlist and video id combination.

Here is an example of sitemap that will be created:

<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/video?bclid=345&bctid=123</loc>
<lastmod>2015-01-01</lastmod>
<changefreq>weekly</changefreq>
</url>
<url>
<loc>http://www.example.com/video?bclid=12&bctid=544</loc>
<lastmod>2015-03-01</lastmod>
<changefreq>weekly</changefreq>
</url>
</urlset>

To create a sitemap file, you can use the attached script. This script walks through the playlists in the Video Cloud account and, for each playlist, walks through its contained videos. For each playlist and video combination, the script creates an entry in the sitemap supplying a unique URL to the playlist/video combination. Once you've created a sitemap file for your site, place the resulting sitemap.xml file in the root directory of your webserver. For example, if your domain is www.example.com, the sitemap file would be available at http://www.example.com/sitemap.xml. Even better would be to automatically generate this file and update the file on your live site.

Video Sitemaps

A video sitemap is similar in concept to the standard sitemap file. The video sitemap file will have an entry per video in your account. In fact, a video sitemap uses the sitemap schema as its base and adds additional tags specific to video metadata.

The table below outlines the tags that Google requires for video sitemaps.

TagRequiredDescription
<loc>YSpecifies the landing page (aka play page, referrer page) for the video.
<video:video>YEncloses all information about the video.
<video:thumbnail_loc>YA URL pointing to the video thumbnail image file.
<video:title>YThe title of the video.
<video:description>YThe description of the video.
<video:content_loc>DependsA URL pointing to the actual video media file. Note: You must specify at least one of <video:player_loc> or <video:content_loc>.
<video:player_loc>DependsA URL pointing to a player for a specific video. Usually this is the information in the src element of an <embed> tag and should not be the same as the content of the <loc> tag. Note: You must specify at least one of <video:player_loc> or <video:content_loc>.

For a list of all the supported tags and a more detailed explanation of tags, see the Google documentation.

Below is a sample video sitemap.

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
<loc>http://www.example.com/videos/video_landing_page.html</loc>
<video:video>
<video:thumbnail_loc>http://www.example.com/thumbs/123.jpg</video:thumbnail_loc>
<video:title>Grilling steaks for summer</video:title>
<video:description>Get perfectly done steaks every time</video:description><video:content_loc>http://brightcove04.brightcove.com/22/20318290001/201510/2249/20318290001_4582301804001_4582289844001.mp4?pubId=20318290001&videoId=4582289844001</video:content_loc><video:player_loc>http://players.brightcove.net/20318290001/default_default/index.html?videoId=4582289844001</video:player_loc><video:duration>600</video:duration>
<video:publication_date>2014-11-05T19:20:30+08:00.</video:publication_date>
<video:tag>steak</video:tag>
<video:tag>meat</video:tag>
<video:tag>summer</video:tag>
<video:family_friendly>yes</video:family_friendly>
</video:video>
</url>
</urlset>

Once you've created your video sitemap, you can submit it to Google following the instructions here.

Note: Based on your preference, you can either create separate files for standard and video sitemaps or add information about your video content to an existing sitemap document. However, take into consideration that sitemap files cannot contain more than 50,000 URLs and cannot be larger than 50MB. For more information on sitemap guidelines, review Google's Sitemap formats and guidelines support article.

Brightcove Gallery allows you to create engaging video experiences without the need of any technical resources. Sites built using Brightcove Gallery will automatically compile the video metadata into a video sitemap for you. For more information, visit the Customizing the Discovery Settings for a Brightcove Gallery Site article.

Conclusion

A complete SEO strategy for your video content should include creating both a standard sitemap as well as a video sitemap. This will ensure that your content is indexed across the widest swath of search engines. Additionally, your content will be surfaced in the most aesthetically pleasing manner for the point of discovery. This article has outlined an approach for providing a unique URL per video in your account and sample code for generating the sitemap files that the engines will index.


Viewing all articles
Browse latest Browse all 2356

Trending Articles