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.
Не можеш да нађеш филм или серију? Пријави се да додаш.
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?
Одговор од aharon
дана 07. март 2017. у 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
Одговор од Travis Bell
дана 07. март 2017. у 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.
Одговор од aharon
дана 08. март 2017. у 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
Одговор од Travis Bell
дана 08. март 2017. у 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.
Одговор од aharon
дана 08. март 2017. у 10:10 AM
thank you travis
Одговор од Mohab
дана 13. септембар 2017. у 2:47 PM
@travisbell sorry how i can get videos of popular movies ( the category of sorting criteria is popular )
Одговор од Mind-Boggling
дана 23. април 2023. у 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?
Одговор од ticao2 🇧🇷 pt-BR
дана 24. април 2023. у 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.
Одговор од maych1997
дана 23. јануар 2024. у 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
Одговор од maych1997
дана 23. јануар 2024. у 3:06 AM
Basically, What is the logic used to display the trailers there for both movies and tv shows can anyone explain?