Pixi.js: Video playback broken?

Created on 28 Aug 2016  ยท  15Comments  ยท  Source: pixijs/pixi.js

Video playback does not seem to work from a video element... or am I doing something wrong?

https://jsfiddle.net/aegnuj1n/

The audio plays but no visual...

๐Ÿ’พ v4.x (Legacy) ๐Ÿ•ท Bug

All 15 comments

Hello there! Thanks for reporting the bug and providing the fiddle too! Will let you know when this has been addressed ๐Ÿ‘

looks like it could be cross origin issue?

Thanks for taking a look! I saw cross-origin errors when using video from somewhere else, but not this time. In any case I'll try to copy the video somewhere so all links are relative...

๐Ÿ‘

OK, check this out: http://storage.googleapis.com/tjandpals-temp/pixi-video-test/index.html

When Play() is called right away - it works. But with the 3 second timeout, same bug...

Nice - will make sure to take a look and see whats going on!

On Mon, Aug 29, 2016 at 7:19 PM dakom [email protected] wrote:

OK, check this out:
http://storage.googleapis.com/tjandpals-temp/pixi-video-test/index.html

When Play() is called right away - it works. But with the 3 second
timeout, same bug...

โ€”
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pixijs/pixi.js/issues/2873#issuecomment-243208352,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC998r5Os9wuelcvmjM1nmoBTbUwTh3Bks5qkyKagaJpZM4Ju34K
.

Hello! Fixed in dev branch ๐Ÿ‘

This is problematic for me. This seems to be a major bug for using pixi with video in mobile. installing pixi.js#dev from github doesn't work because there are no built files nor does npm run build work (lint errors). the only way I can think of getting this to work is to git clone the whole repo, build it, and then npm link by way of shell scripts in the build process. Any thoughts?

@pr1ntr Check out the FAQs to see how you can download a build for any branch: https://github.com/pixijs/pixi.js/wiki/FAQs#where-can-i-get-a-build

We will also be releasing v4.1 soon, which fixes these video issues.

@englercj that is a solution but it seems kind of an anti-pattern when using npm. Meaning I have to manage the dependency manually. Any idea when 4.1 is due to release to npm? :)

v4.1 will release when we clear the milestone, hopefully in the next few weeks. If you want to have git urls work with this repo in such a way to where you also get builds you are free to put in a PR that adds the proper install scripts.

Thanks. I just might.

Is there any way for pixi to not go fullscreen for video playback on ios?

@pr1ntr Can you open a different issue with a repro case? I'm not aware of that issue.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

trusktr picture trusktr  ยท  30Comments

doebi picture doebi  ยท  30Comments

GoodBoyDigital picture GoodBoyDigital  ยท  31Comments

tobireif picture tobireif  ยท  24Comments

SukantPal picture SukantPal  ยท  27Comments