mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	auto play video/audio
This commit is contained in:
		@@ -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>
 | 
			
		||||
            );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user