diff --git a/src/scm/plams/tools/movie.py b/src/scm/plams/tools/movie.py index 409b6d59..541cb8e6 100644 --- a/src/scm/plams/tools/movie.py +++ b/src/scm/plams/tools/movie.py @@ -135,7 +135,7 @@ def display_movie( attributes.append(f'height="{height}"') display(HTML(f"")) elif suffix == ".mp4": - display(Video(filename=str(movie_path), embed=embed, width=width, height=height)) + display(Video(str(movie_path), embed=embed, width=width, height=height)) else: raise ValueError(f"Unsupported movie format '{movie_path.suffix}'. Supported formats are: .gif, .webp, .mp4")