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.
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por aharon
el 7 de marzo de 2017 a las 13:41
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
Contestado por Travis Bell
el 7 de marzo de 2017 a las 16:26
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.
Contestado por aharon
el 8 de marzo de 2017 a las 09:40
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
Contestado por Travis Bell
el 8 de marzo de 2017 a las 10:08
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.
Contestado por aharon
el 8 de marzo de 2017 a las 10:10
thank you travis
Contestado por Mohab
el 13 de septiembre de 2017 a las 14:47
@travisbell sorry how i can get videos of popular movies ( the category of sorting criteria is popular )
Contestado por Mind-Boggling
el 23 de abril de 2023 a las 20:34
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?
Contestado por ticao2 🇧🇷 pt-BR
el 24 de abril de 2023 a las 07:30
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.
Contestado por maych1997
el 23 de enero de 2024 a las 03:05
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
Contestado por maych1997
el 23 de enero de 2024 a las 03:06
Basically, What is the logic used to display the trailers there for both movies and tv shows can anyone explain?