Bolko Posted March 3, 2015 Share Posted March 3, 2015 Hi there,i´m considering using pixi for a web project with several minigames built-in.Now I want to clear if there are any problems/limitations in using HD fullscreen video or a video player in pixijs? I couldn´t find any Video Class (similar to Flash´s Video Class) in the docs,so what is the common way of implementing a video player in pixi? Quote Link to comment Share on other sites More sharing options...
Yourangutan Posted March 3, 2015 Share Posted March 3, 2015 Griaß dih, try this var vidTexture = PIXI.VideoTexture.fromUrl("yourVid.mp4");var vidSprite = new PIXI.Sprite(vidTexture);stage.addChild(vidSprite); As for player controls.. I don't know anything about that, sorry. I too am a noob. But at least you get closer to your goal. Quote Link to comment Share on other sites More sharing options...
biscuitcleaver Posted March 10, 2015 Share Posted March 10, 2015 I would actually know how to control video as well. I tried a few things, but couldn't fully pause the video with the audio with it. Has anyone had success with this? 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.