Trouble playing webm video on renpy ):

Freeworlddev

Formerly 'Hegemon1984'
Feb 17, 2025
7
4
Hey guys,

I'm currently trying to play a webm video file on renpy. For some reason, it's not detecting the file and it just skips over it like it doesn't exist. What am I doing wrong?

Here's my code.

Code:
image forest = Movie(play="images/cgs/prologue/prologue_carinterior/forestloop.webm", size=(1920, 1080), loop=True)

show forest at truecenter
 

Freeworlddev

Formerly 'Hegemon1984'
Feb 17, 2025
7
4
What's on the next line after show...?
You will need to add a pause or a bit of dialog.
Code:
image forest = Movie(play="images/cgs/prologue/prologue_carinterior/forestloop.webm", size=(1920, 1080), loop=True)
show forest at truecenter
pause
That's it? :eek: Let me give it a shot.
 

Freeworlddev

Formerly 'Hegemon1984'
Feb 17, 2025
7
4
What's on the next line after show...?
You will need to add a pause or a bit of dialog.
Code:
image forest = Movie(play="images/cgs/prologue/prologue_carinterior/forestloop.webm", size=(1920, 1080), loop=True)
show forest at truecenter
pause
Wow... I can't believe that was it. Thank you, my man :D
 
  • Like
Reactions: badbod

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,709
18,025
Ya, any displayable needs a dialogue or a pause, otherwise Ren'py will just move right on past the image/movie to whatever code you have below it.
More generally, Ren'Py is entirely based on what is called an "interaction".
It's a bit more complex than that, but basically an interaction is anything that need an input from the player, while anything that happen between two interactions is instant.

So, by example, if you have something like:
Python:
label whatever:
    "let's go"
    scene slide01
    scene slide02
    scene slide03
    scene slide04
    "blablabla"
The four images will be displayed in an instant, and the player will only see the last one, since there's now an interaction to end the cycle started right after the player pressed a key to pass the previous interaction, that the "let's go" dialog was.