Hi how to display trailer from particular movie say for eg: from upcoming movies if selected one movie, where I need to display video trailer. How to get that link.
Thanks.
Es fehlt ein Film oder eine Serie? Logge dich ein zum ErgÀnzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufĂŒgen?
Kein Mitglied?
Antwort von Travis Bell
am 30. Oktober 2014 um 14:01
Hi Ramkumar,
I assume your'e referring to doing this on the API? If so, once you have an id, lets say Interstellar (id 157336), you can call the
/videos
method.You can of course use
append_to_response
to get the movie details and videos in a single query too:Cheers.
Antwort von mrudowsky
am 8. Juli 2015 um 19:42
How do I create the video url from key, name, site, size and type information form the json file?
Antwort von Travis Bell
am 9. Juli 2015 um 12:04
Since we link to YouTube, it's as simple as taking the
key
value and appending it to a youtube.com address like so:Has the YouTube key of
SUXWAEX2jlg
, so:Cheers.
Antwort von informatica
am 25. MĂ€rz 2016 um 05:35
Hi, in my apllication I have to search films by name. Is it possible to append video informations using "/search/movie" (I get always video=false). Thanks in advance!
Antwort von Travis Bell
am 25. MĂ€rz 2016 um 09:53
The
video
field returned in results has nothing to do with YouTube videos. It's simply the designation as to whether or not the item is what we call a video here on TMDb. For more about videos, check this link: https://www.themoviedb.org/documentation/editing/videosAntwort von informatica
am 25. MĂ€rz 2016 um 10:36
So, how can I get YouTube videos (trailers) with "/search/movie"? If this can't be done I have to get the id with the first api call and than get video informations with a second api call
Antwort von Travis Bell
am 25. MĂ€rz 2016 um 10:49
You can't from any of the list methods at this time. You would have to call the id via a second API call.
Antwort von informatica
am 25. MĂ€rz 2016 um 11:13
Ok, thanks for the very fast replies
Antwort von a.salem2
am 12. Dezember 2016 um 04:33
What may be the second api call? Can you please provide details steps for implementing the video trailer (I am creating this app using java) Also, I am doing a similar "search" api call, like informatica.
Antwort von Travis Bell
am 12. Dezember 2016 um 10:17
Hi @a.salem2 I created an API doc page that kind of goes through the basic process of what you're asking. You can read it here.
Antwort von NayirMichel
am 3. Mai 2017 um 07:00
how can I display the image for any trailer embedded in the movie?
Antwort von Travis Bell
am 3. Mai 2017 um 11:45
@NayirMichel Which image are you wanting to display?
Antwort von lanre
am 12. Mai 2017 um 11:37
@travisbell I think he means the thumbnail to display, with e.g. a play icon on it, showing that it's a video that will be played on tapping that play icon.
Antwort von Flixmag
am 13. Mai 2017 um 07:25
??
Antwort von Travis Bell
am 13. Mai 2017 um 09:23
@Flixmag Do you have a question?