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??
תגובה מאת Travis Bell
ב-יולי 8, 2017 ב-12:36אחרי חצות יום
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:תגובה מאת farzin_android23
ב-יולי 30, 2018 ב-8:37לפני חצות יום
no one works for me
תגובה מאת farzin_android23
ב-יולי 30, 2018 ב-8:48לפני חצות יום
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?
תגובה מאת Travis Bell
ב-יולי 30, 2018 ב-11:54לפני חצות יום
We don't provide any links to actual movies, only trailers/behind the scenes/featurettes, etc...
תגובה מאת AvivPirate
ב-אפריל 4, 2019 ב-5:48אחרי חצות יום
How do I use the object received to show a video on my website? I get this response:
תגובה מאת ticao2 🇧🇷 pt-BR
ב-אפריל 4, 2019 ב-11:52אחרי חצות יום
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
תגובה מאת AvivPirate
ב-אפריל 6, 2019 ב-6:15אחרי חצות יום
Thank you very much for the quick reply
תגובה מאת tmdb98779720
ב-אוגוסט 23, 2020 ב-1:58אחרי חצות יום
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?
תגובה מאת curiousmustafa
ב-ספטמבר 9, 2020 ב-7:56לפני חצות יום
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
תגובה מאת maxcoder123
ב-יולי 30, 2021 ב-7:25לפני חצות יום
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??
תגובה מאת levanquang
ב-אוקטובר 10, 2021 ב-11:27לפני חצות יום
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
תגובה מאת ticao2 🇧🇷 pt-BR
ב-אוקטובר 12, 2021 ב-9:33לפני חצות יום
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
תגובה מאת shinthant14
ב-דצמבר 15, 2021 ב-4:38לפני חצות יום
but youtube showed i can't get this trailer, do you know why
תגובה מאת ticao2 🇧🇷 pt-BR
ב-דצמבר 15, 2021 ב-6:11לפני חצות יום
Can't you watch this trailer?
Youtube: https://www.youtube.com/watch?v=h6hZkvrFIj0
And these others, can you watch any of them?
תגובה מאת shinthant14
ב-דצמבר 15, 2021 ב-6:22לפני חצות יום
thank you!