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?