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??
Antwoord deur Travis Bell
op 8 Julie 2017 om 12:36 NM
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:Antwoord deur farzin_android23
op 30 Julie 2018 om 8:37 VM
no one works for me
Antwoord deur farzin_android23
op 30 Julie 2018 om 8:48 VM
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?
Antwoord deur Travis Bell
op 30 Julie 2018 om 11:54 VM
We don't provide any links to actual movies, only trailers/behind the scenes/featurettes, etc...
Antwoord deur AvivPirate
op 4 April 2019 om 5:48 NM
How do I use the object received to show a video on my website? I get this response:
Antwoord deur ticao2 🇧🇷 pt-BR
op 4 April 2019 om 11:52 NM
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
Antwoord deur AvivPirate
op 6 April 2019 om 6:15 NM
Thank you very much for the quick reply
Antwoord deur tmdb98779720
op 23 Augustus 2020 om 1:58 NM
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?
Antwoord deur curiousmustafa
op 9 September 2020 om 7:56 VM
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
Antwoord deur maxcoder123
op 30 Julie 2021 om 7:25 VM
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??
Antwoord deur levanquang
op 10 Oktober 2021 om 11:27 VM
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
Antwoord deur ticao2 🇧🇷 pt-BR
op 12 Oktober 2021 om 9:33 VM
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
Antwoord deur shinthant14
op 15 Desember 2021 om 4:38 VM
but youtube showed i can't get this trailer, do you know why
Antwoord deur ticao2 🇧🇷 pt-BR
op 15 Desember 2021 om 6:11 VM
Can't you watch this trailer?
Youtube: https://www.youtube.com/watch?v=h6hZkvrFIj0
And these others, can you watch any of them?
Antwoord deur shinthant14
op 15 Desember 2021 om 6:22 VM
thank you!