Commit 5bd8b75f authored by wildfirecode13's avatar wildfirecode13

1

parent 9ec2c788
import SVGA = require("svgaplayerweb");
var parser = new SVGA.Parser();
var svgaParser = new SVGA.Parser();
export const loadSVGA = (url:string) => {
return new Promise((resolve, reject) => {
parser.load(url, (videoItem:SVGA.VideoEntity) => {
svgaParser.load(url, (videoItem:SVGA.VideoEntity) => {
resolve(videoItem)
}, (err) => {
reject(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment