Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iframe a binderhub instance? #1078

Closed
csbrown opened this issue Mar 23, 2020 · 4 comments
Closed

iframe a binderhub instance? #1078

csbrown opened this issue Mar 23, 2020 · 4 comments
Labels

Comments

@csbrown
Copy link

csbrown commented Mar 23, 2020

Is it possible to iframe a binderhub instance?

My specific use case is that I am using reveal.js to give a presentation, and would like to simply have a jupyter notebook on one of my slides. However, I'm getting a "Blocked by Content Security Policy" error. Possibly there is a jupyterhub config that I can include that will make this work?

To be clear, I am iframing the "sharable" link: https://mybinder.org/v2/gh/csbrown/cs4all/master?filepath=loops%2Fresources%2Floops.ipynb

@betatim
Copy link
Member

betatim commented Mar 23, 2020

If you run your own BinderHub instance you can configure the content security policy to allow iframe'ing. I don't think we will allow it on mybinder.org in the near future.

You can however run your whole slide deck in a binder session. Take a look at https://github.com/binder-examples/jupyter-rise

@tonyphoang-zz
Copy link

I'm interested in creating a website that contains a video + mybinder instance so people can follow along.

So you're saying the mybinder.org does not allow iframe at all?
If so, would I just need to create a k8s instance and run my own BinderHub from it? Or more specifically repo2docker which generates a runnable container containing jupyter and a single spawner. https://github.com/jupyter/repo2docker

@betatim
Copy link
Member

betatim commented Apr 17, 2020

Hi,

this thread is more of a support question than a technical discussion about how to change the code in this repo. We have recently decided to move all support questions to the forum https://discourse.jupyter.org/ to keep thing streamlined. We should have closed the issue already but forgot, a bot will be closing this issue soon.

Please report your question in the forum. 9The short answer is that you need to run your own BinderHub instance)

@support
Copy link

support bot commented Apr 17, 2020

Hi there @csbrown 👋!

I closed this issue because it was labelled as a support question.

Please help us organize discussion by posting this on the http://discourse.jupyter.org/ forum.

Our goal is to sustain a positive experience for both users and developers. We use GitHub issues for specific discussions related to changing a repository's content, and let the forum be where we can more generally help and inspire each other.

Thanks you for being an active member of our community! ❤️

@support support bot closed this as completed Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants