Author Topic: Trailers from themoviedb.org  (Read 8037 times)

0 Members and 1 Guest are viewing this topic.

Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Trailers from themoviedb.org
« on: July 03, 2016, 05:22:03 pm »
Is it possible to obtain the url of the trailers offered themoviedb.org?

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Trailers from themoviedb.org
« Reply #1 on: July 03, 2016, 06:29:14 pm »
Is it possible to obtain the url of the trailers offered themoviedb.org?

A concrete example to see the possibilities of what can be and what can then be done.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Trailers from themoviedb.org
« Reply #2 on: July 03, 2016, 06:50:46 pm »
Custom fields: http://www.videodb.info/forum_en/index.php/topic,4022.msg19372.html#msg19372

Go to the "Videos" section: https://www.themoviedb.org/movie/1250-ghost-rider

And extract the Youtube URL. <iframe class=" lazyloaded" type="text/html" width="533" height="300" data-src="//www.youtube.com/embed/-f0ZDGm1F_M?autoplay=0&amp;origin=https://www.themoviedb.org&amp;hl=es-ES&amp;modestbranding=1&amp;fs=1" frameborder="0" allowfullscreen=""></iframe>


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2667
    • View Profile
Re: Trailers from themoviedb.org
« Reply #3 on: July 04, 2016, 05:57:00 am »
Custom fields: http://www.videodb.info/forum_en/index.php/topic,4022.msg19372.html#msg19372

Go to the "Videos" section: https://www.themoviedb.org/movie/1250-ghost-rider

And extract the Youtube URL. <iframe class=" lazyloaded" type="text/html" width="533" height="300" data-src="//www.youtube.com/embed/-f0ZDGm1F_M?autoplay=0&amp;origin=https://www.themoviedb.org&amp;hl=es-ES&amp;modestbranding=1&amp;fs=1" frameborder="0" allowfullscreen=""></iframe>

Api-key page

http://api.themoviedb.org/3/movie/1250?append_to_response=alternative_titles,credits,keywords,images,videos&language=en&api_key=0a4782bd3877917501a2d45e1198f809

This is a proposal for VVV_Easy_Programing user.

Below is the URL for Contact Web:
http://contactbyweb.com/vvv-easy

Send a suggestion might be able to do something in this regard.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Trailers from themoviedb.org
« Reply #4 on: July 06, 2016, 08:20:39 pm »
As noted above there are only two options: directly read the website of the movie (jippo solution) or ask the api of TheMovieDB (Ivek23 solution).
The last may be the most consistent, at the end of the file seem returns the url of the trailer:

"videos":{"results":[{"id":"533ec657c3a368544800078b","iso_639_1":"en","iso_3166_1":"US","key":"R1hZNHPVVAQ","name":"Trailer 1","site":"YouTube","size":360,"type":"Trailer"}]}}

But I don't see this easy and ... ¿how many times see you the trailer of a film that you have seen? (and to decide which movie see never trust in a commercial trailer) ;-)

 

anything