We deal with both the problems manually.
We use a modified local JS file for summernote to better manage the width of video, and remove the CDN link via Git/VSCode before committing.
When developing locally, we have to keep removing the CDN include from layout page, if we are working on summernote integration.
If not, we don’t bother removing it until we have to commit the layout page in Git.
It seems there needs to be bigger discussion around using CDN or local for all components given how many times this has been asked for Tagify as well.
Can you not style this via CSS?
What video are you embeding - a youtube video or you upload a video to your server? Also where do you want to change its size - on the resulting page, where you use the generated HTML or inside the summernote itself?
The embed is an iframe, and the width and height are defined in summernote-lite.min.js for each video type (youtube, vimeo, etc.). Search for 640 and you’ll see 5 references to each video type.
I want to change the size in the js file since that’s where it’s set.
Since the issue is the fixed size the embed would need to be smaller everywhere (i.e. in Summernote and when displayed on page.)