Comments (6)
I cannot reproduce on iOS 17.5.1. Video plays as expected.
from pixijs.
I cannot reproduce on iOS 17.5.1. Video plays as expected.
Interesting. Ok thanks, I'll check to see if it's somehow network related (only other thing I can think of).
UPDATE: Ok, it's working on my iPhone, but still not on my iPad (for some reason).
Either way, looks like it's something environmental to me (for some reason).
Will update/close when I nail down what it is (or happy if ppl prefer it closed now + reopen if necc)
from pixijs.
Yeah please report back if you find something. Are these recent iPad and iPhone versions?
from pixijs.
Also, try some other WebGL content to see if is Pixi + environment or just environment.
from pixijs.
Thanks for the additional thoughts, @bigtimebuddy.
Are these recent iPad and iPhone versions?
Recent iPhone (13) with on iOS 17.5.1 works fine - as does another similar device on BrowserStack.
But my iPad (6th Gen) on same iOS 17.5.1 is not playing the video in any of the browsers (inc. private mode).
Also, try some other WebGL content to see if is Pixi + environment or just environment.
All other demos seem to work just fine (inc. others that load lots of remote assets), it's just the video demo.
Yet the v7.x version of video demo plays fine. Really weird.
I'm sure it must be something else "special" about my iPad, just not tracked down "what" yet 😅
from pixijs.
So, what I've managed to confirm (from trial and error) is that, for some reason, my iPad gets "stuck" when it hits this line in the video playground code:
const texture = await Assets.load('https://pixijs.com/assets/video.mp4');
This has been confirmed now by me (finally) finding a way to debug iOS Safari on my Windows PC (as I no longer have access to an iMac). When I put a debugger
statement in before this line, then step over, it goes into an anonymous function (with reference to a workerMain.js
) and just "hangs" there. 🤷
I can't see any ad-blocker settings present or enabled that could be getting in the way (don't think Apple allow that anyway). No Safari extensions installed (and same behaviour in Chrome and Edge on iOS).
Weirdly, the v7 example still works without issue - so def no issue in loading the MP4 file.
...and other demos that use await Assets.Load()
(like the "Sprite" one) all seem to work without issue.
It's really bizarre! 🤔
from pixijs.
Related Issues (20)
- Bug: HTMLText Doesn't Correctly Handle Weights HOT 2
- Feature Request: Installing bitmapfont regardless of URL in v8 (like v7 BitmapFont.install) HOT 1
- Bug: Weird Filter distortion depending on the X, Y axis
- Bug: Text's resolution does not update on Renderer's resolution change
- Bug: Increase the width of SimpleRope HOT 1
- Bug: Unable to make sprites in front of Meshes when depth testing is enabled HOT 2
- Bug: Weird uBackTexture behaviour
- Bug: Error when resizing renderer when using backBuffer & depth enabled on render target
- Bug: Can't alter uniforms between passes in BlurFilterPass with WebGPU renderer
- Bug: anchor does not work properly on BitmapText with stroke size > 0
- Bug: Container added sprite not updated transform HOT 2
- Bug: API v8 Docs Inconsistent/Broken HOT 3
- Bug: How to migrate v6/v7 TextMetrics.measureFont to v8 CanvasTextMetrics.measureFont? HOT 1
- Bug: @pixi/unsafe-eval suddenly stopped working HOT 5
- Bug: unable to change resolution of BitmapText HOT 2
- Bug: Sprite Mask filter should default resolution to Renderer HOT 1
- Feature Request: PixiJS v8 migration for Node
- Bug: Multiple page for BitmapFont not working
- Video Elements and GIFs in Headless Chrome on Rocky Linux 8.8 with PixiJS 7.3 and Puppeteer 18.1.0。
- Bug: Text Padding does not "add to all sides of text" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixijs.