HUAI Posted November 3, 2018 Share Posted November 3, 2018 I want to play video by means of pixijs. This code below is ok in normal project. But if I put it in RPG Maker MV plugins, it can't play anything, or just play sound with still image. function test(){ app = new PIXI.Application({ width: 600, height: 600, backgroundColor : 0x1099bb, }); app.view.id = "test"; app.view.style.zIndex = 100; app.view.style.position = "absolute"; app.view.style.margin = "auto"; app.view.style.top = "0px"; app.view.style.left = "0px"; app.view.style.right = "0px"; app.view.style.bottom = "0px"; document.body.appendChild(app.view); var texture = PIXI.Texture.fromVideo('test.webm'); videoSprite = new PIXI.Sprite(texture); app.stage.addChild(videoSprite); } Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 3, 2018 Share Posted November 3, 2018 RPGMaker MV stops pixi shared ticker. ITs the same issue as with AnimatedSprite I asked people who work with RMMV to help you in this thread, maybe in a day or few hours you'll have full answer. HUAI 1 Quote Link to comment Share on other sites More sharing options...
jonforum Posted November 3, 2018 Share Posted November 3, 2018 ivan.popelyshev and HUAI 1 1 Quote Link to comment Share on other sites More sharing options...
HUAI Posted November 3, 2018 Author Share Posted November 3, 2018 It's amazing & works well. I had tried to trace the problem all day, thank you! ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.