Giter Club home page Giter Club logo

Comments (10)

grusell avatar grusell commented on July 20, 2024 2

Added support for webm files. There was a silent error when trying to parse the metadata that causes the file to not be loaded. Metadata for webm files is not shown but they can be played.

from vivict.

grusell avatar grusell commented on July 20, 2024 1

Video playback is limited by what the browser supports, and I don't think mkv playback is supported by any browser. Does the mp4 playback ok in vivict without the mkv? There could potentially also be issues with codec not being supported by browser.

Which browser are you using and what codec are the videos using?

from vivict.

grusell avatar grusell commented on July 20, 2024 1

That's awesome! Many thanks for the quick fix! +1
No prob!
Could you issue an error in the future whenever a non-compatible file is selected ? Would be better than doing nothing and leaving the user wonder what happens ...

I agree that would make sense, there is actually an issue for that: #21 . I don't see me having the time to fix that in the near future though.

Have you seen my comment above and do you have an idea if adding the VLC plugin or other Firefox addons would make all files open in vivict too if they are playable in the browser? It seems you said that files that Firefox cannot play can therefore not be opened in vivict. But is the reverse true, i.e. can all vivict open all files that play in the browser? If yes, if an addon/plugin makes a previously unplayable file now playable, does this mean that it also becomes automatically available in vivict? I mean is there a 1:1 relationship, meaning all (100%) files playable in the browser (regardless of playability out of the box or with addon-help) can be opened in vivict ?
Vivivct should be able to play any files that can play natively in the browser. I'm not sure if a plugin could make vivict able to play a file without any change to the vivict source code.

from vivict.

chrizilla avatar chrizilla commented on July 20, 2024

Hi @grusell Many thanks for your help! I am using an up2date Firefox (on Win10).

It seems you have identified the problem correctly. In my tests, there is a 100% correlation:

  • If the video file is playable in Firefox, I can indeed play it in vivict (sorry I missed this!).
  • If the video file is not playable in Firefox, I can't play it in vivict either.

MKV files don't seem to play in Firefox (that's a pity, because I remux all my videos to MKV).
MP4 files: some play in Firefox (and thus in vivict), some don't. Probably depends on the codec.

So what can I do ?
Is there any way to "teach" Firefox how to play the files ? Maybe with an addon or something ?
Or wouldn't this solve the problem either ?

Any workaround ?

from vivict.

chrizilla avatar chrizilla commented on July 20, 2024

Is there any way to "teach" Firefox how to play the files ? Maybe with an addon or something ?

I found two Firefox addons:
https://addons.mozilla.org/en-US/firefox/addon/the-media-player/
https://addons.mozilla.org/en-US/firefox/addon/local-media-player-for-you/

Is this absolutely useless or do you think it might be worth trying ?

There also was a VLC plugin for Firefox back in 2009 and 2014, but I assume it is deprecated now.

from vivict.

chrizilla avatar chrizilla commented on July 20, 2024

@grusell I think I may have found a workaround: I can remux my mkv files to webm files which are playable in Firefox out of the box (without any addons). I just tried, my webm files open in my Firefox and are playable. But when I go to https://vivictorg.github.io/vivict/ and click on the document icon to load the files, a popup window opens (as expected) to select the file. I then select the webm file, but nothing happens. The URL still points to https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8 and when I click on the play button, the video from this URL begins to play.

from vivict.

grusell avatar grusell commented on July 20, 2024

Hmm I see. I will ihave to investigate this.

from vivict.

chrizilla avatar chrizilla commented on July 20, 2024

Anything I can do to help investigate this ?

I managed to add mp4 files via the document icon. But I am unsuccessful so far in adding webm files (despite being playable in the browser). Example webm file. What happens when you try to add it ?

It would be helpful to at least get any sort or error message, because right now nothing happens (hence the issue title).

from vivict.

chrizilla avatar chrizilla commented on July 20, 2024

That's awesome! Many thanks for the quick fix! 👍

Could you issue an error in the future whenever a non-compatible file is selected ?
Would be better than doing nothing and leaving the user wonder what happens ...

Have you seen my comment above and do you have an idea if adding the VLC plugin or other Firefox addons would make all files open in vivict too if they are playable in the browser? It seems you said that files that Firefox cannot play can therefore not be opened in vivict. But is the reverse true, i.e. can all vivict open all files that play in the browser? If yes, if an addon/plugin makes a previously unplayable file now playable, does this mean that it also becomes automatically available in vivict? I mean is there a 1:1 relationship, meaning all (100%) files playable in the browser (regardless of playability out of the box or with addon-help) can be opened in vivict ?

from vivict.

chrizilla avatar chrizilla commented on July 20, 2024

I agree that would make sense, there is actually an issue for that: #21

👍

Vivivct should be able to play any files that can play natively in the browser.
I'm not sure if a plugin could make vivict able to play a file without any change to the vivict source code.

Ok, I'll try to experiment and will let you know if I can come to any solid conclusion about that. Thank you.

from vivict.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.