Embedded videos

31 views
Skip to first unread message

castania pilonga

unread,
Jan 12, 2021, 5:11:23 PM1/12/21
to sphinx-users
Hello,

I am trying to embed local videos in my Sphinx project. I do it following this thread:


After running make html, I can see the browser shows the little video window but it does not play it, it shows the following error:

video_in_sphinx.png
I tried converting my .mp4 videos into .webm, but I got the same results.

What should I do to have embedded videos?

Thank you!

castania pilonga

unread,
Jan 12, 2021, 5:25:03 PM1/12/21
to sphinx-users
I uploaded the built files to my remote web server and published them, just to check if publishing it from a real webserver could fix it, but it still shows the same error.

Stefano David

unread,
Jan 14, 2021, 4:10:08 AM1/14/21
to sphinx...@googlegroups.com
Hi,

On Tue, 12 Jan 2021 14:25:02 -0800, castania pilonga wrote:

> I uploaded the built files to my remote web server and published them,
> just to check if publishing it from a real webserver could fix it, but
> it still shows the same error.
This might as well be a client-side error, not a sphinx one, but it's a
shot in the dark.

There is another extension to embed videos, that I would like to use but
I had no time yet to test it, perhaps you can give it a try:

https://github.com/sphinx-contrib/video

HTH,
Stefano




castania pilonga

unread,
Jan 20, 2021, 11:39:32 AM1/20/21
to sphinx-users
Thank you. In the end I did it with raw html and iframe. Thanks!
Reply all
Reply to author
Forward
0 new messages