When I download the API for the Movie API, there is a video object in the results, but it is set to false.
It looks like this:
"video":false,
I'm getting the API from this URL: http://api.themoviedb.org/3/movie/popular
Is it possible to download video trailers from this API? I ask because I notice that there are video trailers on www.themoviedb.org.
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de aharon
le 7 mars 2017 Ă 13h41
Hi travis i thast dont now how to do it in the cod exemple were to past the url how to start the video i need the youtubeplayerView?? but thank you any way
Réponse de Travis Bell
le 7 mars 2017 Ă 16h26
Unfortunately I have no idea about anything to do with youtubeplayerView. Never used it
but asking for that kind of support here is probably not the best place. Somewhere like Stack Overflow would be better suited for that kind of question.
Cheers.
Réponse de aharon
le 8 mars 2017 Ă 09h40
Hi Travis
how the video is gonna start to play ?? its going direct to the YouTube when you click the button OUR the video is playing in the activity when you press the button
thank you
Réponse de Travis Bell
le 8 mars 2017 Ă 10h08
I'm not sure how that's done locally, I believe there's a way to play them inline. You would have to check out the YouTube API and Android libraries.
Réponse de aharon
le 8 mars 2017 Ă 10h10
thank you travis
Réponse de Mohab
le 13 septembre 2017 Ă 14h47
@travisbell sorry how i can get videos of popular movies ( the category of sorting criteria is popular )
Réponse de Mind-Boggling
le 23 avril 2023 Ă 20h34
The link that Kevin made doesn't work at all.
Also, a lot of the examples in your documentaries don't work, e.g. https://api.themoviedb.org/3/movie/157336?api_key={api_key}&append_to_response=videos,images
Could someone look into it?
Réponse de ticao2 🇧🇷 pt-BR
le 24 avril 2023 Ă 07h30
This conversation with Kevin is from 2015.
The documents are now here.
https://developers.themoviedb.org/3/getting-started/introduction
And soon they will go to another service.
In the case of videos, trailers, the new link is here:
https://developers.themoviedb.org/3/movies/get-movie-videos
I just tested it and it worked correctly for me.
https://api.themoviedb.org/3/movie/157336?api_key=THE_KEY&append_to_response=videos,images
It's the basic data of the movie Interstellar (2014)
https://www.themoviedb.org/movie/157336-interstellar
and at the end the videos, trailers.
Réponse de maych1997
le 23 janvier 2024 Ă 03h05
Is there any way to get the same trailers of movies and tv shown on website's home page, in the app as well? If yes what is the logic used there? Thank You
Réponse de maych1997
le 23 janvier 2024 Ă 03h06
Basically, What is the logic used to display the trailers there for both movies and tv shows can anyone explain?