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.
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת Travis Bell
ב-אוקטובר 30, 2014 ב-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
ב-יולי 8, 2015 ב-7:42אחרי חצות יום
How do I create the video url from key, name, site, size and type information form the json file?
תגובה מאת Travis Bell
ב-יולי 9, 2015 ב-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
ב-מרץ 25, 2016 ב-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
ב-מרץ 25, 2016 ב-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/videosתגובה מאת informatica
ב-מרץ 25, 2016 ב-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
ב-מרץ 25, 2016 ב-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
ב-מרץ 25, 2016 ב-11:13לפני חצות יום
Ok, thanks for the very fast replies
תגובה מאת a.salem2
ב-דצמבר 12, 2016 ב-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
ב-דצמבר 12, 2016 ב-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
ב-מאי 3, 2017 ב-7:00לפני חצות יום
how can I display the image for any trailer embedded in the movie?
תגובה מאת Travis Bell
ב-מאי 3, 2017 ב-11:45לפני חצות יום
@NayirMichel Which image are you wanting to display?
תגובה מאת lanre
ב-מאי 12, 2017 ב-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
ב-מאי 13, 2017 ב-7:25לפני חצות יום
??
תגובה מאת Travis Bell
ב-מאי 13, 2017 ב-9:23לפני חצות יום
@Flixmag Do you have a question?