public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Play a simple video? help plz (SOLVED)

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Play a simple video? help plz (SOLVED)
  • Original author: Jonforum
  • Original date: July 26, 2017
  • Source thread: https://forums.rpgmakerweb.com/threads/play-a-simple-video-help-plz-solved.81822/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Learning Javascript

Summary

Hello i just try to play a video to test, but i can't not succeed. Do i miss something. Here is approximately the basic code PHP:

Archived First Post

Hello i just try to play a video to test, but i can't not succeed.
Do i miss something.
Here is approximately the basic code
PHP:
        var vidTexture = PIXI.Texture.fromVideo('video/01.mov'); // load file path rmmv as texture
        var vid = vidTexture.baseTexture.source; // shortcut to .VideoBaseTexture method

        var vidSprite = new PIXI.Sprite(vidTexture); // make a pixi sprite with the video texture
            vidSprite.width = vid.videoWidth, vidSprite.height = vid.videoHeight; // Hum, ?? why vid WidthHeight, is 0 ??

        var myPicture_WillContainVideo = SceneManager._scene._spriteset._pictureContainer.children[pictureID]; // example picture 5
        myPicture_WillContainVideo.addChild(vidSprite); // Add the sprite Video in the picture sprite container as children

        vid.play(); // play Video !

What I do, not correct.
Yet it works here. !
https://pixijs.github.io/examples/#/basics/video.js

thank a lot for help guy and girl
here the video i try to play !
If anyone can try to tell me what I do wrong.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-learning

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar