Skip to content

Commit

Permalink
auto play video/audio
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Sep 24, 2024
1 parent 6c37d04 commit dbabb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function _MarkDownContent(props: { content: string }) {
}
if (/\.(3gp|3g2|webm|ogv|mpeg|mp4|avi)$/.test(href)) {
return (
<video controls>
<video controls width="99.9%">
<source src={href} />
</video>
);
Expand Down

0 comments on commit dbabb2c

Please sign in to comment.