Replies: 1 comment
-
Воспроизведение через библиотеку
Playback via the Использую | Using: const link = Generatem3u8(blobs);
const video = $("video")[0];
video.disableRemotePlayback = true;
video.controls = true;
const videoSource1 = document.createElement('source');
videoSource1.type = 'application/x-mpegURL';
videoSource1.src = link; // Create URL from MediaSource
video.appendChild(videoSource1); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Уже есть множество примеров того, как это должно работать и как это выглядит. Для этого проекта начал использовать IndexedDB, потому что позволяет хранить видео сегменты которые я объединяю в файл m3u8 при помощи
Blob
There are already many examples of how it should work and how it looks. I started using IndexedDB for this project because it allows me to store video segments that I merge into a m3u8 file using
Blob
.Beta Was this translation helpful? Give feedback.
All reactions