Reference Manual: (offline | online) Quickstart: (offline | online)

renpy.movie_start_displayable

Function: renpy.movie_start_displayable( filename, size, loops=0)

This starts a MPEG-1 movie playing in displayable mode. One or more Movie widgets must be displayed if the movie is to be shown to the user.

filename - The filename of the MPEG-1 move that we're playing.

size - A tuple containing the size of the movie on the screen. For example, (640, 480).

loops - The number of additional times the movie should be looped. -1 to loop it forever.

Example

init:
    image movie = Movie()

show movie at Position(xpos=420, ypos=25, xanchor='left', yanchor='top')
show eileen happy

$ renpy.movie_start_displayable('Eisenhow1952.mpg', (352, 240))
e "Ren'Py can even overlay rendered images on top of a movie,
   although that's more taxing for your CPU."

e "It's like I'm some sort of newscaster or something."

$ renpy.movie_stop()
hide movie
Reference Manual: (offline | online) Quickstart: (offline | online)