视频压缩

This commit is contained in:
小潘
2026-06-10 08:47:25 +08:00
parent 92c84e9dab
commit 0403710e8c
3 changed files with 3 additions and 41 deletions
+1 -40
View File
@@ -11,44 +11,5 @@
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
<script>
window.difyChatbotConfig = {
token: 'DJdSTFBWmkh0OOAb',
baseUrl: 'https://szdify.2009xc.com',
inputs: {
// You can define the inputs from the Start node here
// key is the variable name
// e.g.
// name: "NAME"
},
systemVariables: {
// user_id: 'YOU CAN DEFINE USER ID HERE',
// conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
},
userVariables: {
// avatar_url: 'YOU CAN DEFINE USER AVATAR URL HERE',
// name: 'YOU CAN DEFINE USER NAME HERE',
},
}
</script>
<script src="https://szdify.2009xc.com/embed.min.js" id="DJdSTFBWmkh0OOAb" defer>
</script>
<style>
#dify-chatbot-bubble-button {
background-color: #043b8f !important;
position: fixed !important;
bottom: 36px !important;
right: 24px !important;
z-index: 9999 !important;
}
#dify-chatbot-bubble-window {
width: 24rem !important;
height: 40rem !important;
position: fixed !important;
bottom: 80px !important;
right: 24px !important;
z-index: 9999 !important;
}
</style>
</html>
Binary file not shown.
+2 -1
View File
@@ -1,4 +1,5 @@
import { ArrowRight } from 'lucide-react';
import bag from '../assets/images/bag.mp4'
// import { useEffect, useRef } from 'react';
// function ParticleNetwork() {
@@ -93,7 +94,7 @@ export default function HeroSection() {
playsInline
className="absolute inset-0 w-full h-full object-cover z-0 scale-105"
>
<source src="/src/assets/images/bag.mp4" type="video/mp4" />
<source src={bag} type="video/mp4" />
</video>
{/* Cinematic overlay */}