- Issue created by @k.prozorov
- Status changed to Needs review
4 months ago 3:00pm 5 August 2024
I would like to be able to insert links to Vkontakte videos.
Links of the type https://vk.com/video-XXX_YYY they should be transformed into something like this:
<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://vk.com/video_ext.php?oid=-XXX&id=YYY&hd=2&autoplay=0" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>
Just like it happens with links to youtube videos.
Make changes to media-embed.js file, for the possibility of this implementation.
Needs review
1.0
Code