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.
No trobeu una pel路l铆cula o una s猫rie? Inicieu la sessi贸 per a crear-la.
Desitgeu valorar o afegir aquest element a una llista?
No en sou membre?
Resposta per billybobbob
el 23 r de 2017 a les 1:28 A.M.
Thanks for the great explanation and the quick responses!
Resposta per NikkyYo
el 30 r de 2017 a les 2:23 P.M.
How can i query the api to get a download link to a movie
Resposta per Travis Bell
el 30 r de 2017 a les 3:22 P.M.
We don't have any download links. Only YouTube ids to trailers.
Resposta per maverickvivek22
el 3 i de 2018 a les 1:45 A.M.
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?
Resposta per Travis Bell
el 3 i de 2018 a les 11:41 A.M.
@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.
Resposta per maverickvivek22
el 3 i de 2018 a les 11:45 A.M.
Thanks a lot for showing the way. I'll definitely try and explore and share the work with you. Cheers.
Resposta per albertoivo
el 29 l de 2018 a les 2:51 P.M.
I have the following code:
And the following output:
How can I get the
source
attribute in here? I'm using Python.Resposta per Travis Bell
el 31 l de 2018 a les 11:33 A.M.
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.
Resposta per Masera
el 20 n de 2018 a les 5:06 A.M.
What about tv series traillers? How do we structure the Api call?
Resposta per Travis Bell
el 20 n de 2018 a les 6:29 P.M.
It's the same, please do make sure to read the documentation.
or with append to response:
Cheers.
Resposta per bgopikrishna
el 24 l de 2019 a les 11:45 A.M.
@travisbell How to get both movie credits and trailers from single API call?
Resposta per Travis Bell
el 24 l de 2019 a les 11:52 A.M.
Hi @bgopikrishna,
As an example.
Resposta per bgopikrishna
el 24 l de 2019 a les 12:52 P.M.
@travisbell Thanks.
Resposta per thidasaone
el 20 , de 2019 a les 4:37 A.M.
Hi @travisbell ,
I tried to append the movie details to the response. But I'm getting the response like this.
My request is:
Resposta per ticao2 馃嚙馃嚪 pt-BR
el 21 , de 2019 a les 10:59 P.M.
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.