mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
Add comment clarifying SVGA version support
This commit is contained in:
@@ -23,7 +23,7 @@ class SvgaViewer {
|
|||||||
*/
|
*/
|
||||||
async play() {
|
async play() {
|
||||||
const path = await chrome.webview.hostObjects.external.GetPath();
|
const path = await chrome.webview.hostObjects.external.GetPath();
|
||||||
const parser = new SVGA.Parser();
|
const parser = new SVGA.Parser(); // Only SVGA 2.x supported
|
||||||
|
|
||||||
// Because the path is a local file, we need to convert it to a URL format
|
// Because the path is a local file, we need to convert it to a URL format
|
||||||
parser.load('https://' + path).then(svga => {
|
parser.load('https://' + path).then(svga => {
|
||||||
|
Reference in New Issue
Block a user