[webvtt] Feature request: add animation to "::cue" style

clouds56 has just created a new issue for https://github.com/w3c/webvtt:

== Feature request: add animation to "::cue" style ==
I'd like to add animation to the cue (either css like or [libass](https://github.com/libass/libass) like).

What I'd like to achieve is roll credits like [this](https://forums.adobe.com/thread/2305503), make cue scroll from bottom to top (or from right to left if vertically) until it disappears in the screen.

example:
```
cue1
00:00:01.000 --> 00:00:06.000
line 1
line 2
```
* may use `@keyframes scroll { 0% {top: 100%;} 100% {top: 0%;} }; ::cue{ animation: scroll 5s 1; };` to achieve this.
* when seek the video to some time like 00:00:03, the cue1 should appear at `top: 60%` and scrolling upwards.

Please view or discuss this issue at https://github.com/w3c/webvtt/issues/424 using your GitHub account

Received on Thursday, 28 December 2017 14:23:21 UTC