mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:59:45 +00:00
Все и сразу, давно делал, лень разбираться
This commit is contained in:
1 parent
4978c36070
commit
ab9438b5b9
32 files changed
+389
-120
No files matched your search
@@ -0,0 +1,19 @@
|
||||
// import { useEffect } from "react";
|
||||
|
||||
function VKvideo({ video }) {
|
||||
video.url = `https://vk.com/video_ext.php?id=${video.id}&oid=${video.oid}`;
|
||||
|
||||
return (
|
||||
<iframe
|
||||
title="vkvideo"
|
||||
class="vkvideo"
|
||||
src={video.url}
|
||||
width={video.width}
|
||||
height={video.height}
|
||||
allow="autoplay; encrypted-media; fullscreen; picture-in-picture;" frameborder="0"
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
);
|
||||
}
|
||||
|
||||
export default VKvideo;
|
||||
Reference in new issue
Block a user