JeZxLee

Questions About Video File Playback...

Recommended Posts

Hi,

I think I saw video file playback support built into PixiJSv4.

If above is true I have the following questions:
(1) Does video file playback have audio?
(2) Does video file playback work on mobile (Android/iOS)?

Thanks!

JeZxLee

Share this post


Link to post
Share on other sites

PIXI does whatever HTML5 does ;) Please look at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video

The only other things I know is that it can't be uploaded to canvas in older versions of Safari or iOS.

There are not so many switches you can calibrate for it in pixi and html5 in general. The only operation you need to know about is that video texture is uploaded every frame. PIXI does not have access to the video itself, only to the frame that is shown in <video> element at the moment.

All those problems exist because video decompression is one of the biggest performance challenges for modern computers.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.