vtt.js icon indicating copy to clipboard operation
vtt.js copied to clipboard

WIP: Style blocks

Open gkatsev opened this issue 6 years ago • 2 comments

Expects a standalone version of css and then requires the integration to pass parser.styles into processCues, but this still needs to be updated.

TODO:

  • [x] STYLE blocks
  • [x] can't have style blocks once seen cues
  • [x] filter allowed properties
  • [ ] classes
  • [ ] webvtt object
    • [ ] voice
    • [ ] italics
    • [ ] bold
    • [ ] underline
    • [ ] ruby
    • [ ] ruby text
    • [ ] language
    • [ ] other objects

gkatsev avatar Mar 04 '19 19:03 gkatsev

Hi Gary, What is the status of this PR? Are you planning to continue work on this PR this year?

gjanblaszczyk avatar Mar 04 '20 10:03 gjanblaszczyk

Yes, I'd like to get this done some time this year, though, it likely needs to be re-done based on the refactor in master. Another thing is to decide what to do about the parsing of the CSS. I don't want to include it by default. Also, not sure if the css package is the best thing for this or if there's something better/lighter to use. Also, I would say that the regions work is likely a higher priority for me, especially since Chrome is working on native support for this finally.

gkatsev avatar Mar 04 '20 16:03 gkatsev