I cant figure out, how to get items from this JSON. Please, can you help me? I have tried for example JSON.stringify or taken variable and written variable.items or variable.responseJSON.items...but it always doesnt work. Thank you very much.
EDIT:
responseText:
{…}  abort: function abort(e)  always: function always()  catch: function catch(e)  done: function add()  fail: function add()  getAllResponseHeaders: function getAllResponseHeaders()  getResponseHeader: function getResponseHeader(e)  overrideMimeType: function overrideMimeType(e)  pipe: function pipe()  progress: function add()  promise: function promise(e)  readyState: 4  responseJSON: Object { items: (6) […] }  responseText: "{\n "items": [\n {\n "id": "WibQCYgmb8w",\n "snippet": {\n "title": "27 8 Kněhyně štafeta dvojic starší žáci 1 pokus",\n "thumbnails": {\n "default": {\n "url": "https://i.ytimg.com/vi/WibQCYgmb8w/default.jpg",\n "width": 120,\n "height": 90\n },\n "medium": {\n "url": "https://i.ytimg.com/vi/WibQCYgmb8w/mqdefault.jpg",\n "width": 320,\n "height": 180\n },\n "high": {\n "url": "https://i.ytimg.com/vi/WibQCYgmb8w/hqdefault.jpg",\n "width": 480,\n "height": 360\n },\n "standard": {\n "url": "https://i.ytimg.com/vi/WibQCYgmb8w/sddefault.jpg",\n "width": 640,\n "height": 480\n }\n }\n }\n },\n {\n "id": "1RmUpp_iryc",\n "snippet": {\n "title": "27 8 Kněhyně štafeta dvojic starší žáci 2 pokus",\n "thumbnails": {\n "default": {\n "url": "https://i.ytimg.com/vi/1RmUpp_iryc/default.jpg",\n "width": 120,\n "height": 90\n },\n "medium": {\n "url": "https://i.ytimg.com/vi/1RmUpp_iryc/mqdefault.jpg",\n "width": 320,\n "height": 180\n },\n "high": {\n "url": "https://i.ytimg.com/vi/1RmUpp_iryc/hqdefault.jpg",\n "width": 480,\n "height": 360\n },\n "standard": {\n "url": "https://i.ytimg.com/vi/1RmUpp_iryc/sddefault.jpg",\n "width": 640,\n "height": 480\n }\n }\n }\n },\n {\n "id": "IQsrulcu5r4",\n "snippet": {\n "title": "27 8 Kněhyně štafeta dvojic mladší žáci 1 pokus",\n "thumbnails": {\n "default": {\n "url": "https://i.ytimg.com/vi/IQsrulcu5r4/default.jpg",\n "width": 120,\n "height": 90\n },\n "medium": {\n "url": "https://i.ytimg.com/vi/IQsrulcu5r4/mqdefault.jpg",\n "width": 320,\n "height": 180\n },\n "high": {\n "url": "https://i.ytimg.com/vi/IQsrulcu5r4/hqdefault.jpg",\n "width": 480,\n "height": 360\n },\n "standard": {\n "url": "https://i.ytimg.com/vi/IQsrulcu5r4/sddefault.jpg",\n "width": 640,\n "height": 480\n }\n }\n }\n },\n {\n "id": "F7F54YirWSs",\n "snippet": {\n "title": "27 8 Kněhyně štafeta dvojic mladší žáci 2 pokus",\n "thumbnails": {\n "default": {\n "url": "https://i.ytimg.com/vi/F7F54YirWSs/default.jpg",\n "width": 120,\n "height": 90\n },\n "medium": {\n "url": "https://i.ytimg.com/vi/F7F54YirWSs/mqdefault.jpg",\n "width": 320,\n "height": 180\n },\n "high": {\n "url": "https://i.ytimg.com/vi/F7F54YirWSs/hqdefault.jpg",\n "width": 480,\n "height": 360\n },\n "standard": {\n "url": "https://i.ytimg.com/vi/F7F54YirWSs/sddefault.jpg",\n "width": 640,\n "height": 480\n }\n }\n }\n },\n {\n "id": "rMJ-eJWXXQQ",\n "snippet": {\n "title": "27 8 Kněhyně požární útok mladší žáci 1 pokus",\n "thumbnails": {\n "default": {\n "url": "https://i.ytimg.com/vi/rMJ-eJWXXQQ/default.jpg",\n "width": 120,\n "height": 90\n },\n "medium": {\n "url": "https://i.ytimg.com/vi/rMJ-eJWXXQQ/mqdefault.jpg",\n "width": 320,\n "height": 180\n },\n "high": {\n "url": "https://i.ytimg.com/vi/rMJ-eJWXXQQ/hqdefault.jpg",\n "width": 480,\n "height": 360\n },\n "standard": {\n "url": "https://i.ytimg.com/vi/rMJ-eJWXXQQ/sddefault.jpg",\n "width": 640,\n "height": 480\n }\n }\n }\n },\n {\n "id": "INi4Dvh2ozI",\n "snippet": {\n "title": "27 8 Kněhyně požární útok mladší žáci 2 pokus",\n "thumbnails": {\n "default": {\n "url": "https://i.ytimg.com/vi/INi4Dvh2ozI/default.jpg",\n "width": 120,\n "height": 90\n },\n "medium": {\n "url": "https://i.ytimg.com/vi/INi4Dvh2ozI/mqdefault.jpg",\n "width": 320,\n "height": 180\n },\n "high": {\n "url": "https://i.ytimg.com/vi/INi4Dvh2ozI/hqdefault.jpg",\n "width": 480,\n "height": 360\n },\n "standard": {\n "url": "https://i.ytimg.com/vi/INi4Dvh2ozI/sddefault.jpg",\n "width": 640,\n "height": 480\n }\n }\n }\n }\n ]\n}\n"  setRequestHeader: function setRequestHeader(e, t)  state: function state()  status: 200  statusCode: function statusCode(e)  statusText: "OK"  then: function then(t, r, i)  : Object { … } videogalerie.php:257:14
 
    