Все и сразу, давно делал, лень разбираться

This commit is contained in:
ifraimka committed 2025-02-18 12:53:17 +03:00
1 parent 4978c36070
commit ab9438b5b9
32 files changed
+389 -120

No files matched your search

+19
View File
@@ -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;