show_video

Contents

show_video#

Class method.

do_dpc.utils.plots.show_video(video_title)[source]#

Displays a video in the Jupyter Notebook by embedding it as a base64-encoded data URL.

Parameters:

video_title (str) – The title of the video (without extension), used to construct the filename.

Raises:
  • FileNotFoundError – If the specified video file does not exist in the video folder.

  • Exception – If there’s an error during file reading or base64 encoding.