mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 12:10:17 +09:00
auto play video/audio
This commit is contained in:
parent
6c37d04591
commit
dbabb2c403
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user