Giter Site home page Giter Site logo

Support subtitle about avideo HOT 8 CLOSED

wwbn avatar wwbn commented on May 14, 2024
Support subtitle

from avideo.

Comments (8)

hersche avatar hersche commented on May 14, 2024 1

you could let it closed, but this is the right doc our needs..

http://docs.videojs.com/docs/guides/text-tracks.html

this would be very usefull as native function (not a plugin), what do you think?

from avideo.

DanielnetoDotCom avatar DanielnetoDotCom commented on May 14, 2024 1

@loso20p

yes it is that plugin

from avideo.

DanielnetoDotCom avatar DanielnetoDotCom commented on May 14, 2024

We can take a look on that :)

from avideo.

DanielnetoDotCom avatar DanielnetoDotCom commented on May 14, 2024

This issue was closed due to inactivity. Feel free to reopen if you have more feedback or are interested it working on it

from avideo.

hersche avatar hersche commented on May 14, 2024

i would be interessted to help resolving this, but i'm still not very much in your project (should invest more intensive time there).

well, as i saw, you are using videojs?

there's this:
videojs/video.js#1956

they say, to make it short, that the support for srt-files was there, but is gone since v4.12. anyway, they now support http://www.webvtt.org/ , where's also a converter for srt's. seems to be new kind of subtitle-default for web? would be nice!

the other site is as always db.

id(int) | lang(int/string=langid/langname) | videoid (int) | filename (string) | maybe comment, starttime, ...?

then gui, another upload-field or so in mvideos (on concrete video) and a select-list in view/include/videos.php including none as static and rest as existing for this video. default would may be the best in the user-set language when avaible. or would a checkbox to enable/disable sub's more usefull instead of the none-value?

about srt's or webvtt, i have not really a clue, but i could do other stuff, what would help you most? backend, frontend, videojs?

btw, the video which give me the motivation is this:
https://www.youtube.com/watch?v=XMm0HsmOTFI ;)

best regards

vinz

from avideo.

DanielnetoDotCom avatar DanielnetoDotCom commented on May 14, 2024

Thanks @hersche I am thinking to use webvtt.
But it is for the future. I am engaged in something else now.
Thanks for your help I always appreciate that

from avideo.

hersche avatar hersche commented on May 14, 2024

i've began targeting this.
it is just a backend-begin, but there are various solutions where to place a delete/add-method for example - i've created a new subtitle-class, what would may be a good place.

then, what upload-pattern should be used? videos/subtitles or subtitles direct at youphptube-root-dir?

you also add a kind of hash to videos, i assume that would be nice to stay with on uploaded files?
can you explain or refer on this point?

my little commit: hersche@4d3f6dc

from avideo.

loso20p avatar loso20p commented on May 14, 2024

so do this support subtitle upload using the SubtitleSwitcher plugin?

from avideo.

Related Issues (20)

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.