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.
- checksums.yaml +4 -4
- data/README.md +14 -0
- data/lib/video_info.rb +5 -1
- data/lib/video_info/provider.rb +16 -10
- data/lib/video_info/providers/dailymotion.rb +2 -4
- data/lib/video_info/providers/vimeo.rb +1 -3
- data/lib/video_info/providers/vimeoplaylist.rb +0 -2
- data/lib/video_info/providers/vkontakte.rb +10 -13
- data/lib/video_info/providers/wistia.rb +63 -0
- data/lib/video_info/providers/youtube.rb +6 -4
- data/lib/video_info/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_This_video_does_not_exist_or_has_been_deleted_/_available_/.yml +11 -7
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_valid_video/_available_/.yml +9 -5
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_date/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_description/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_duration/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_keywords/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_large/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_medium/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_small/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_title/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_view_count/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_password_required_video/_available_/.yml +5 -5
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/_available_/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_date/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/.yml +11 -11
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_duration/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_height/.yml +13 -13
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_keywords/.yml +12 -12
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_small/.yml +13 -13
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_title/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_view_count/.yml +12 -12
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_width/.yml +12 -12
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_invalid_playlist/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_valid_playlist/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_description/.yml +8 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_large/.yml +9 -9
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_medium/.yml +9 -9
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_small/.yml +8 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_title/.yml +8 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_videos/.yml +27 -27
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/_available_/.yml +3 -3
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/_available_/.yml +1084 -1058
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/_title/.yml +1383 -1272
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_description/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_duration/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_code/.yml +1084 -1058
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_url/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_height/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_keywords/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_title/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_view_count/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_width/.yml +1084 -1058
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_invalid_video/_available_/.yml +65 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_valid_video/_available_/.yml +67 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_duration/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_height/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_large/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_medium/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_small/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_title/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_width/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_duration/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_height/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_large/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_medium/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_small/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_title/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_width/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_date/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_description/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_duration/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_keywords/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_large/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_medium/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_small/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_title/.yml +11 -9
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_view_count/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_invalid_playlist/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_valid_playlist/_available_/.yml +5 -5
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL0E8117603D70E10A_in_embed_path/_videos/.yml +5 -5
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_description/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_large/.yml +13 -15
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_medium/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_small/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_title/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_videos/.yml +11 -11
- data/spec/lib/video_info/providers/wistia_spec.rb +168 -0
- data/video_info.gemspec +1 -1
- metadata +37 -2
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/pxonqr42is
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.3
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.9
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Status:
|
26
|
+
- 200 OK
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- '*'
|
29
|
+
Cache-Control:
|
30
|
+
- public, no-cache
|
31
|
+
X-Ua-Compatible:
|
32
|
+
- IE=Edge,chrome=1
|
33
|
+
P3p:
|
34
|
+
- CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
|
35
|
+
X-Request-Id:
|
36
|
+
- 64fbc9d55eb6cf1444f09036dffd7606
|
37
|
+
X-Runtime:
|
38
|
+
- '0.061998'
|
39
|
+
X-Rack-Cache:
|
40
|
+
- miss
|
41
|
+
Via:
|
42
|
+
- 1.1 varnish
|
43
|
+
- 1.1 varnish
|
44
|
+
Content-Length:
|
45
|
+
- '654'
|
46
|
+
Accept-Ranges:
|
47
|
+
- bytes
|
48
|
+
Date:
|
49
|
+
- Tue, 09 Dec 2014 06:21:57 GMT
|
50
|
+
Age:
|
51
|
+
- '2406'
|
52
|
+
Connection:
|
53
|
+
- keep-alive
|
54
|
+
X-Served-By:
|
55
|
+
- cache-ord1726-ORD, cache-syd1623-SYD
|
56
|
+
X-Cache:
|
57
|
+
- MISS, HIT
|
58
|
+
X-Cache-Hits:
|
59
|
+
- 0, 2
|
60
|
+
X-Timer:
|
61
|
+
- S1418106117.724050,VS0,VE0
|
62
|
+
Vary:
|
63
|
+
- X-Forwarded-Proto
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/pxonqr42is\"
|
67
|
+
allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
|
68
|
+
name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
|
69
|
+
oallowfullscreen msallowfullscreen width=\"960\" height=\"568\"></iframe>","width":960,"height":568,"provider_name":"Wistia,
|
70
|
+
Inc.","provider_url":"http://wistia.com","title":"Understanding Analytics","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/0fccbdc60ade35723f79f1c002bc61b135b610fa.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":250.0}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Tue, 09 Dec 2014 06:21:57 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/pxonqr42is
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.3
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.9
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Status:
|
26
|
+
- 200 OK
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- '*'
|
29
|
+
Cache-Control:
|
30
|
+
- public, no-cache
|
31
|
+
X-Ua-Compatible:
|
32
|
+
- IE=Edge,chrome=1
|
33
|
+
P3p:
|
34
|
+
- CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
|
35
|
+
X-Request-Id:
|
36
|
+
- 64fbc9d55eb6cf1444f09036dffd7606
|
37
|
+
X-Runtime:
|
38
|
+
- '0.061998'
|
39
|
+
X-Rack-Cache:
|
40
|
+
- miss
|
41
|
+
Via:
|
42
|
+
- 1.1 varnish
|
43
|
+
- 1.1 varnish
|
44
|
+
Content-Length:
|
45
|
+
- '654'
|
46
|
+
Accept-Ranges:
|
47
|
+
- bytes
|
48
|
+
Date:
|
49
|
+
- Tue, 09 Dec 2014 06:21:57 GMT
|
50
|
+
Age:
|
51
|
+
- '2407'
|
52
|
+
Connection:
|
53
|
+
- keep-alive
|
54
|
+
X-Served-By:
|
55
|
+
- cache-ord1726-ORD, cache-syd1620-SYD
|
56
|
+
X-Cache:
|
57
|
+
- MISS, HIT
|
58
|
+
X-Cache-Hits:
|
59
|
+
- 0, 5
|
60
|
+
X-Timer:
|
61
|
+
- S1418106117.820911,VS0,VE0
|
62
|
+
Vary:
|
63
|
+
- X-Forwarded-Proto
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/pxonqr42is\"
|
67
|
+
allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
|
68
|
+
name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
|
69
|
+
oallowfullscreen msallowfullscreen width=\"960\" height=\"568\"></iframe>","width":960,"height":568,"provider_name":"Wistia,
|
70
|
+
Inc.","provider_url":"http://wistia.com","title":"Understanding Analytics","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/0fccbdc60ade35723f79f1c002bc61b135b610fa.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":250.0}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Tue, 09 Dec 2014 06:21:57 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_duration/.yml
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.3
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.9
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Status:
|
26
|
+
- 200 OK
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- '*'
|
29
|
+
Cache-Control:
|
30
|
+
- public, no-cache
|
31
|
+
X-Ua-Compatible:
|
32
|
+
- IE=Edge,chrome=1
|
33
|
+
P3p:
|
34
|
+
- CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
|
35
|
+
X-Request-Id:
|
36
|
+
- 3c60e80379c8419e224ce5cd544722e2
|
37
|
+
X-Runtime:
|
38
|
+
- '0.145098'
|
39
|
+
X-Rack-Cache:
|
40
|
+
- miss
|
41
|
+
Via:
|
42
|
+
- 1.1 varnish
|
43
|
+
- 1.1 varnish
|
44
|
+
Content-Length:
|
45
|
+
- '660'
|
46
|
+
Accept-Ranges:
|
47
|
+
- bytes
|
48
|
+
Date:
|
49
|
+
- Tue, 09 Dec 2014 06:21:57 GMT
|
50
|
+
Age:
|
51
|
+
- '3767'
|
52
|
+
Connection:
|
53
|
+
- keep-alive
|
54
|
+
X-Served-By:
|
55
|
+
- cache-ord1732-ORD, cache-syd1620-SYD
|
56
|
+
X-Cache:
|
57
|
+
- MISS, HIT
|
58
|
+
X-Cache-Hits:
|
59
|
+
- 0, 3
|
60
|
+
X-Timer:
|
61
|
+
- S1418106117.419012,VS0,VE0
|
62
|
+
Vary:
|
63
|
+
- X-Forwarded-Proto
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
|
67
|
+
allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
|
68
|
+
name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
|
69
|
+
oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>","width":960,"height":540,"provider_name":"Wistia,
|
70
|
+
Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Tue, 09 Dec 2014 06:21:57 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_height/.yml
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.3
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.9
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Status:
|
26
|
+
- 200 OK
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- '*'
|
29
|
+
Cache-Control:
|
30
|
+
- public, no-cache
|
31
|
+
X-Ua-Compatible:
|
32
|
+
- IE=Edge,chrome=1
|
33
|
+
P3p:
|
34
|
+
- CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
|
35
|
+
X-Request-Id:
|
36
|
+
- 3c60e80379c8419e224ce5cd544722e2
|
37
|
+
X-Runtime:
|
38
|
+
- '0.145098'
|
39
|
+
X-Rack-Cache:
|
40
|
+
- miss
|
41
|
+
Via:
|
42
|
+
- 1.1 varnish
|
43
|
+
- 1.1 varnish
|
44
|
+
Content-Length:
|
45
|
+
- '660'
|
46
|
+
Accept-Ranges:
|
47
|
+
- bytes
|
48
|
+
Date:
|
49
|
+
- Tue, 09 Dec 2014 06:21:57 GMT
|
50
|
+
Age:
|
51
|
+
- '3767'
|
52
|
+
Connection:
|
53
|
+
- keep-alive
|
54
|
+
X-Served-By:
|
55
|
+
- cache-ord1732-ORD, cache-syd1621-SYD
|
56
|
+
X-Cache:
|
57
|
+
- MISS, HIT
|
58
|
+
X-Cache-Hits:
|
59
|
+
- 0, 3
|
60
|
+
X-Timer:
|
61
|
+
- S1418106117.511623,VS0,VE0
|
62
|
+
Vary:
|
63
|
+
- X-Forwarded-Proto
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
|
67
|
+
allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
|
68
|
+
name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
|
69
|
+
oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>","width":960,"height":540,"provider_name":"Wistia,
|
70
|
+
Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Tue, 09 Dec 2014 06:21:57 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.3
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.9
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Status:
|
26
|
+
- 200 OK
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- '*'
|
29
|
+
Cache-Control:
|
30
|
+
- public, no-cache
|
31
|
+
X-Ua-Compatible:
|
32
|
+
- IE=Edge,chrome=1
|
33
|
+
P3p:
|
34
|
+
- CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
|
35
|
+
X-Request-Id:
|
36
|
+
- 3c60e80379c8419e224ce5cd544722e2
|
37
|
+
X-Runtime:
|
38
|
+
- '0.145098'
|
39
|
+
X-Rack-Cache:
|
40
|
+
- miss
|
41
|
+
Via:
|
42
|
+
- 1.1 varnish
|
43
|
+
- 1.1 varnish
|
44
|
+
Content-Length:
|
45
|
+
- '660'
|
46
|
+
Accept-Ranges:
|
47
|
+
- bytes
|
48
|
+
Date:
|
49
|
+
- Tue, 09 Dec 2014 06:21:57 GMT
|
50
|
+
Age:
|
51
|
+
- '3767'
|
52
|
+
Connection:
|
53
|
+
- keep-alive
|
54
|
+
X-Served-By:
|
55
|
+
- cache-ord1732-ORD, cache-syd1621-SYD
|
56
|
+
X-Cache:
|
57
|
+
- MISS, HIT
|
58
|
+
X-Cache-Hits:
|
59
|
+
- 0, 6
|
60
|
+
X-Timer:
|
61
|
+
- S1418106117.669389,VS0,VE0
|
62
|
+
Vary:
|
63
|
+
- X-Forwarded-Proto
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
|
67
|
+
allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
|
68
|
+
name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
|
69
|
+
oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>","width":960,"height":540,"provider_name":"Wistia,
|
70
|
+
Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Tue, 09 Dec 2014 06:21:57 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.3
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.9
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Status:
|
26
|
+
- 200 OK
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- '*'
|
29
|
+
Cache-Control:
|
30
|
+
- public, no-cache
|
31
|
+
X-Ua-Compatible:
|
32
|
+
- IE=Edge,chrome=1
|
33
|
+
P3p:
|
34
|
+
- CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
|
35
|
+
X-Request-Id:
|
36
|
+
- 3c60e80379c8419e224ce5cd544722e2
|
37
|
+
X-Runtime:
|
38
|
+
- '0.145098'
|
39
|
+
X-Rack-Cache:
|
40
|
+
- miss
|
41
|
+
Via:
|
42
|
+
- 1.1 varnish
|
43
|
+
- 1.1 varnish
|
44
|
+
Content-Length:
|
45
|
+
- '660'
|
46
|
+
Accept-Ranges:
|
47
|
+
- bytes
|
48
|
+
Date:
|
49
|
+
- Tue, 09 Dec 2014 06:21:57 GMT
|
50
|
+
Age:
|
51
|
+
- '3767'
|
52
|
+
Connection:
|
53
|
+
- keep-alive
|
54
|
+
X-Served-By:
|
55
|
+
- cache-ord1732-ORD, cache-syd1621-SYD
|
56
|
+
X-Cache:
|
57
|
+
- MISS, HIT
|
58
|
+
X-Cache-Hits:
|
59
|
+
- 0, 5
|
60
|
+
X-Timer:
|
61
|
+
- S1418106117.616693,VS0,VE0
|
62
|
+
Vary:
|
63
|
+
- X-Forwarded-Proto
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
|
67
|
+
allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
|
68
|
+
name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
|
69
|
+
oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>","width":960,"height":540,"provider_name":"Wistia,
|
70
|
+
Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Tue, 09 Dec 2014 06:21:57 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.3
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- '*/*'
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx/1.0.9
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Status:
|
26
|
+
- 200 OK
|
27
|
+
Access-Control-Allow-Origin:
|
28
|
+
- '*'
|
29
|
+
Cache-Control:
|
30
|
+
- public, no-cache
|
31
|
+
X-Ua-Compatible:
|
32
|
+
- IE=Edge,chrome=1
|
33
|
+
P3p:
|
34
|
+
- CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
|
35
|
+
X-Request-Id:
|
36
|
+
- 3c60e80379c8419e224ce5cd544722e2
|
37
|
+
X-Runtime:
|
38
|
+
- '0.145098'
|
39
|
+
X-Rack-Cache:
|
40
|
+
- miss
|
41
|
+
Via:
|
42
|
+
- 1.1 varnish
|
43
|
+
- 1.1 varnish
|
44
|
+
Content-Length:
|
45
|
+
- '660'
|
46
|
+
Accept-Ranges:
|
47
|
+
- bytes
|
48
|
+
Date:
|
49
|
+
- Tue, 09 Dec 2014 06:21:57 GMT
|
50
|
+
Age:
|
51
|
+
- '3767'
|
52
|
+
Connection:
|
53
|
+
- keep-alive
|
54
|
+
X-Served-By:
|
55
|
+
- cache-ord1732-ORD, cache-syd1621-SYD
|
56
|
+
X-Cache:
|
57
|
+
- MISS, HIT
|
58
|
+
X-Cache-Hits:
|
59
|
+
- 0, 4
|
60
|
+
X-Timer:
|
61
|
+
- S1418106117.562335,VS0,VE0
|
62
|
+
Vary:
|
63
|
+
- X-Forwarded-Proto
|
64
|
+
body:
|
65
|
+
encoding: UTF-8
|
66
|
+
string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
|
67
|
+
allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
|
68
|
+
name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
|
69
|
+
oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>","width":960,"height":540,"provider_name":"Wistia,
|
70
|
+
Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Tue, 09 Dec 2014 06:21:57 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|