@GergoBo - Since notebooks cannot reach out to the file system to stream, you must embed the video as a Base64 encoded string.
I tried below code and it works well in Notebook as it plays the video in the output.
import base64
from IPython.display import HTML
video_path = "/Volumes/workspace/ingestion/vol1/mp4/file_example_MP4_480_1_5MG.mp4"
with open(video_path, "rb") as f:
data = f.read()
b64_video = base64.b64encode(data).decode()
HTML(f"""
<video width="640" height="480" controls>
<source src="data:video/mp4;base64,{b64_video}" type="video/mp4">
</video>
""")
This works best for small files (<50MB) as it loads the whole video into memory.
Pls try above. I will check for Dash-app as it is more involved and try to get back.
RG #Driving Business Outcomes with Data Intelligence