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.
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!
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/videos
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
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.
@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.
Travis Bell 的回复
于 2014 年 10 月 30 日 2: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.
mrudowsky 的回复
于 2015 年 07 月 08 日 7:42下午
How do I create the video url from key, name, site, size and type information form the json file?
Travis Bell 的回复
于 2015 年 07 月 09 日 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.
informatica 的回复
于 2016 年 03 月 25 日 5: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!
Travis Bell 的回复
于 2016 年 03 月 25 日 9: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/videosinformatica 的回复
于 2016 年 03 月 25 日 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
Travis Bell 的回复
于 2016 年 03 月 25 日 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.
informatica 的回复
于 2016 年 03 月 25 日 11:13上午
Ok, thanks for the very fast replies
a.salem2 的回复
于 2016 年 12 月 12 日 4: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.
Travis Bell 的回复
于 2016 年 12 月 12 日 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.
NayirMichel 的回复
于 2017 年 05 月 03 日 7:00上午
how can I display the image for any trailer embedded in the movie?
Travis Bell 的回复
于 2017 年 05 月 03 日 11:45上午
@NayirMichel Which image are you wanting to display?
lanre 的回复
于 2017 年 05 月 12 日 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.
Flixmag 的回复
于 2017 年 05 月 13 日 7:25上午
??
Travis Bell 的回复
于 2017 年 05 月 13 日 9:23上午
@Flixmag Do you have a question?