pixijs / layout

Library for arranging/resizing pixiJS rendered elements basing on css like configs

Home Page:https://pixijs.io/layout/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support gif image and mp4 video?

xeoshow opened this issue · comments

As below code shows, could it support bunny.gif and something like guide.mp4 video? Thanks a lot.

import { Layout } from "@pixi/layout";

new Layout({
    content: {
        content: Sprite.from("bunny.**gif**"),
        styles: {
            position: "center",
            maxWidth: "100%",
            minHeight: "100%",
        },
    },
    styles: {
        background: "red",
        position: "center",
        width: `100%`,
        height: `100%`,
    },
});

Tasks

No tasks being tracked yet.