Comments

Log in with itch.io to leave a comment.

I managed to get looping webm video to play in the background while going through dialogue and options. Just what I wanted. If I ever manage to finish my project I'll surely come by and buy this plugin.

Released 1.1.0 :)

(4 edits)

+ Alpha channel works

+ Video loops


- No preload 

(it requires me to understand the plugin code to fix)


- Video sound starts by itself 

(due to broken preload it plays the sound, but doesn't show the picture)


~ No unload

(Lol I fixed it myself... What the hell man... Why was ".unload" using function ".stop"?!)


- No "shouldAutoUnload" variable in function ".load"


- ".isReady" doesn't work, or has no impact on preload process



How the hell did developer made it work, but missed 'the start' and 'the end'?!?!?!?

(5 edits)

Thanks for letting me know, updating now.

Videos won't start until they are fully loaded (even sound). This could be two potential reasons: 

  1. A broken preload that can happen when using a `gif`.
  2. A video with an encoding that isn't supported.

I tried ".webm" files...
Didn't even try ".gif"

Interesting, if you can post the webm, or send it to me somehow I can see if I can replicate. Usually it's because of the reasons I listed! I updated the other code.

Hi!


In my current project im using this plugin, and for some reason when i finish a event with some videos on it, when that event its finished and im going to start another with other videos, some of the videos of the first event are showed on the second, and the second event videos are not showed.


Can someone help me? Thx!

You should edit 1 line in plugin file.
(the hint is in my comment)

I've updated the plugin, this should be fixed now!

I tried this plugin but for some reason whenever I preload a video the audio starts playing. (Other than that it works better than everything else I've tried!)

If anyone knows a fix I'd be grateful.

This may be due to an encoding or using a `.gif` you should ensure that you're using a `webm` or `mp4` with `H.264` encodings.

Can this plugin adjust playback speed of webm files?

I will include this in the next update. I was wondering if I should expose it. You can do this yourself by grabbing the video using: `Niji.Video.get(id)` and doing `video._source.playbackRate = 0.5`

Hi there. This plugin is awesome, but I was hoping for some guidance: Is it possible to render videos behind existing graphical elements? I was hoping to use this to created animated battle backgrounds, but while videos show up in battles, they unfortunately cover up the battlers.

Is it possible to play videos in front of a picture? Like having an animation of a character running across a background picture of a beach?

(4 edits)

Hi bro, thanks for your plugin.
I would like to report a possible bug.

Even if i put loop to false, continues playing the video.

Im using version 1.0.2

And i want to ask if is there  a way to put gif above picture, because my enemies are pictures, thanks.

Thanks for the report, will take a look into it. As far as placing a Gif above a picture, should be possible, have not tried it though.

This looks imcredible. Could I use this to animate front view enemies somehow? Or perhaps replace all text boxes in the game with it?

If you want to use it for those objects I guess the parallel animation system could be extracted and repurposed. You would definitely have to adjust it for the properties of the objects being different though. If you want to use it to replace those objects with pure videos, then yes, you could definitely do that as long as the layering is done right.