Advertisement

Youtube: How to check video availability?

Started by July 19, 2014 05:53 PM
7 comments, last by Servant of the Lord 10 years, 3 months ago

Hi all!

Is there a method to check if a video on youtube is muted/not available in some countries due to copyright issues? One of my videos have "Acknowledged third party content" doe to a music I used, and after a few days the little "Buy xxx on iTunes" icon and the ads for the 3rd party appeared under the video as expected.

But I'm not sure if the video is still unavailable in some countries, and if so, which countries.

The video in question is this:

It would also be nice if you tried to watch the video and tell me if it's available inyour country or not.

Thanks for your answers in advance!

The video is not available in Germany.
agh9hpck.jpg
Advertisement

It is available in Australia

Available in New Zealand.

“If I understand the standard right it is legal and safe to do this but the resulting value could be anything.”

It's available in England.

FastCall22: "I want to make the distinction that my laptop is a whore-box that connects to different network"

Blog about... stuff (GDNet, WordPress): www.gamedev.net/blog/1882-the-cuboid-zone/, cuboidzone.wordpress.com/

You could write a small script that checks youtube's Data API for the restriction parameter. This could be a starting point.

This is only reasonable if you need to check more than one video...

Advertisement

You could write a small script that checks youtube's Data API for the restriction parameter. This could be a starting point.

This is only reasonable if you need to check more than one video...

don't even need to go so far as to writing a script, here's the media data:

<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;AkEASH47eCp7I2A9XRZWGEs.&quot;'>
    <id>tag:youtube.com,2008:video:Sb3nuLnls84</id>
    <published>2014-07-15T19:23:54.000Z</published>
    <updated>2014-07-20T15:04:09.000Z</updated>
    <app:control>
        <yt:state name='restricted' reasonCode='limitedSyndication'>Syndication of this video was restricted.</yt:state>
    </app:control>
    <category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/>
    <category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Tech' label='Science &amp; Technology'/>
    <title>Lego Technic Audi RS 5 DTM</title>
    <content type='application/x-shockwave-flash' src='http://www.youtube.com/v/Sb3nuLnls84?version=3&amp;f=videos&amp;app=youtube_gdata'/>
    <link rel='alternate' type='text/html' href='http:'/>
    <link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/Sb3nuLnls84/related?v=2'/>
    <link rel='http://gdata.youtube.com/schemas/2007#uploader' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/DTW2H1RA5b36xkK3aSnzvw?v=2'/>
    <link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/Sb3nuLnls84?v=2'/>
    <author>
        <name>DolgorsurenDagvadorj</name>
        <uri>http://gdata.youtube.com/feeds/api/users/DolgorsurenDagvadorj</uri>
        <yt:userId>DTW2H1RA5b36xkK3aSnzvw</yt:userId>
    </author>
    <yt:accessControl action='comment' permission='allowed'/>
    <yt:accessControl action='commentVote' permission='allowed'/>
    <yt:accessControl action='videoRespond' permission='moderated'/>
    <yt:accessControl action='rate' permission='allowed'/>
    <yt:accessControl action='embed' permission='allowed'/>
    <yt:accessControl action='list' permission='allowed'/>
    <yt:accessControl action='autoPlay' permission='allowed'/>
    <yt:accessControl action='syndicate' permission='denied'/>
    <gd:comments>
        <gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/Sb3nuLnls84/comments?v=2' countHint='1'/>
    </gd:comments>
    <media:group>
        <media:category label='Science &amp; Technology' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Tech</media:category>
        <media:content url='http://www.youtube.com/v/Sb3nuLnls84?version=3&amp;f=videos&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='203' yt:format='5'/>
        <media:credit role='uploader' scheme='urn:youtube' yt:display='DolgorsurenDagvadorj'>dolgorsurendagvadorj</media:credit>
        <media:description type='plain'>This is a working manual model of an Audi RS5 DTM (2013). DTM, Deutsche Tourenwagen Masters (German Touring Car Masters) is a Silhouette racing car series based in Germany.
http://en.wikipedia.org/wiki/Deutsche_Tourenwagen_Masters

Scale: 1:10

More pictures of the models can be found here:
http://www.brickshelf.com/cgi-bin/gallery.cgi?f=536041

Music by Primus
http://www.youtube.com/user/PrimusVEVO</media:description>
        <media:keywords/>
        <media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license>
        <media:player url='http:'/>
        <media:restriction type='country' relationship='deny'>DE</media:restriction>
        <media:thumbnail url='http://i1.ytimg.com/vi/Sb3nuLnls84/default.jpg' height='90' width='120' time='00:01:41.500' yt:name='default'/>
        <media:thumbnail url='http://i1.ytimg.com/vi/Sb3nuLnls84/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/>
        <media:thumbnail url='http://i1.ytimg.com/vi/Sb3nuLnls84/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/>
        <media:thumbnail url='http://i1.ytimg.com/vi/Sb3nuLnls84/1.jpg' height='90' width='120' time='00:00:50.750' yt:name='start'/>
        <media:thumbnail url='http://i1.ytimg.com/vi/Sb3nuLnls84/2.jpg' height='90' width='120' time='00:01:41.500' yt:name='middle'/>
        <media:thumbnail url='http://i1.ytimg.com/vi/Sb3nuLnls84/3.jpg' height='90' width='120' time='00:02:32.250' yt:name='end'/>
        <media:title type='plain'>Lego Technic Audi RS 5 DTM</media:title>
        <yt:duration seconds='203'/>
        <yt:uploaded>2014-07-15T19:23:54.000Z</yt:uploaded>
        <yt:uploaderId>UCDTW2H1RA5b36xkK3aSnzvw</yt:uploaderId>
        <yt:videoid>Sb3nuLnls84</yt:videoid>
    </media:group>
    <gd:rating average='5.0' max='5' min='1' numRaters='4' rel='http://schemas.google.com/g/2005#overall'/>
    <yt:statistics favoriteCount='0' viewCount='105'/>
    <yt:rating numDislikes='0' numLikes='4'/>
</entry>

which looks like just germany is denied.

Check out https://www.facebook.com/LiquidGames for some great games made by me on the Playstation Mobile market.

Thank you very much for the info. It's strange that it's denied in Germany only.

Wikipedia: Bloacking of YouTube Videos in Germany

This topic is closed to new replies.

Advertisement