Welcome to WebmasterWorld Guest from

Forum Moderators: goodroi

Message Too Old, No Replies

Google and video sitemap questions

6:38 pm on Oct 15, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 15, 2008
votes: 0

Hope to find some help :)
I am displaying videos on my site from YouTube, but I am not using a classic YouTube embed code - I use JW player in combination with YouTube API (looks better).

this is a code example for delivering videos on my site (uses SWFObject v2.2):

<script type="text/javascript">
var flashvars = { file:'http://www.youtube.com/watch?v=OojD3AhNs6o',image:'/im/thumb.jpg',autostart:"true"};
var params = { allowfullscreen:'true', allowscriptaccess:'always',wmode:"opaque" };
var attributes = { id:'player1', name:'player1' };
swfobject.embedSWF('/js/player.swf','videoBox',596,380,'8','false',flashvars, params, attributes);
var player;

I have used this particular method for almost 2 years now and almost all of my videos got indexed by Google Videos (without even submitting video sitemap), but since I implemented a site-wide redesign I lost all videos from index.
Thus I decided to create a video sitemap and submit it via Google Webmaster Tools.

This is an example of video sitemap I created (this is an example with just 1 video):

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
<video:title>example.com - video | really cool rock song</video:title>
<video:description>this is a video description, a few words about the content</video:description>
<video:player_loc allow_embed="yes">http://www.example.com/js/player52.swf?file=http://www.youtube.com/watch?v=yxI0BHdiOno&autostart=true</video:player_loc>

Google Webmaster Tools reported no errors and also gave this information:
Submitted URLs: 719
515 URLs in web index

Indeed there are 515 results indexed, but only as regular pages - not as videos (no small preview image etc).
Also there are no videos listed in Google's video page.
Running site:example.com in Google video return nothing.

I submitted it 3 weeks ago. During that time I included more videos and resubmitted, but the result is always the same..

Could the reason be because videos are from YouTube and not hosted on my site?

Any assistance and guidelines for further improving the video sitemap xml is greatly appreciated.
5:25 pm on Oct 18, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 15, 2008
votes: 0

no answer .. let me trim that down: is it able to rank in Google Videos if videos on your site are from YouTube?
11:57 am on Oct 19, 2010 (gmt 0)

Administrator from US 

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

joined:June 21, 2004
votes: 378

i haven't tried this. i assume google would give credit to youtube and not your site since you are simply embedding the video which is hosted on youtube.
8:09 am on Oct 20, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 15, 2008
votes: 0

I have seen a couple of sites rank very well for videos (shows video image in regular search) with having YouTube videos embedded.
This obviously drives a huge amount of traffic as users are far more likely to click on that content.
(I could give examples, but believe posting links is not allowed here)

What amazes me is the total lack of research on this issues. I have searched all over to discover what makes Google include some of the videos in their directory, but no luck.