When I make call to the moviedb API for movie information. I get the following result:-
{
"id": 155,
"results": [{
"id": "58f284f49251413da7003225",
"iso_639_1": "en",
"iso_3166_1": "US",
"key": "kmJLuwP3MbY",
"name": "The Dark Knight - Official Trailer [HD]",
"site": "YouTube",
"size": 1080,
"type": "Trailer"
}]
}
How should I store the value of the key in a variable and later use that key in HTML url like this:-
YouTube: https://www.youtube.com/watch?v=(varible)