Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

fix: Remove HTML tags from code example #10389

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/site/content/en/blog/media-recording-video/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ progressively save the data from the stream to you preferred destination.
var handleSuccess = function(stream) {
const options = {mimeType: 'video/webm'};
const recordedChunks = [];
<strong>const mediaRecorder = new MediaRecorder(stream, options);
const mediaRecorder = new MediaRecorder(stream, options);

mediaRecorder.addEventListener('dataavailable', function(e) {
if (e.data.size > 0) {
Expand All @@ -202,7 +202,7 @@ progressively save the data from the stream to you preferred destination.
downloadLink.download = 'acetest.webm';
});

mediaRecorder.start();</strong>
mediaRecorder.start();
};

navigator.mediaDevices.getUserMedia({ audio: true, video: true })
Expand Down