hardik91 / portableTheater

To create Portable Movie Player like NetFlix on Parent Directory
0 stars 0 forks source link

Directions of use? #1

Open ThumperDone opened 8 years ago

ThumperDone commented 8 years ago

I'm guessing you drop the JS files in a folder of videos? Nothing I try works, and building an index.html doesn't appear to work for me either. Any help how to use your script?

hardik91 commented 8 years ago

it works on parent directory folder. copy every thing from initialScript.js in to browser console and everything will be good to go.

ThumperDone commented 8 years ago

Thanks, I'm on Ubuntu and while I can get your script to work pasting it to the console, two things.

I keep all videos in sub-folders as some have subtitles. None of can be seen. In Chrome it just doesn't work correctly for me. In Firefox .mkv files don't work. I added the gecko-mediaplayer plugin for another project, but this works with '' only, as seen at bottom. This plugin allows for all media formats including Flash and .mov files, but who uses those.

not sure if an FYI: At the top of initilaScript.js you have 'https://rawgit.com/hardik91/portableTheater/master', but to make the loading.gif show I have to use 'https://raw.githubusercontent.com/hardik91/portableTheater/master', but when I do this your script no longer works at all...

Idea, for an easier frontend, it might be better to scan the folder and match each video to either OMDb and TMDb, showing each file as movie posters in a pagination style and clicking on one will open your modal with Plot, Actors backdrop and what-not with a play button to then open the video player fullscreen. Something like the following link as a start. movie-browser-angular: https://github.com/hanakamer/movie-browser-angular

hardik91 commented 8 years ago

Here how I use it.

  1. Google Search for

parent directory : any movie or tv show may be go to this link Agent of Shields

  1. copy everything from here Initial Script and paste it in to browser console and press enter.
  2. if everything goes correctly, you should see something as below.

image

I hope it helps.