-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Allow an output to go into full-screen mode #110766
Comments
After playing with it a bit, I found interesting inconsistency with Electron webview, iframe and iframe in Web. How to reproduce Open an ipynb file which has a HTML output and that HTML output can call
and then click the button in the output Behaviors
Behaviors if we set
Expected behaviorIt's questionable if we want to allow fullscreen request from the webview but either way we should align the experience and here are what we need to archive that
I would love to seek help from @deepak1556 about if Electron is misbehaving somehow and what we can do to improve (I put your name after those items which I need your deep insight into Electron webview, they are not assignments). |
FYI @mjbvz as you might see similar behaviors in Webview #110766 (comment) |
The current goal is to get webviews working in full-screen mode. |
We now moved to iframe on desktop, this is now a feature request as we don't support this at all in all platforms. |
Hi @rebornix @deepak1556 @rzhao271, just to chime in with another use case for full-screen mode, now that VS Code includes a number of audio and video codecs, per #156558 and #118275 (thanks to @isidorn @mjbvz), it'd be great if videos could be full-screened as well. Currently, if you embed a YouTube video in a webview (e.g., in a previewed <iframe allow="fullscreen" allowfullscreen src="https://www.youtube.com/embed/B-s71n0dHUk" ></iframe> YouTube's full-screen icon remains disabled, presumably because that In our use case, the intent is to embed instructional videos for @cs50 within rendered Markdown files (in the primary sidebar), and on small screen sizes, it'd indeed be ideal if students could pop out and full-screen the videos. Thank you! CC @rongxin-liu |
+1: When I try to view a local |
Our extension has a webview that displays videos, and we would also like to be able to full-screen them. Webview size can be quite constrained depending on the editor layout the user has selected, and our videos can be fairly large, so allowing the user to pop open a video full-screen would make a large difference in the usability of our extension. |
@deepak1556 that would be lovely to allow this, at least some of the mimetypes, for example video. |
+1 |
Some jupyter notebook renderers support opening output in full screen, we will explore what that means in VS Code environment.
The text was updated successfully, but these errors were encountered: