video_info 2.3.3 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -0
  3. data/lib/video_info.rb +5 -1
  4. data/lib/video_info/provider.rb +16 -10
  5. data/lib/video_info/providers/dailymotion.rb +2 -4
  6. data/lib/video_info/providers/vimeo.rb +1 -3
  7. data/lib/video_info/providers/vimeoplaylist.rb +0 -2
  8. data/lib/video_info/providers/vkontakte.rb +10 -13
  9. data/lib/video_info/providers/wistia.rb +63 -0
  10. data/lib/video_info/providers/youtube.rb +6 -4
  11. data/lib/video_info/version.rb +1 -1
  12. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_This_video_does_not_exist_or_has_been_deleted_/_available_/.yml +11 -7
  13. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_valid_video/_available_/.yml +9 -5
  14. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_date/.yml +12 -8
  15. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_description/.yml +12 -8
  16. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_duration/.yml +12 -8
  17. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_keywords/.yml +12 -8
  18. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_large/.yml +12 -8
  19. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_medium/.yml +12 -8
  20. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_small/.yml +12 -8
  21. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_title/.yml +12 -8
  22. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_view_count/.yml +12 -8
  23. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_password_required_video/_available_/.yml +5 -5
  24. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/_available_/.yml +4 -4
  25. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/_available_/.yml +6 -6
  26. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_date/.yml +10 -10
  27. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/.yml +11 -11
  28. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_duration/.yml +10 -10
  29. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_height/.yml +13 -13
  30. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_keywords/.yml +12 -12
  31. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/.yml +10 -10
  32. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/.yml +10 -10
  33. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_small/.yml +13 -13
  34. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_title/.yml +10 -10
  35. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_view_count/.yml +12 -12
  36. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_width/.yml +12 -12
  37. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_invalid_playlist/_available_/.yml +4 -4
  38. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_valid_playlist/_available_/.yml +4 -4
  39. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_description/.yml +8 -8
  40. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_large/.yml +9 -9
  41. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_medium/.yml +9 -9
  42. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_small/.yml +8 -8
  43. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_title/.yml +8 -8
  44. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_videos/.yml +27 -27
  45. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/_available_/.yml +3 -3
  46. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/_available_/.yml +1084 -1058
  47. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/_title/.yml +1383 -1272
  48. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_description/.yml +1085 -1059
  49. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_duration/.yml +1085 -1059
  50. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_code/.yml +1084 -1058
  51. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_url/.yml +1085 -1059
  52. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_height/.yml +1085 -1059
  53. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_keywords/.yml +1085 -1059
  54. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_title/.yml +1085 -1059
  55. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_view_count/.yml +1085 -1059
  56. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_width/.yml +1084 -1058
  57. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_invalid_video/_available_/.yml +65 -0
  58. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_valid_video/_available_/.yml +67 -0
  59. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_duration/.yml +73 -0
  60. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_height/.yml +73 -0
  61. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_large/.yml +73 -0
  62. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_medium/.yml +73 -0
  63. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_small/.yml +73 -0
  64. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_title/.yml +73 -0
  65. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_width/.yml +73 -0
  66. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_duration/.yml +73 -0
  67. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_height/.yml +73 -0
  68. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_large/.yml +73 -0
  69. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_medium/.yml +73 -0
  70. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_small/.yml +73 -0
  71. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_title/.yml +73 -0
  72. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_width/.yml +73 -0
  73. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/_available_/.yml +4 -4
  74. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/_available_/.yml +4 -4
  75. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/_available_/.yml +4 -4
  76. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_date/.yml +6 -6
  77. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_description/.yml +6 -6
  78. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_duration/.yml +6 -6
  79. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_keywords/.yml +6 -6
  80. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_large/.yml +6 -6
  81. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_medium/.yml +6 -6
  82. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_small/.yml +6 -6
  83. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_title/.yml +11 -9
  84. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_view_count/.yml +6 -6
  85. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_invalid_playlist/_available_/.yml +4 -4
  86. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_valid_playlist/_available_/.yml +5 -5
  87. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL0E8117603D70E10A_in_embed_path/_videos/.yml +5 -5
  88. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_description/.yml +10 -10
  89. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_large/.yml +13 -15
  90. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_medium/.yml +10 -10
  91. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_small/.yml +10 -10
  92. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_title/.yml +10 -10
  93. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_videos/.yml +11 -11
  94. data/spec/lib/video_info/providers/wistia_spec.rb +168 -0
  95. data/video_info.gemspec +1 -1
  96. metadata +37 -2
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - VideoInfo/2.3.1
11
+ - VideoInfo/2.4.0
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
@@ -25,9 +25,9 @@ http_interactions:
25
25
  Access-Control-Allow-Origin:
26
26
  - "*"
27
27
  Expires:
28
- - Wed, 29 Oct 2014 20:41:14 GMT
28
+ - Tue, 09 Dec 2014 19:32:35 GMT
29
29
  Date:
30
- - Wed, 29 Oct 2014 20:36:14 GMT
30
+ - Tue, 09 Dec 2014 19:27:35 GMT
31
31
  Cache-Control:
32
32
  - public, max-age=300, no-transform
33
33
  Vary:
@@ -49,7 +49,7 @@ http_interactions:
49
49
  Server:
50
50
  - GSE
51
51
  Alternate-Protocol:
52
- - 80:quic,p=0.01
52
+ - 80:quic,p=0.02
53
53
  body:
54
54
  encoding: UTF-8
55
55
  string: '{"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","xmlns$openSearch":"http://a9.com/-/spec/opensearch/1.1/","xmlns$media":"http://search.yahoo.com/mrss/","gd$etag":"W/\"Ck4CRH47eCp7I2A9XRZXEkk.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},"updated":{"$t":"2014-07-01T18:56:05.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#playlist"}],"title":{"$t":"YouTube
@@ -75,24 +75,24 @@ http_interactions:
75
75
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/9g2U12SsRns?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":132,"yt$format":5},{"url":"rtsp://r7---sn-4g57kues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":1},{"url":"rtsp://r7---sn-4g57kues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
76
76
  Help"}],"media$description":{"$t":"Learn more about YouTube''s Content ID
77
77
  system.","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=9g2U12SsRns&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/9g2U12SsRns/default.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"default"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/1.jpg","height":90,"width":120,"time":"00:00:33","yt$name":"start"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/2.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/3.jpg","height":90,"width":120,"time":"00:01:39","yt$name":"end"}],"media$title":{"$t":"YouTube
78
- Content ID","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"132"},"yt$uploaded":{"$t":"2010-09-28T18:21:56.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"9g2U12SsRns"}},"yt$statistics":{"favoriteCount":"0","viewCount":"726751"},"yt$position":{"$t":2}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Determining
78
+ Content ID","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"132"},"yt$uploaded":{"$t":"2010-09-28T18:21:56.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"9g2U12SsRns"}},"yt$statistics":{"favoriteCount":"0","viewCount":"740965"},"yt$position":{"$t":2}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Determining
79
79
  What Happened to Your Video"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/8b0aEoxqqC0/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=8b0aEoxqqC0"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/8b0aEoxqqC0?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE?v=2"}],"author":[{"name":{"$t":"YouTube
80
80
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":191,"yt$format":5},{"url":"rtsp://r2---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":1},{"url":"rtsp://r2---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
81
81
  Help"}],"media$description":{"$t":"This video will show you how to determine
82
82
  what happened to your video if it was removed from YouTube.\n\nTo learn more
83
83
  about copyright on YouTube, please visit our Copyright Center at http://www.youtube.com/yt/copyright/","type":"plain"},"media$keywords":{},"media$license":{"$t":"cc","type":"text/html","href":"http://creativecommons.org/licenses/by/3.0/"},"media$player":{"url":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/default.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/1.jpg","height":90,"width":120,"time":"00:00:47.750","yt$name":"start"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/2.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/3.jpg","height":90,"width":120,"time":"00:02:23.250","yt$name":"end"}],"media$title":{"$t":"Determining
84
- What Happened to Your Video","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"191"},"yt$uploaded":{"$t":"2013-04-11T23:44:36.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"8b0aEoxqqC0"}},"yt$statistics":{"favoriteCount":"0","viewCount":"38340"},"yt$position":{"$t":3}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Entertainment","label":"Entertainment"}],"title":{"$t":"Reporting
84
+ What Happened to Your Video","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"191"},"yt$uploaded":{"$t":"2013-04-11T23:44:36.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"8b0aEoxqqC0"}},"yt$statistics":{"favoriteCount":"0","viewCount":"42013"},"yt$position":{"$t":3}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Entertainment","label":"Entertainment"}],"title":{"$t":"Reporting
85
85
  and Policy Enforcement on YouTube"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=6c3mHikRz0I&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=6c3mHikRz0I"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs?v=2"}],"author":[{"name":{"$t":"YouTube
86
- Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I/comments?v=2","countHint":143}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Entertainment","label":"Entertainment","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":94,"yt$format":5},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":1},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
86
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I/comments?v=2","countHint":149}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Entertainment","label":"Entertainment","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":94,"yt$format":5},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":1},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
87
87
  Help"}],"media$description":{"$t":"This video explains the basics of reporting
88
88
  on YouTube. \n\nTo learn more about reporting, policies and safety please
89
89
  visit our Policy and Safety hub, http://www.youtube.com/yt/policyandsafety/","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=6c3mHikRz0I&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/default.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"default"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/1.jpg","height":90,"width":120,"time":"00:00:23.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/2.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/3.jpg","height":90,"width":120,"time":"00:01:10.500","yt$name":"end"}],"media$title":{"$t":"Reporting
90
- and Policy Enforcement on YouTube","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"94"},"yt$uploaded":{"$t":"2013-04-04T23:31:32.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"6c3mHikRz0I"}},"gd$rating":{"average":3.317817,"max":5,"min":1,"numRaters":623,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"206482"},"yt$rating":{"numDislikes":"262","numLikes":"361"},"yt$position":{"$t":4}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4"},"published":{"$t":"2013-12-17T23:45:41.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Howto","label":"Howto
90
+ and Policy Enforcement on YouTube","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"94"},"yt$uploaded":{"$t":"2013-04-04T23:31:32.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"6c3mHikRz0I"}},"gd$rating":{"average":3.3271606,"max":5,"min":1,"numRaters":648,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"208861"},"yt$rating":{"numDislikes":"271","numLikes":"377"},"yt$position":{"$t":4}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4"},"published":{"$t":"2013-12-17T23:45:41.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Howto","label":"Howto
91
91
  & Style"}],"title":{"$t":"YouTube Copyright Basics (Global)"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/OQVHWsTHcoc/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=OQVHWsTHcoc"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/OQVHWsTHcoc?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4?v=2"}],"author":[{"name":{"$t":"YouTube
92
92
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"yt$hd":{},"media$group":{"media$category":[{"$t":"Howto","label":"Howto
93
93
  & Style","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":342,"yt$format":5},{"url":"rtsp://r7---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":1},{"url":"rtsp://r7---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
94
94
  Help"}],"media$description":{"$t":"","type":"plain"},"media$keywords":{"$t":"yt:cc=on"},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/default.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"default"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/1.jpg","height":90,"width":120,"time":"00:01:25.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/2.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/3.jpg","height":90,"width":120,"time":"00:04:16.500","yt$name":"end"}],"media$title":{"$t":"YouTube
95
- Copyright Basics (Global)","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"342"},"yt$uploaded":{"$t":"2013-12-02T23:22:20.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"OQVHWsTHcoc"}},"yt$statistics":{"favoriteCount":"0","viewCount":"747990"},"yt$position":{"$t":5}}]}}'
95
+ Copyright Basics (Global)","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"342"},"yt$uploaded":{"$t":"2013-12-02T23:22:20.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"OQVHWsTHcoc"}},"yt$statistics":{"favoriteCount":"0","viewCount":"888537"},"yt$position":{"$t":5}}]}}'
96
96
  http_version:
97
- recorded_at: Wed, 29 Oct 2014 20:36:14 GMT
97
+ recorded_at: Tue, 09 Dec 2014 19:27:35 GMT
98
98
  recorded_with: VCR 2.9.3
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - VideoInfo/2.3.1
11
+ - VideoInfo/2.4.0
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
@@ -23,9 +23,9 @@ http_interactions:
23
23
  Content-Type:
24
24
  - application/json;charset=UTF-8
25
25
  Expires:
26
- - Wed, 29 Oct 2014 20:41:16 GMT
26
+ - Tue, 09 Dec 2014 19:32:37 GMT
27
27
  Date:
28
- - Wed, 29 Oct 2014 20:36:16 GMT
28
+ - Tue, 09 Dec 2014 19:27:37 GMT
29
29
  Cache-Control:
30
30
  - public, max-age=300, no-transform
31
31
  Vary:
@@ -43,11 +43,11 @@ http_interactions:
43
43
  X-Xss-Protection:
44
44
  - 1; mode=block
45
45
  Content-Length:
46
- - '25678'
46
+ - '25679'
47
47
  Server:
48
48
  - GSE
49
49
  Alternate-Protocol:
50
- - 80:quic,p=0.01
50
+ - 80:quic,p=0.02
51
51
  body:
52
52
  encoding: UTF-8
53
53
  string: '{"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","xmlns$openSearch":"http://a9.com/-/spec/opensearch/1.1/","xmlns$media":"http://search.yahoo.com/mrss/","gd$etag":"W/\"Ck4CRH47eCp7I2A9XRZXEkk.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},"updated":{"$t":"2014-07-01T18:56:05.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#playlist"}],"title":{"$t":"YouTube
@@ -73,24 +73,24 @@ http_interactions:
73
73
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/9g2U12SsRns?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":132,"yt$format":5},{"url":"rtsp://r7---sn-4g57kues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":1},{"url":"rtsp://r7---sn-4g57kues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
74
74
  Help"}],"media$description":{"$t":"Learn more about YouTube''s Content ID
75
75
  system.","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=9g2U12SsRns&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/9g2U12SsRns/default.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"default"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/1.jpg","height":90,"width":120,"time":"00:00:33","yt$name":"start"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/2.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/3.jpg","height":90,"width":120,"time":"00:01:39","yt$name":"end"}],"media$title":{"$t":"YouTube
76
- Content ID","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"132"},"yt$uploaded":{"$t":"2010-09-28T18:21:56.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"9g2U12SsRns"}},"yt$statistics":{"favoriteCount":"0","viewCount":"726751"},"yt$position":{"$t":2}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Determining
76
+ Content ID","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"132"},"yt$uploaded":{"$t":"2010-09-28T18:21:56.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"9g2U12SsRns"}},"yt$statistics":{"favoriteCount":"0","viewCount":"740965"},"yt$position":{"$t":2}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Determining
77
77
  What Happened to Your Video"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/8b0aEoxqqC0/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=8b0aEoxqqC0"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/8b0aEoxqqC0?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE?v=2"}],"author":[{"name":{"$t":"YouTube
78
78
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":191,"yt$format":5},{"url":"rtsp://r2---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":1},{"url":"rtsp://r2---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
79
79
  Help"}],"media$description":{"$t":"This video will show you how to determine
80
80
  what happened to your video if it was removed from YouTube.\n\nTo learn more
81
81
  about copyright on YouTube, please visit our Copyright Center at http://www.youtube.com/yt/copyright/","type":"plain"},"media$keywords":{},"media$license":{"$t":"cc","type":"text/html","href":"http://creativecommons.org/licenses/by/3.0/"},"media$player":{"url":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/default.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/1.jpg","height":90,"width":120,"time":"00:00:47.750","yt$name":"start"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/2.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/3.jpg","height":90,"width":120,"time":"00:02:23.250","yt$name":"end"}],"media$title":{"$t":"Determining
82
- What Happened to Your Video","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"191"},"yt$uploaded":{"$t":"2013-04-11T23:44:36.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"8b0aEoxqqC0"}},"yt$statistics":{"favoriteCount":"0","viewCount":"38340"},"yt$position":{"$t":3}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Entertainment","label":"Entertainment"}],"title":{"$t":"Reporting
82
+ What Happened to Your Video","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"191"},"yt$uploaded":{"$t":"2013-04-11T23:44:36.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"8b0aEoxqqC0"}},"yt$statistics":{"favoriteCount":"0","viewCount":"42013"},"yt$position":{"$t":3}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Entertainment","label":"Entertainment"}],"title":{"$t":"Reporting
83
83
  and Policy Enforcement on YouTube"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=6c3mHikRz0I&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=6c3mHikRz0I"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs?v=2"}],"author":[{"name":{"$t":"YouTube
84
- Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I/comments?v=2","countHint":143}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Entertainment","label":"Entertainment","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":94,"yt$format":5},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":1},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
84
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I/comments?v=2","countHint":149}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Entertainment","label":"Entertainment","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":94,"yt$format":5},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":1},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
85
85
  Help"}],"media$description":{"$t":"This video explains the basics of reporting
86
86
  on YouTube. \n\nTo learn more about reporting, policies and safety please
87
87
  visit our Policy and Safety hub, http://www.youtube.com/yt/policyandsafety/","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=6c3mHikRz0I&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/default.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"default"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/1.jpg","height":90,"width":120,"time":"00:00:23.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/2.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/3.jpg","height":90,"width":120,"time":"00:01:10.500","yt$name":"end"}],"media$title":{"$t":"Reporting
88
- and Policy Enforcement on YouTube","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"94"},"yt$uploaded":{"$t":"2013-04-04T23:31:32.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"6c3mHikRz0I"}},"gd$rating":{"average":3.317817,"max":5,"min":1,"numRaters":623,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"206482"},"yt$rating":{"numDislikes":"262","numLikes":"361"},"yt$position":{"$t":4}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4"},"published":{"$t":"2013-12-17T23:45:41.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Howto","label":"Howto
88
+ and Policy Enforcement on YouTube","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"94"},"yt$uploaded":{"$t":"2013-04-04T23:31:32.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"6c3mHikRz0I"}},"gd$rating":{"average":3.3271606,"max":5,"min":1,"numRaters":648,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"208861"},"yt$rating":{"numDislikes":"271","numLikes":"377"},"yt$position":{"$t":4}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4"},"published":{"$t":"2013-12-17T23:45:41.000Z"},"updated":{"$t":"1970-01-01T00:00:00.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Howto","label":"Howto
89
89
  & Style"}],"title":{"$t":"YouTube Copyright Basics (Global)"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/OQVHWsTHcoc/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=OQVHWsTHcoc"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/OQVHWsTHcoc?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4?v=2"}],"author":[{"name":{"$t":"YouTube
90
90
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"yt$hd":{},"media$group":{"media$category":[{"$t":"Howto","label":"Howto
91
91
  & Style","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":342,"yt$format":5},{"url":"rtsp://r7---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":1},{"url":"rtsp://r7---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
92
92
  Help"}],"media$description":{"$t":"","type":"plain"},"media$keywords":{"$t":"yt:cc=on"},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/default.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"default"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/1.jpg","height":90,"width":120,"time":"00:01:25.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/2.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/3.jpg","height":90,"width":120,"time":"00:04:16.500","yt$name":"end"}],"media$title":{"$t":"YouTube
93
- Copyright Basics (Global)","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"342"},"yt$uploaded":{"$t":"2013-12-02T23:22:20.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"OQVHWsTHcoc"}},"yt$statistics":{"favoriteCount":"0","viewCount":"747990"},"yt$position":{"$t":5}}]}}'
93
+ Copyright Basics (Global)","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"342"},"yt$uploaded":{"$t":"2013-12-02T23:22:20.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"OQVHWsTHcoc"}},"yt$statistics":{"favoriteCount":"0","viewCount":"888537"},"yt$position":{"$t":5}}]}}'
94
94
  http_version:
95
- recorded_at: Wed, 29 Oct 2014 20:36:16 GMT
95
+ recorded_at: Tue, 09 Dec 2014 19:27:37 GMT
96
96
  recorded_with: VCR 2.9.3
@@ -0,0 +1,168 @@
1
+ # encoding: UTF-8
2
+ require 'spec_helper'
3
+
4
+ describe VideoInfo::Providers::Wistia do
5
+
6
+ describe '.usable?' do
7
+ subject { VideoInfo::Providers::Wistia.usable?(url) }
8
+
9
+ context 'with wistia url' do
10
+ let(:url) { 'http://fast.wistia.net/embed/iframe/rs1me54mpw' }
11
+ it { is_expected.to be_truthy }
12
+ end
13
+
14
+ context 'with other url' do
15
+ let(:url) { 'http://www.youtube.com/898029' }
16
+ it { is_expected.to be_falsey }
17
+ end
18
+ end
19
+
20
+ describe '#available?' do
21
+ context 'with valid video', :vcr do
22
+ subject { VideoInfo.new('http://fast.wistia.net/embed/iframe/rs1me54mpw') }
23
+
24
+ describe '#available?' do
25
+ subject { super().available? }
26
+ it { is_expected.to be_truthy }
27
+ end
28
+ end
29
+
30
+ context 'with invalid video', :vcr do
31
+ subject { VideoInfo.new('http://fast.wistia.net/embed/iframe/no_video') }
32
+
33
+ describe '#available?' do
34
+ subject { super().available? }
35
+ it { is_expected.to be_falsey }
36
+ end
37
+ end
38
+
39
+ end
40
+
41
+ context 'with video rs1me54mpw', :vcr do
42
+ subject { VideoInfo.new('http://fast.wistia.net/embed/iframe/rs1me54mpw') }
43
+
44
+ describe '#provider' do
45
+ subject { super().provider }
46
+ it { is_expected.to eq 'Wistia' }
47
+ end
48
+
49
+ describe '#video_id' do
50
+ subject { super().video_id }
51
+ it { is_expected.to eq 'rs1me54mpw' }
52
+ end
53
+
54
+ describe '#url' do
55
+ subject { super().url }
56
+ it { is_expected.to eq 'http://fast.wistia.net/embed/iframe/rs1me54mpw' }
57
+ end
58
+
59
+ describe '#embed_url' do
60
+ subject { super().embed_url }
61
+ it { is_expected.to eq '//fast.wistia.net/embed/iframe/rs1me54mpw' }
62
+ end
63
+
64
+ describe '#embed_code' do
65
+ subject { super().embed_code }
66
+ it { is_expected.to eq '<iframe src="//fast.wistia.net/embed/iframe/rs1me54mpw" frameborder="0"></iframe>' }
67
+ end
68
+
69
+ describe '#title' do
70
+ subject { super().title }
71
+ it { is_expected.to eq 'Lance Kalish - Yes To Group' }
72
+ end
73
+
74
+ describe '#duration' do
75
+ subject { super().duration }
76
+ it { is_expected.to eq 1214.83 }
77
+ end
78
+
79
+ describe '#width' do
80
+ subject { super().width }
81
+ it { is_expected.to eq 960 }
82
+ end
83
+
84
+ describe '#height' do
85
+ subject { super().height }
86
+ it { is_expected.to eq 540 }
87
+ end
88
+
89
+ describe '#thumbnail_small' do
90
+ subject { super().thumbnail_small }
91
+ it { is_expected.to eq 'https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540' }
92
+ end
93
+
94
+ describe '#thumbnail_medium' do
95
+ subject { super().thumbnail_small }
96
+ it { is_expected.to eq 'https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540' }
97
+ end
98
+
99
+ describe '#thumbnail_large' do
100
+ subject { super().thumbnail_small }
101
+ it { is_expected.to eq 'https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540' }
102
+ end
103
+ end
104
+
105
+ context 'with video pxonqr42is', :vcr do
106
+ subject { VideoInfo.new('http://fast.wistia.com/embed/medias/pxonqr42is') }
107
+
108
+ describe '#provider' do
109
+ subject { super().provider }
110
+ it { is_expected.to eq 'Wistia' }
111
+ end
112
+
113
+ describe '#video_id' do
114
+ subject { super().video_id }
115
+ it { is_expected.to eq 'pxonqr42is' }
116
+ end
117
+
118
+ describe '#url' do
119
+ subject { super().url }
120
+ it { is_expected.to eq 'http://fast.wistia.com/embed/medias/pxonqr42is' }
121
+ end
122
+
123
+ describe '#embed_url' do
124
+ subject { super().embed_url }
125
+ it { is_expected.to eq '//fast.wistia.net/embed/iframe/pxonqr42is' }
126
+ end
127
+
128
+ describe '#embed_code' do
129
+ subject { super().embed_code }
130
+ it { is_expected.to eq '<iframe src="//fast.wistia.net/embed/iframe/pxonqr42is" frameborder="0"></iframe>' }
131
+ end
132
+
133
+ describe '#title' do
134
+ subject { super().title }
135
+ it { is_expected.to eq 'Understanding Analytics' }
136
+ end
137
+
138
+ describe '#duration' do
139
+ subject { super().duration }
140
+ it { is_expected.to eq 250.0 }
141
+ end
142
+
143
+ describe '#width' do
144
+ subject { super().width }
145
+ it { is_expected.to eq 960 }
146
+ end
147
+
148
+ describe '#height' do
149
+ subject { super().height }
150
+ it { is_expected.to eq 568 }
151
+ end
152
+
153
+ describe '#thumbnail_small' do
154
+ subject { super().thumbnail_small }
155
+ it { is_expected.to eq 'https://embed-ssl.wistia.com/deliveries/0fccbdc60ade35723f79f1c002bc61b135b610fa.jpg?image_crop_resized=960x540' }
156
+ end
157
+
158
+ describe '#thumbnail_medium' do
159
+ subject { super().thumbnail_small }
160
+ it { is_expected.to eq 'https://embed-ssl.wistia.com/deliveries/0fccbdc60ade35723f79f1c002bc61b135b610fa.jpg?image_crop_resized=960x540' }
161
+ end
162
+
163
+ describe '#thumbnail_large' do
164
+ subject { super().thumbnail_small }
165
+ it { is_expected.to eq 'https://embed-ssl.wistia.com/deliveries/0fccbdc60ade35723f79f1c002bc61b135b610fa.jpg?image_crop_resized=960x540' }
166
+ end
167
+ end
168
+ end
data/video_info.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "video_info/version"
4
+ require 'video_info/version'
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'video_info'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibaud Guillaume-Gentil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-12 00:00:00.000000000 Z
11
+ date: 2014-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -157,6 +157,7 @@ files:
157
157
  - lib/video_info/providers/vimeo.rb
158
158
  - lib/video_info/providers/vimeoplaylist.rb
159
159
  - lib/video_info/providers/vkontakte.rb
160
+ - lib/video_info/providers/wistia.rb
160
161
  - lib/video_info/providers/youtube.rb
161
162
  - lib/video_info/providers/youtubeplaylist.rb
162
163
  - lib/video_info/version.rb
@@ -205,6 +206,22 @@ files:
205
206
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_title/.yml
206
207
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_view_count/.yml
207
208
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_width/.yml
209
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_invalid_video/_available_/.yml
210
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_valid_video/_available_/.yml
211
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_duration/.yml
212
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_height/.yml
213
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_large/.yml
214
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_medium/.yml
215
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_small/.yml
216
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_title/.yml
217
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_width/.yml
218
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_duration/.yml
219
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_height/.yml
220
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_large/.yml
221
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_medium/.yml
222
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_small/.yml
223
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_title/.yml
224
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_width/.yml
208
225
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/_available_/.yml
209
226
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/_available_/.yml
210
227
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/_available_/.yml
@@ -231,6 +248,7 @@ files:
231
248
  - spec/lib/video_info/providers/vimeo_playlist_spec.rb
232
249
  - spec/lib/video_info/providers/vimeo_spec.rb
233
250
  - spec/lib/video_info/providers/vkontakte_spec.rb
251
+ - spec/lib/video_info/providers/wistia_spec.rb
234
252
  - spec/lib/video_info/providers/youtube_playlist_spec.rb
235
253
  - spec/lib/video_info/providers/youtube_spec.rb
236
254
  - spec/lib/video_info_spec.rb
@@ -306,6 +324,22 @@ test_files:
306
324
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_title/.yml
307
325
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_view_count/.yml
308
326
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_width/.yml
327
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_invalid_video/_available_/.yml
328
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_valid_video/_available_/.yml
329
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_duration/.yml
330
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_height/.yml
331
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_large/.yml
332
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_medium/.yml
333
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_small/.yml
334
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_title/.yml
335
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_width/.yml
336
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_duration/.yml
337
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_height/.yml
338
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_large/.yml
339
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_medium/.yml
340
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_small/.yml
341
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_title/.yml
342
+ - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_width/.yml
309
343
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/_available_/.yml
310
344
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/_available_/.yml
311
345
  - spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/_available_/.yml
@@ -332,6 +366,7 @@ test_files:
332
366
  - spec/lib/video_info/providers/vimeo_playlist_spec.rb
333
367
  - spec/lib/video_info/providers/vimeo_spec.rb
334
368
  - spec/lib/video_info/providers/vkontakte_spec.rb
369
+ - spec/lib/video_info/providers/wistia_spec.rb
335
370
  - spec/lib/video_info/providers/youtube_playlist_spec.rb
336
371
  - spec/lib/video_info/providers/youtube_spec.rb
337
372
  - spec/lib/video_info_spec.rb