Skip to content

Commit ffbd43d

Browse files
waleedlatif1claude
andcommitted
fix(note-block): add required src attribute to track elements
HTML spec requires track elements to have a src attribute. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4ce7c4e commit ffbd43d

File tree

1 file changed

+2
-2
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/note-block

1 file changed

+2
-2
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/note-block/note-block.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,12 +433,12 @@ const NoteMarkdown = memo(function NoteMarkdown({ content }: { content: string }
433433
preload='metadata'
434434
className='aspect-video w-full'
435435
>
436-
<track kind='captions' default />
436+
<track kind='captions' src='' default />
437437
</video>
438438
)}
439439
{embedInfo.type === 'audio' && (
440440
<audio src={embedInfo.url} controls preload='metadata' className='w-full'>
441-
<track kind='captions' default />
441+
<track kind='captions' src='' default />
442442
</audio>
443443
)}
444444
</span>

0 commit comments

Comments
 (0)