Jupyter_Video_Widget icon indicating copy to clipboard operation
Jupyter_Video_Widget copied to clipboard

Connect over server public IP and fixed port

Open kim0 opened this issue 7 years ago • 2 comments

Hi, Thanks for this jupyter widget! Very useful! It was working well for me in dev mode. But now, when I deployed my notebook on a server with a fixed public IP and fixed port. I found that the extension still tries to load the video over localhost and some random port

How can I configure this extension to load videos from :8080 ?

kim0 avatar Oct 02 '17 20:10 kim0

Hi @kim0, i never tested the widget with a notebook served from a deployed system. This is very interesting! Indeed as I designed it, the widget is assuming the client and back end are running on the same device.

I'll try to look at this issue this week, but I'm pretty busy at work these days, so it might be the weekend before I can really dig in.

Thanks for trying out the widget and letting me know about the problem.

Who8MyLunch avatar Oct 03 '17 04:10 Who8MyLunch

Hi @kim0, I just made changes to the video widget and internal server to allow the user to specify custom port number and host name. The example notebook for basic details.

Note that I don't have easy access right now to a deployed server like you're using. This fix seems simple enough that there's a good chance this will give you what you need. But we might still need to iterate a few more times. Please let me know.

Who8MyLunch avatar Oct 07 '17 17:10 Who8MyLunch