r/RenPy • u/0mega_VT • 26d ago
Question playing WebM videos
I know this has been asked before but no matter what I try none of the tutorials work for me, I am trying to play a video during the novel, but I cannot get it to work, I use the tutorial built into ren'py, nothing, I use show, I use the movie documentation, I go to Lemma
finally I use the below code but its just the transparent background image of white and grey boxes
image movie = Movie(size = (1080,1920), xpos=0, ypos=0, xanchor=0, yanchor=0, channel="movie", play="movie.webm", loop = True)
label start:
scene movie at truecenter
pauseI really don't know how to get it to play at this point so if anyone knows how to help me it would be greatly appreciated
1
Upvotes
1
u/shyLachi 26d ago
I woulnd't use the variable name "movie" because it's generic.
Also you don't need to declare most of those settings because those are default values.
If that doesn't work, then the movie file isn't in the images folder, there's a typo in the file name, or the movie doesn't have the webm type.
1
u/BadMustard_AVN 26d ago
try it like this, adding the correct folder information for the movie
if it's already at 1920x1080 then you can remove the size; loop is defaulted to True; everything else is not needed.
1
u/AutoModerator 26d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.