Just installed this and I really like it already. It also incidentally works when I embed my own website and I guess will work with many other websites. Is there or could there possibly be a way in the future to scale a website or other by %? Not sure if I am asking this correctly let me try…
When I embed a website its full size is greater than the page space both in Obsidian and Obsidian Publish I would like it to fully fit the window with out any scroll bars. I think I am asking is it possible to scale an embed up or down so its content is + (120% for example) or - (70%) of the original size. I have no idea if this is possible at all?
apologies in advance for my knowledge-less mind around this stuff
When I embed a website its full size is greater than the page space both in Obsidian and Obsidian Publish I would like it to fully fit the window with out any scroll bars.
For the size, you can resize the preview (there is a checkbox to be able to change the width and then you can move the bottom right corner of the preview) but indeed currently it doesn’t look great if you go wider than a normal page or if the page is really wide.
I think there is a CSS solution to resize the content. If there are more people interested, I can add an option to select a “zoom” level.
Would be lovely if possible (re zoom level) but either way still a good and useful plugin. As I am working on a project that will have a lot of embeds in it for the public your plugin will save me hours of fiddling around guessing dimensions, It is likely to be the most or one of the most useful plugins for me personaly
I’m sure this plugin is going to be useful to me in a number of situations. I currently use Obsidian’s Templates plugin for pasting pre-made iframes for YouTube videos with set dimensions. I’m wondering if it’s possible to use a preset of some sort for the iframe’s dimensions instead of having to change it each time when needed. Thanks!
Also, having a hard time manually changing the iframe’s size in the preview. Every time I drag the corner it selects part of the video/website instead of resizing it. Am I missing something?
Top, I’ll have a look for the scaling but after a small exploration, it doesn’t look easy.
If a CSS wizard has some tips I’m all ears. I’ve tried some solutions found online.
The difficulty is that we don’t have access to the content of the preview for security purposes. It’s hard to be sure that it’s going to work well on most browsers (important if you want to publish it).
Furthermore, if the website has a reactive design, it shouldn’t need a rescaling.
Oh, yeah the input box should work for my use case as long as the dimensions don’t reset each time I use the plugin, but maybe the preset idea would help for others.
I personally always use the same size for YT vids (I don’t use iframe for anything else), but I’d also imagine others wanting to use different sizes on specific URLs just as you say. In either case, the input box (and presets ¯\_(ツ)_/¯) would be helpful.
Maybe the dimensions in the input box could also change as the user manually resizes the preview.
Alright, I’ll start with the input box when I’ve some time. I should be easy to link to the resize.
The only detail, is that I want to keep the fixed width to 100% (the width of the document, I find it a nice feature).
I’ve got to check what’s the best way to store settings for a plugin.
I tried this plugins but that’s not what I was looking for.
I just don’t want to do anything with a link to “convert” it. Why not to add a drop-down icon to expand a link into preview iframe automatically?
I installed this plugin yesterday but decided to test it today, and I can say that it’s a great thing and really useful. I can’t wait for you to be able to make a similar plugin for other platforms and sites like Spotify. This information is especially useful to me because I have started studying programming and am actively maintaining my YouTube account. And therefore, I will be able to make a video about this plugin, and I think it will be very cool. I will most likely need to use templates from this site for the video – create.vista, because I just don’t have time to design thumbnails.