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??
Odpoveď od Travis Bell
dňa 8. júl, 2017 o 12:36PM
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:Odpoveď od farzin_android23
dňa 30. júl, 2018 o 8:37AM
no one works for me
Odpoveď od farzin_android23
dňa 30. júl, 2018 o 8:48AM
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?
Odpoveď od Travis Bell
dňa 30. júl, 2018 o 11:54AM
We don't provide any links to actual movies, only trailers/behind the scenes/featurettes, etc...
Odpoveď od AvivPirate
dňa 4. apríl, 2019 o 5:48PM
How do I use the object received to show a video on my website? I get this response:
Odpoveď od ticao2 🇧🇷 pt-BR
dňa 4. apríl, 2019 o 11:52PM
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
Odpoveď od AvivPirate
dňa 6. apríl, 2019 o 6:15PM
Thank you very much for the quick reply
Odpoveď od tmdb98779720
dňa 23. august, 2020 o 1:58PM
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?
Odpoveď od curiousmustafa
dňa 9. september, 2020 o 7:56AM
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
Odpoveď od maxcoder123
dňa 30. júl, 2021 o 7:25AM
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??
Odpoveď od levanquang
dňa 10. október, 2021 o 11:27AM
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
Odpoveď od ticao2 🇧🇷 pt-BR
dňa 12. október, 2021 o 9:33AM
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
Odpoveď od shinthant14
dňa 15. december, 2021 o 4:38AM
but youtube showed i can't get this trailer, do you know why
Odpoveď od ticao2 🇧🇷 pt-BR
dňa 15. december, 2021 o 6:11AM
Can't you watch this trailer?
Youtube: https://www.youtube.com/watch?v=h6hZkvrFIj0
And these others, can you watch any of them?
Odpoveď od shinthant14
dňa 15. december, 2021 o 6:22AM
thank you!