Support for pasting links to Vkontakte videos

Created on 5 August 2024, 4 months ago

Problem/Motivation

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.

Proposed resolution

Make changes to media-embed.js file, for the possibility of this implementation.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇷🇺Russia k.prozorov

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024