Tuesday, April 12, 2011

[YouTube-API] Re: iframe api + height size and playback restriction

Hello Holli,

That response indicates that the video is explicitly blocked in
Germany, not that the video is only playable in Germany. Perhaps your
IP address is being incorrectly geo-located in Germany instead of
Austria? Also, what version of the YouTube player are you attempting
playback with? Finally, it's possible that there is some domain-level
restriction on that video that isn't reflected in the YouTube API
response, but I can't tell for sure.

Cheers,
-Jeff Posnick, YouTube API Team
~ YouTube is hiring! ~ http://google.com/jobs/workyoutube ~


On Apr 9, 2:25 pm, holli <www.holli...@gmail.com> wrote:
> hello Jeffrey,
>
> thanks for the link good to hear that it should be solved soon.
>
> but i still have an issue with the search results that i get videos which i
> can not play in my country.
> within the app the user has to specify in what country he is and i use this
> iso code in the search f.ex.:
>
> http://gdata.youtube.com/feeds/api/videos?v=2&alt=jsonc&q=drupi&forma...
>
> if i do this search (and i'm in AT - austria) i get following back:
>
> {
>  "apiVersion": "2.0",
>  "data": {
>   "updated": "2011-04-09T18:17:54.454Z",
>   "totalItems": 321,
>   "startIndex": 1,
>   "itemsPerPage": 1,
>   "items": [
>    {
>     "id": "EV0qAQ9uyzY",
>     "uploaded": "2007-05-21T12:37:03.000Z",
>     "updated": "2011-04-08T01:14:39.000Z",
>     "uploader": "abaconeI",
>     "category": "Music",
>     "title": "Drupi - Picola e Fragile",
>     "description": "live",
>     "tags": [
>      "drupi"
>     ],
>     "thumbnail": {
>      "sqDefault": "http://i.ytimg.com/vi/EV0qAQ9uyzY/default.jpg",
>      "hqDefault": "http://i.ytimg.com/vi/EV0qAQ9uyzY/hqdefault.jpg"
>     },
>     "player": {
>      "default":
> "http://www.youtube.com/watch?v\u003dEV0qAQ9uyzY&feature\u003dyoutube_gdata_player",
>      "mobile": "http://m.youtube.com/details?v\u003dEV0qAQ9uyzY"
>     },
>     "content": {
>      "5":
> "http://www.youtube.com/v/EV0qAQ9uyzY?f\u003dvideos&app\u003dyoutube_gdata",
>      "1":
> "rtsp://v4.cache3.c.youtube.com/CiILENy73wIaGQk2y24PASpdERMYDSANFEgGUgZ2aWR lb3MM/0/0/0/video.3gp",
>      "6":
> "rtsp://v5.cache3.c.youtube.com/CiILENy73wIaGQk2y24PASpdERMYESARFEgGUgZ2aWR lb3MM/0/0/0/video.3gp"
>     },
>     "duration": 334,
>     "rating": 4.906883,
>     "likeCount": "965",
>     "ratingCount": 988,
>     "viewCount": 1087634,
>     "favoriteCount": 2502,
>     "commentCount": 329,
>     "restrictions": [
>      {
>       "type": "country",
>       "relationship": "deny",
>       "countries": "DE"
>      }
>     ],
>     "accessControl": {
>      "comment": "allowed",
>      "commentVote": "allowed",
>      "videoRespond": "moderated",
>      "rate": "allowed",
>      "embed": "allowed",
>      "list": "allowed",
>      "syndicate": "allowed"
>     }
>    }
>   ]
>  }
>
> }
>
> so this video can only be played in GERMANY (DE) - so why do i receive this
> item - i can embed it but not play it in austria i get the restriction
> ...SMB...
>
> any idea?
>
> thanks
> holli

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment