sunnysideup/fix-videos-for-ss4

Fix videos when moving them from SS3 to SS4

dev-master 2023-07-11 06:05 UTC

This package is auto-updated.

Last update: 2024-11-11 08:46:33 UTC


README

Fixes embedded videos in SS3 to the new format in SS4

Replaces:

<p>
    <iframe foor="bar" src="https://www.youtube.com/embed/ANYCODEHERE" frameborder="0" foo2="bar2"></iframe>
</p>

With:

<div thumbnail="https://i.ytimg.com/vi/ANYCODEHERE/hqdefault.jpg" class="ss-htmleditorfield-file embed">
    <iframe src="https://www.youtube.com/embed/ANYCODEHERE?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
</div>

And similar for Vimeo