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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by aharon
on March 7, 2017 at 1:41 PM
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
Reply by Travis Bell
on March 7, 2017 at 4:26 PM
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.
Reply by aharon
on March 8, 2017 at 9:40 AM
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
Reply by Travis Bell
on March 8, 2017 at 10:08 AM
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.
Reply by aharon
on March 8, 2017 at 10:10 AM
thank you travis
Reply by Mohab
on September 13, 2017 at 2:47 PM
@travisbell sorry how i can get videos of popular movies ( the category of sorting criteria is popular )
Reply by Mind-Boggling
on April 23, 2023 at 8:34 PM
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?
Reply by ticao2 š§š· pt-BR
on April 24, 2023 at 7:30 AM
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.
Reply by maych1997
on January 23, 2024 at 3:05 AM
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
Reply by maych1997
on January 23, 2024 at 3:06 AM
Basically, What is the logic used to display the trailers there for both movies and tv shows can anyone explain?