Υποστήριξη για το The Movie Database

I cannot find or i don't know how to get video api

19 απαντήσεις(στη σελίδα 1 από 2)

Jump to last post

Επόμενη σελίδαΤελευταία σελίδα

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:

https://api.themoviedb.org/3/movie/297762/videos?api_key=###

I would recommend using append_to_response which combines the primary info method and videos calls together:

https://api.themoviedb.org/3/movie/297762?api_key=###&append_to_response=videos

no one works for me

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?

We don't provide any links to actual movies, only trailers/behind the scenes/featurettes, etc...

How do I use the object received to show a video on my website? I get this response:

{
  "id": 100,
  "results": [
    {
      "id": "533ec652c3a36854480000c3",
      "iso_639_1": "en",
      "iso_3166_1": "US",
      "key": "h6hZkvrFIj0",
      "name": "Lock Stock and two smoking barrels - Trailer",
      "site": "YouTube",
      "size": 360,
      "type": "Trailer"
    }
  ]
}

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

Thank you very much for the quick reply

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?

@konradrozycki0@gmail.com said:

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??

@travisbell said:

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:

https://api.themoviedb.org/3/movie/297762/videos?api_key=###

I would recommend using append_to_response which combines the primary info method and videos calls together:

https://api.themoviedb.org/3/movie/297762?api_key=###&append_to_response=videos

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 said:

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

but youtube showed i can't get this trailer, do you know why

Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.

Σε όλες τις σελίδες

s Εστίαση στη μπάρα αναζήτησης
p Άνοιγμα μενού προφίλ
esc Κλείσιμο ανοιχτού παραθύρου
? Άνοιγμα παραθύρου συντομεύσεων πληκτρολογίου

Στις σελίδες μέσων

b Επιστροφή στην προηγούμενη σελίδα(ή στην αρχική σελίδα όταν είναι εφικτό)
e Μετάβαση στη σελίδα επεξεργασίας

Στις σελίδες κύκλων σειρών

(Δεξιό βέλος) Μετάβαση στον επόμενο κύκλο
(Αριστερό βέλος) Μετάβαση στον προηγούμενο κύκλο

Στις σελίδες επεισοδίων σειρών

(Δεξιό βέλος) Μετάβαση στο επόμενο επεισόδιο
(Αριστερό βέλος) Μετάβαση στο προηγούμενο επεισόδιο

Σε όλες τις σελίδες εικόνων

a Άνοιγμα παραθύρου προσθήκης εικόνας

Σε όλες τις σελίδες επεξεργασίας

t Άνοιγμα επιλογέα μετάφρασης
ctrl+ s Υποβολή φόρμας

Στις σελίδες συζήτησης

n Δημιουργία νέας συζήτησης
w Ρύθμιση κατάστασης παρακολούθησης
p Ρύθμιση ως δημόσια/ιδιωτική
c Ρύθμιση ανοίγματος/κλεισίματος
a Άνοιγμα δραστηριότητας
r Απάντηση στη συζήτηση
l Μετάβαση στην τελευταία απάντηση
ctrl+ enter Υποβολή μηνύματος
(Δεξιό βέλος) Επόμενη σελίδα
(Αριστερό βέλος) Προηγούμενη σελίδα

Ρυθμίσεις

Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;

Σύνδεση