YSP_VideoPlayer

No idea then. Possibly your video file just doesn't load fast enough.
This is MV after all.
No idea then. Possibly your video file just doesn't load fast enough.
This is MV after all.
I don't think it's a loading issue, because I tried with the video of different size. But what happen is, the event stay on the loop, instead of breaking the loop.
I don't think it's a loading issue, because I tried with the video of different size. But what happen is, the event stay on the loop, instead of breaking the loop.

DM me a tiny project with video and I'll give it a go.
I updated the main topic with a Demo and a working video event.
Please note that this will be the last time I'll update the topic and anything related to the plugin. Thank you for using it 'w')/
Can I make the video play on top of the images?
This Plugin was can't work.
This Plugin was can't work.

Download. the. demo.
I download DEMO, note if no PrinPrin_BugFixes.js this plugin will can't to work.
Either you commission a compatibility patch or try copying the PIXI fix that was stated multiple times in this topic by different individuals that RM needs.

If that still doesn't work, note that 200 plugins causes compatibility issues no matter what since you're dealing with systematic changes unless you write code yourself.

Stop saying the plugin doesn't work when it clearly does.
OK, I fix my comment...
this plugin can work at this demo file sure.
Video Object is a PIXI.Sprite object, can be re-position by modifying x and y props

Did anyone figure out what this means?
Best script for video player for me but still looking for a way to center videos or this "modifying x and y props". Not the brightest when it comes to coding so any idea how to move videos?
I hope this is OK with the script author, I modified the script to play the video using the BGM Volume instead of always playing on maximum volume. You can download the attached modified script.

More info:

I noticed the videos play in maximum volume regardless of what the user (or me) set the different volume levels to be. Looking at the code, it makes sense because the author is using PIXI directly to play videos. I modified it slightly (column 5878) to make the script play the video using the BGM volume. For me it made sense because I'm only playing an intro with some music, and I wanted it to match the music volume.

How to modify the script for your own use case:

You can find this new line in the file I attached:
JavaScript:
t.texture.baseTexture.source.volume=ConfigManager.bgmVolume/100.0

Where it says ConfigManager.bgmVolume/100.0 you can put basically any other volume level.

Important: PIXI volume must be between 0 and 1 (inclusive). Most MV volume levels are in range 0..100. So for most of these examples we divide by 100, except for the Master Volume which is already in the right range.

For instance:

To play the video using the SE volume:
JavaScript:
t.texture.baseTexture.source.volume=ConfigManager.seVolume/100.0

To play the video using the ME volume:
JavaScript:
t.texture.baseTexture.source.volume=ConfigManager.meVolume/100.0

To play the video using the BGS volume:
JavaScript:
t.texture.baseTexture.source.volume=ConfigManager.bgsVolume/100.0

To play the video using the master volume:
JavaScript:
//Note: master volume is already in range [0..1], no need to divide by 100.
t.texture.baseTexture.source.volume=ConfigManager.masterVolume


Loading a volume level from variable:

I don't see a reason why you shouldn't be able to use a variable to set the video volume.
Let's say you store the desired volume level in variable 5. You can use it like this:
JavaScript:
t.texture.baseTexture.source.volume=$gameVariables.value(5)/100.0

In the event where you play the video, you can set the variable to the desired volume before starting the video (in this case, set it between 0 and 100. I did it like this because you can't set real numbers in the variable screen in the editor).


Note: Credit for this script goes to Dr.Yami. However since I attached a file let me clear up that I have no intention of claiming credit for the script or changing the license. The original script is under MIT license and the modified version I attached, as far as I'm concerned, is under the same license.
any chance theres an mz variant of this plugin? looks perfect for what i need.
Very nice plugin! grateful! Tested it can use MP4!
MV1.61 is available, test video: format MP4, duration 1 minute 31 seconds, resolution 1080PxH264, frame rate 23.976, bit rate 3000-40000kbps during video playback, size 168M, after testing, it does not support H265 format MP4 but only supports H264 format MP4.
0001.png

0002.png

0003.png

0004.png

0005.png

0006.png

0007.png



0008.png
hi thanks for the efforts on this , it is really awsome plugin !

but the link is deleted at Dropbox can you re-upload it and if someone have it please send it to me thanks
嗨,感谢您为此付出的努力,它真的是一个很棒的插件!

但是该链接在Dropbox上被删除,您可以重新上传吗,如果有人有,请将其发送给我,谢
i found the file in my old hard-drive and it works fine

thanks for the help but after i treid your link it did not work

or maybe i did somethings wrong or i have old version becouse my YSP_VideoPlayer.js is around 8kb and your is little bigger ?

in my version when i load the video i do it like this for example
ysp.VideoPlayer.loadVideo('video.webm')

but when i look at your pic you load it like this
ysp.VideoPlayer.loadVideo('video.')

and that look much easier like for exmaple if someone want to use it on both of webm and mp4 without need to edit the script at all

thanks
i found the file in my old hard-drive and it works fine

thanks for the help but after i treid your link it did not work

or maybe i did somethings wrong or i have old version becouse my YSP_VideoPlayer.js is around 8kb and your is little bigger ?

in my version when i load the video i do it like this for example
ysp.VideoPlayer.loadVideo('video.webm')

but when i look at your pic you load it like this
ysp.VideoPlayer.loadVideo('video.')

and that look much easier like for exmaple if someone want to use it on both of webm and mp4 without need to edit the script at all

thanks
我发给你的YSP链接是修改过的只能播放MP4视频,插件脚本不需要加后缀(mp4或webm)
因为觉得mp4比webm更清晰些,只能RPGMV1.6.1使用。
下面是测试Demo的链接,你可以下载试一下!
我发给你的YSP链接是修改过的只能播放MP4视频,插件脚本不需要加后缀(mp4或webm)
因为觉得mp4比webm更清晰些,只能RPGMV1.6.1使用。
下面是测试Demo的链接,你可以下载试一下!
sorry but not working

when i talk to the demo guy the game it like freeze or stopped

i even tried to edit the demo guy becouse it was not an English
and i treid to convert the mp4 video file but i kept it the same code x264 becouse it was big for a mint and half video and that also dont work either

Original thread: https://forums.rpgmakerweb.com/threads/ysp_videoplayer.83758/