SaeedMalikx / TMDB-VUE

Moviedb using Vue
2 stars 0 forks source link

play on movie #1

Open elinardo10 opened 6 years ago

elinardo10 commented 6 years ago

Hi, tmdb has a video of movie to watch? exemple, if i set the player in your project can i get the movie, like movie.video in my page detal? thanks for share this project. i'm learn about then

SaeedMalikx commented 6 years ago

Thank you

they don't have the movies but they have trailers. The trailers are on youtube so it's pretty easy. You can use the iframe

https://developers.google.com/youtube/iframe_api_reference

you have to change the "video id" and replace that with the "key" from this endpoint

https://developers.themoviedb.org/3/movies/get-movie-videos

elinardo10 commented 6 years ago

Hum... Understand you, so if i'd want set the movie i has that a server storage? Do you know any DB of móveis free? Realy'd like to do this app and a another that i start can load movies to watch.Thanks for you answer!

SaeedMalikx commented 6 years ago

There is no database that will give you that, even the netflix streams are old movies. You kinda have to "piece" it together. I have my own setup but heres my way:

Second is to have Magnet links from torrent sites. You can get a list of Magnet links(Learn how to scrape info from webpages) and have it be limited to only new movies. So clicking on the movie, you can get match the correct magnet link. Which will allow you to Stream the movie in the browser and watch it using it:

WebTorrent

https://github.com/webtorrent/webtorrent

Such things have to be built for yourself and by yourself(for obvious reasons)

elinardo10 commented 6 years ago

Fine! Thank you very much for you helpe in my questions. Sorry for my english, because i'm from brazil and i know that my english is very bad rs. thanks brow!