mehotkhan / BandersnatchInteractive

Bandersnatch Interactive Player (based on html5 video player)
https://mehotkhan.github.io/BandersnatchInteractive/
MIT License
107 stars 31 forks source link

How to Host this ar home? #43

Open MrPatate87 opened 3 months ago

MrPatate87 commented 3 months ago

This project is really Impressive and the Idea to have all chose possible is just awsome. But for home intertenament i want to host it on my server. How Can i do it on a docker ? And if it's possible how Can i automatically add the mkv file to autoplay in it? I'm really noob on docker but i really hope something like that can bé done.....

mehotkhan commented 3 months ago

its possible but not easy look it must run on browser, and maybe with help of webserver run the scripts in local machine, but for outoplaying mkv file ,i have no idea , maybe some code of scripts must change,

MrPatate87 commented 3 months ago

Really don't know how to do this but it will be a really great thing .

mehotkhan commented 3 months ago

its possible to create a electron app, i try to test it

mehotkhan commented 3 months ago

its seems work in electron apps but need some work ,this is a old projects but nostalgic for me , i work on it to make the player standalone (you must have main mkv file then drag it to player) , for windows,mac and linux image image

MrPatate87 commented 3 months ago

Impressive next step will be to auto load the mkv ... I really don't know how to use electron, IS it possible to share your result ?

mehotkhan commented 3 months ago

there is no need to know electron , final app as educable like any media player just click to start player

MrPatate87 commented 3 months ago

I see that you created a new branch for the Electron project, but I really don't know how to use it, otherwise, I just see that I don't have any audio with the master link of this project, my file seems have the right length and the audio of the latter is in this format: Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 5 h 12 min Bit rate mode : Constant Bit rate : 384 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Delay relative to video : -40 ms Stream size : 858 MiB (8%) Language : French Service kind : Complete Main Default : Yes Forced : No

this but I have no sound via the Chrome browser (if I link this same file in a video player I obviously have sound).

PS : don't know why but after a test with edge browser seems sound work great, don't know why chrome want play any sounds...(work well on other website.