Arnavion / libjass

Renders ASS subs in the browser.
Apache License 2.0
174 stars 29 forks source link

[demo] Ask user if their browser supports SVG filter effects, and set enableSvg accordingly #71

Closed Arnavion closed 8 years ago

Arnavion commented 8 years ago

Eg: Write some text in black and color it red with an SVG filter. Ask user if the text is red or black.

XCanG commented 8 years ago

@Arnavion you mean something like this? http://pastebin.com/PwBmitCG If yes, worked both in Firefox, Chrome, Edge (Windows 10 IE)

Arnavion commented 8 years ago

No. That applies SVG filters on SVG text, which is a different feature from SVG filters on HTML that libjass uses. But similar, yes.

Arnavion commented 8 years ago

And FYI, Edge doesn't support it yet either.