layout icon indicating copy to clipboard operation
layout copied to clipboard

Support gif image and mp4 video?

Open xeoshow opened this issue 11 months ago • 0 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

xeoshow avatar Feb 27 '24 12:02 xeoshow