Skip to content

Commit

Permalink
remove failed video text
Browse files Browse the repository at this point in the history
  • Loading branch information
jsandland committed Nov 4, 2024
1 parent 6ba3615 commit 4f0b230
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions express/blocks/how-to-steps/how-to-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,7 @@ export default function decorate(block, name, doc) {
if (isVideo) {
const video = createTag('video', { width: '320', height: '240', controls: true });
const sourceMp4 = createTag('source', { src: p.innerHTML, type: 'video/mp4' });

video.appendChild(sourceMp4);
video.appendChild(document.createTextNode('Your browser does not support the video tag.'));

content = video;
} else {
content = p;
Expand Down

0 comments on commit 4f0b230

Please sign in to comment.