Support table rows and columns to zoom in and out, and allow users to continue watching the video in the Obsidian table instead of jumping to an external browser to play the video
Problem
Support table rows and columns to zoom in and out, and allow users to continue watching the video in the Obsidian table instead of jumping to an external browser to play the video
- The row and column of the table cannot be zoomed in. This cannot zoom in and out for the embedded video screen;
- There is a problem when playing YouTube videos in Obsidian form. Currently, only videos with the specified link can be played. If I want to continue playing the next video in the obsidian form, it will jump to an external browser instead of continuing to open and play the next video in the obsidian form, which is for users who like to continue watching videos in the obsidian form, It may not be satisfactory! So I hope to strengthen the support for video playback, so that users can continue to watch the video in the obsidian form, instead of jumping to an external browser to play the video. A settings option may be provided to allow the user to enable or disable the ability to continue to the next video in the Obsidian form.
System: Windows 10
Obsidian: 1.3.5
obsidian-notion-like-tables: 6.17
Thank you so much for such a wonderful extension!
Solution
Support table rows and columns to zoom in and out, and allow users to continue watching the video in the Obsidian table instead of jumping to an external browser to play the video
- The row and column of the table cannot be zoomed in. This cannot zoom in and out for the embedded video screen;
- There is a problem when playing YouTube videos in Obsidian form. Currently, only videos with the specified link can be played. If I want to continue playing the next video in the obsidian form, it will jump to an external browser instead of continuing to open and play the next video in the obsidian form, which is for users who like to continue watching videos in the obsidian form, It may not be satisfactory! So I hope to strengthen the support for video playback, so that users can continue to watch the video in the obsidian form, instead of jumping to an external browser to play the video. A settings option may be provided to allow the user to enable or disable the ability to continue to the next video in the Obsidian form. System: Windows 10 Obsidian: 1.3.5 obsidian-notion-like-tables: 6.17 Thank you so much for such a wonderful extension!
Additional details
Thank you so much for such a wonderful extension! No response
@zhouxinghong To "zoom", are you talking about increasing the size of the YouTube video? Try increasing the width size of the column. The embed column by default has an aspect ratio of 16/9 and it will resize to fill the column width. You can also change the aspect ratio in the column settings + adding horizontal/vertical padding if needed.
As for playing the next video in Obsidian, I don't think that this possible at the moment. The YouTube video is playing in an iFrame. I don't control how that is rendered. I only render it.
To "zoom", are you talking about increasing the size of the YouTube video? Try increasing the width size of the column. The embed column by default has an aspect ratio of 16/9 and it will resize to fill the column width. You can also change the aspect ratio in the column settings + adding horizontal/vertical padding if needed. How to carry out the above setting and operation?
Obsidian already provides the following syntax to render YouTube videos

You can try it!
Yep. That is what the table uses to render the YouTube video. I pass it into the Obsidian MarkdownRenderer.renderMarkdown function. The table renders the same thing that Obsidian does.
Hope you can perfect the video playback function described above! 👍😜
@zhouxinghong To change the column width, hover your mouse near the edge of a column and then drag.
To change the padding or the aspect ratio, open the header edit menu and click Options
Thank you for your hard work and effort! I will try the effect later 👍😜🤞
The width of New Column is too narrow. When the title name is relatively long, the input is very inconvenient. It should support widening and shrinking
currently existing problems:
- At present, it is not possible to continue to play the next video in the table, and the next video will jump to the external browser;
- It would be more perfect if it can support login YouTube account;
- I hope you can gradually improve these functions, thank you very much for your hard work and efforts! 👍👏😜
Other areas that need improvement will continue to be added later. . . 👍😜
Found a problem: After using the mouse to drag and zoom in on the video, a vertical scroll bar will appear, and it should be possible to cancel the maximum height limit