Multiple videos side-by-side with IPython Display
You can do this with ipywidgets
: Display the videos within a ipywidgets.Output
widget,
and then use ipywidgets.GridspecLayout
to arange your widgets.
Here is an example:
from ipywidgets import Output, GridspecLayout
from IPython import display
grid = GridspecLayout(1, len(filepaths))
for i, filepath in enumerate(filepaths):
out = Output()
with out:
display.display(display.Video(filepath, embed=True))
grid[0, i] = out
grid