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.
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת billybobbob
ב-נובמבר 23, 2017 ב-1:28לפני חצות יום
Thanks for the great explanation and the quick responses!
תגובה מאת NikkyYo
ב-נובמבר 30, 2017 ב-2:23אחרי חצות יום
How can i query the api to get a download link to a movie
תגובה מאת Travis Bell
ב-נובמבר 30, 2017 ב-3:22אחרי חצות יום
We don't have any download links. Only YouTube ids to trailers.
תגובה מאת maverickvivek22
ב-פברואר 3, 2018 ב-1:45לפני חצות יום
Hello Travis. Hope you're doing well. Man, I am facing an issue and it'll be great if you could help. See I am using the link to get all video resources with the help of the movie id. And fetching the youtube key of the first element in the string. Its working good, though. But the issues are for some movies I am unable to show my users the trailer as it has been blocked on the copyrights grounds. To bypass this issue I tried to retrieve the youtube key of the second element but it's throwing an error as most of the movies don't have a second element. How should I go around this, then?
תגובה מאת Travis Bell
ב-פברואר 3, 2018 ב-11:41לפני חצות יום
@maverickvivek22 The only way I can think of to improve it on your end would be to use the YouTube API yourself with the keys we provide. The YouTube API provides the relevant regional geolocked data as well as whether the video is still available.
There are plans to do some of that integration on our end here eventually but I haven't found time to get to it.
תגובה מאת maverickvivek22
ב-פברואר 3, 2018 ב-11:45לפני חצות יום
Thanks a lot for showing the way. I'll definitely try and explore and share the work with you. Cheers.
תגובה מאת albertoivo
ב-מרץ 29, 2018 ב-2:51אחרי חצות יום
I have the following code:
And the following output:
How can I get the
source
attribute in here? I'm using Python.תגובה מאת Travis Bell
ב-מרץ 31, 2018 ב-11:33לפני חצות יום
Hi @albertoivo,
Unfortunately, I can't answer anything to do with Python as I have never used it. Unless someone familiar with Python happens to see this you might not get much farther. For coding issues, I usually recommend asking on somewhere like Stack Overflow.
תגובה מאת Masera
ב-ספטמבר 20, 2018 ב-5:06לפני חצות יום
What about tv series traillers? How do we structure the Api call?
תגובה מאת Travis Bell
ב-ספטמבר 20, 2018 ב-6:29אחרי חצות יום
It's the same, please do make sure to read the documentation.
or with append to response:
Cheers.
תגובה מאת bgopikrishna
ב-מרץ 24, 2019 ב-11:45לפני חצות יום
@travisbell How to get both movie credits and trailers from single API call?
תגובה מאת Travis Bell
ב-מרץ 24, 2019 ב-11:52לפני חצות יום
Hi @bgopikrishna,
As an example.
תגובה מאת bgopikrishna
ב-מרץ 24, 2019 ב-12:52אחרי חצות יום
@travisbell Thanks.
תגובה מאת thidasaone
ב-אפריל 20, 2019 ב-4:37לפני חצות יום
Hi @travisbell ,
I tried to append the movie details to the response. But I'm getting the response like this.
My request is:
תגובה מאת ticao2 🇧🇷 pt-BR
ב-אפריל 21, 2019 ב-10:59אחרי חצות יום
Either your KEY was canceled or was not placed correctly in the Request.
Take a test.
Click to go to your Profile > API: https://www.themoviedb.org/settings/api
At the bottom of the page, below, you'll find the Example API Request.
Use this example to do a search using your browser.
If it works, your key is OK.
If it does not work, let us know right here.