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.
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da billybobbob
il 23 novembre, 2017 alle 1:28AM
Thanks for the great explanation and the quick responses!
Risposta da NikkyYo
il 30 novembre, 2017 alle 2:23PM
How can i query the api to get a download link to a movie
Risposta da Travis Bell
il 30 novembre, 2017 alle 3:22PM
We don't have any download links. Only YouTube ids to trailers.
Risposta da maverickvivek22
il 3 febbraio, 2018 alle 1:45AM
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?
Risposta da Travis Bell
il 3 febbraio, 2018 alle 11:41AM
@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.
Risposta da maverickvivek22
il 3 febbraio, 2018 alle 11:45AM
Thanks a lot for showing the way. I'll definitely try and explore and share the work with you. Cheers.
Risposta da albertoivo
il 29 marzo, 2018 alle 2:51PM
I have the following code:
And the following output:
How can I get the
source
attribute in here? I'm using Python.Risposta da Travis Bell
il 31 marzo, 2018 alle 11:33AM
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.
Risposta da Masera
il 20 settembre, 2018 alle 5:06AM
What about tv series traillers? How do we structure the Api call?
Risposta da Travis Bell
il 20 settembre, 2018 alle 6:29PM
It's the same, please do make sure to read the documentation.
or with append to response:
Cheers.
Risposta da bgopikrishna
il 24 marzo, 2019 alle 11:45AM
@travisbell How to get both movie credits and trailers from single API call?
Risposta da Travis Bell
il 24 marzo, 2019 alle 11:52AM
Hi @bgopikrishna,
As an example.
Risposta da bgopikrishna
il 24 marzo, 2019 alle 12:52PM
@travisbell Thanks.
Risposta da thidasaone
il 20 aprile, 2019 alle 4:37AM
Hi @travisbell ,
I tried to append the movie details to the response. But I'm getting the response like this.
My request is:
Risposta da ticao2 🇧🇷 pt-BR
il 21 aprile, 2019 alle 10:59PM
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.