Australia's Leading Digital Marketing Experts. T. 1300 235 433  |  Aggregation Enquires Welcome

Example Data Returned By YouTube Video Request

This sample array supports an article here ("Display YouTube Videos, Video Views and other Data with PHP or WordPress Shortcode"). Data retrieved 10th August 2017. The array assists in determining what data is available via the requests published in the linked article. Additional data is available by modifying the request URL as per guidelines on the YouTube developer website.

■ ■ ■

1
Array
2
(
3
    [kind] => youtube#videoListResponse
4
    [etag] => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
5
    [pageInfo] => Array
6
        (
7
            [totalResults] => 1
8
            [resultsPerPage] => 1
9
        )
10
 
11
    [items] => Array
12
        (
13
            [0] => Array
14
                (
15
                    [kind] => youtube#video
16
                    [etag] => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
17
                    [id] => C7O7R_Vk7Ko
18
                    [snippet] => Array
19
                        (
20
                            [publishedAt] => 2012-09-14T17:38:40.000Z
21
                            [channelId] => UCQq1yfBzyvRFGDs2TjmZTZw
22
                            [title] => Boeing 777 Engine Failure during Takeoff
23
                            [description] => Demonstration of an engine failure during the takeoff roll in a Boeing 777.
24
 
25
This video was produced for the CRM/NTS training environment so, as such, doesn't necessarily demonstrate or reflect best operating or SOP compliant practices.
26
 
27
These videos were produced for exclusive use by BeliefMedia. There is no airline affiliation.
28
 
29
For more videos (and a forthcoming training video series), subscribe to our website at http://www.flight.org.
30
 
31
You can listen to our podcast at http://www.FlightPodcast.com, subscribe to us on Twitter at http://twitter.com/flightorg or on Facebook at http://www.facebook.com/flightorg
32
                            [thumbnails] => Array
33
                                (
34
                                    [default] => Array
35
                                        (
36
                                            [url] => https://i.ytimg.com/vi/C7O7R_Vk7Ko/default.jpg
37
                                            [width] => 120
38
                                            [height] => 90
39
                                        )
40
 
41
                                    [medium] => Array
42
                                        (
43
                                            [url] => https://i.ytimg.com/vi/C7O7R_Vk7Ko/mqdefault.jpg
44
                                            [width] => 320
45
                                            [height] => 180
46
                                        )
47
 
48
                                    [high] => Array
49
                                        (
50
                                            [url] => https://i.ytimg.com/vi/C7O7R_Vk7Ko/hqdefault.jpg
51
                                            [width] => 480
52
                                            [height] => 360
53
                                        )
54
 
55
                                    [standard] => Array
56
                                        (
57
                                            [url] => https://i.ytimg.com/vi/C7O7R_Vk7Ko/sddefault.jpg
58
                                            [width] => 640
59
                                            [height] => 480
60
                                        )
61
 
62
                                    [maxres] => Array
63
                                        (
64
                                            [url] => https://i.ytimg.com/vi/C7O7R_Vk7Ko/maxresdefault.jpg
65
                                            [width] => 1280
66
                                            [height] => 720
67
                                        )
68
 
69
                                )
70
 
71
                            [channelTitle] => Flight
72
                            [tags] => Array
73
                                (
74
                                    [0] => boeing 777
75
                                    [1] => boeing
76
                                    [2] => crew resource management
77
                                    [3] => aviation
78
                                    [4] => airlines
79
                                    [5] => airline
80
                                    [6] => cockpit
81
                                )
82
 
83
                            [categoryId] => 19
84
                            [liveBroadcastContent] => none
85
                            [localized] => Array
86
                                (
87
                                    [title] => Boeing 777 Engine Failure during Takeoff
88
                                    [description] => Demonstration of an engine failure during the takeoff roll in a Boeing 777.
89
 
90
This video was produced for the CRM/NTS training environment so, as such, doesn't necessarily demonstrate or reflect best operating or SOP compliant practices.
91
 
92
These videos were produced for exclusive use by BeliefMedia. There is no airline affiliation.
93
 
94
For more videos (and a forthcoming training video series), subscribe to our website at http://www.flight.org.
95
 
96
You can listen to our podcast at http://www.FlightPodcast.com, subscribe to us on Twitter at http://twitter.com/flightorg or on Facebook at http://www.facebook.com/flightorg
97
                                )
98
 
99
                        )
100
 
101
                    [contentDetails] => Array
102
                        (
103
                            [duration] => PT3M4S
104
                            [dimension] => 2d
105
                            [definition] => hd
106
                            [caption] => false
107
                            [licensedContent] => 1
108
                            [projection] => rectangular
109
                        )
110
 
111
                    [statistics] => Array
112
                        (
113
                            [viewCount] => 3803697
114
                            [likeCount] => 3948
115
                            [dislikeCount] => 836
116
                            [favoriteCount] => 0
117
                            [commentCount] => 607
118
                        )
119
 
120
                )
121
 
122
        )
123
 
124
)