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.
Nem találsz egy filmet vagy egy sorozatot? Jelentkezz be és hozd létre.
Want to rate or add this item to a list?
Még nem tag?
aharon válaszolt
Beküldve: 2017. március 7. 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
Travis Bell válaszolt
Beküldve: 2017. március 7. 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.
aharon válaszolt
Beküldve: 2017. március 8. 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
Travis Bell válaszolt
Beküldve: 2017. március 8. 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.
aharon válaszolt
Beküldve: 2017. március 8. 10:10
thank you travis
Mohab válaszolt
Beküldve: 2017. szeptember 13. 14:47
@travisbell sorry how i can get videos of popular movies ( the category of sorting criteria is popular )
Mind-Boggling válaszolt
Beküldve: 2023. április 23. 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?
ticao2 🇧🇷 pt-BR válaszolt
Beküldve: 2023. április 24. 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.
maych1997 válaszolt
Beküldve: 2024. január 23. 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
maych1997 válaszolt
Beküldve: 2024. január 23. 03:06
Basically, What is the logic used to display the trailers there for both movies and tv shows can anyone explain?