Is there an option to connect two api's? Right now I got upcoming movies and currently playing in the cinema movies in 2 separate files. I would like to add to each one of them under the desc. a video window, is it possible?
Is there an option to connect to api's? Right now I got upcoming movies and currently playing in the cinema movies in 2 separate files. I would like to add to each one of them under the desc. a video window, is it possible?
You mean in one request?if so , i think that you have to get each of them separately and then combine them in your own app or website
dear mustafa,
its not showing video url,
there is 1 url there like youtube url and its not answer what people asking here.
do you have bettor good idea??
Răspuns de Travis Bell
pe data de 8 iulie 2017 la ora 12:36 PM
You want to use the videos API method for this.
And example call if you were calling Wonder Woman's videos would look like this:
I would recommend using
append_to_response
which combines the primary info method and videos calls together:Răspuns de farzin_android23
pe data de 30 iulie 2018 la ora 8:37 AM
no one works for me
Răspuns de farzin_android23
pe data de 30 iulie 2018 la ora 8:48 AM
by such like this request https://api.themoviedb.org/3/movie/297762/videos?api_key=###&language=en-US i just can recieve the thrailer . but what about the own movie?
Răspuns de Travis Bell
pe data de 30 iulie 2018 la ora 11:54 AM
We don't provide any links to actual movies, only trailers/behind the scenes/featurettes, etc...
Răspuns de AvivPirate
pe data de 4 aprilie 2019 la ora 5:48 PM
How do I use the object received to show a video on my website? I get this response:
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 4 aprilie 2019 la ora 11:52 PM
Trailer URL
Just add the Key in the respective URL:
YouTube: https://www.youtube.com/watch?v=
Vimeo: https://vimeo.com/
For example:
Youtube: https://www.youtube.com/watch?v=h6hZkvrFIj0
Vimeo: https://vimeo.com/282875052
Răspuns de AvivPirate
pe data de 6 aprilie 2019 la ora 6:15 PM
Thank you very much for the quick reply
Răspuns de tmdb98779720
pe data de 23 august 2020 la ora 1:58 PM
Is there an option to connect two api's? Right now I got upcoming movies and currently playing in the cinema movies in 2 separate files. I would like to add to each one of them under the desc. a video window, is it possible?
Răspuns de curiousmustafa
pe data de 9 septembrie 2020 la ora 7:56 AM
You mean in one request?if so , i think that you have to get each of them separately and then combine them in your own app or website
Răspuns de maxcoder123
pe data de 30 iulie 2021 la ora 7:25 AM
dear mustafa, its not showing video url, there is 1 url there like youtube url and its not answer what people asking here. do you have bettor good idea??
Răspuns de levanquang
pe data de 10 octombrie 2021 la ora 11:27 AM
https://api.themoviedb.org/3/movie/${id}?api_key=${REACT_APP_TMDB_KEY}&append_to_response=videos
i have a url like above and i use axios to process it, but it shows as undefined, can anyone help me? thank you very much
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 12 octombrie 2021 la ora 9:33 AM
Maybe you can find some help on these links.
Axios Issues
https://www.themoviedb.org/talk/6037bbc2afa1b00043a76e2c
https://www.themoviedb.org/talk/5f621eae93388b003864513c
https://www.themoviedb.org/talk/5f55e3dd713ed40037f090d4
https://www.themoviedb.org/talk/5d5901d21749730017dd837a
https://www.themoviedb.org/talk/5bab86480e0a2664d4022f98
Răspuns de shinthant14
pe data de 15 decembrie 2021 la ora 4:38 AM
but youtube showed i can't get this trailer, do you know why
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 15 decembrie 2021 la ora 6:11 AM
Can't you watch this trailer?
Youtube: https://www.youtube.com/watch?v=h6hZkvrFIj0
And these others, can you watch any of them?
Răspuns de shinthant14
pe data de 15 decembrie 2021 la ora 6:22 AM
thank you!