PluginProbe
AI Builder – Generate pages, blocks, images & translate with AI / trunk
AI Builder – Generate pages, blocks, images & translate with AI vtrunk
2.7.9 2.7.8 2.0.8 2.0.9 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.10 2.3.11 All 121 releases
ai-builder / assets / css / video.css

video.css in AI Builder – Generate pages, blocks, images & translate with AI trunk, at assets/css/video.css

114 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .video-container {
2 padding: 40px 24px;
3 margin: 0 auto;
4 max-width: 800px;
5 border-radius: 8px;
6 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
7 }
8
9 .video-title {
10 font-size: 1.75rem;
11 font-weight: 600;
12 margin-bottom: 0.75rem;
13 color: #1a1a1a;
14 }
15
16 .video-description {
17 font-size: 1rem;
18 color: #666;
19 margin-bottom: 1.5rem;
20 }
21
22 .video-player {
23 width: 100%;
24 max-width: 800px;
25 margin: 0 auto 1.5rem;
26 border-radius: 8px;
27 overflow: hidden;
28 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
29 background-color: #000;
30 }
31
32 .video-player video {
33 width: 100%;
34 height: auto;
35 display: block;
36 aspect-ratio: 16/9;
37 object-fit: cover;
38 }
39
40 .video-player::-webkit-media-controls {
41 background-color: rgba(0, 0, 0, 0.7);
42 }
43
44 .video-player::-webkit-media-controls-panel {
45 padding: 0 10px;
46 }
47
48 .video-info {
49 font-size: 0.9rem;
50 color: #666;
51 margin-top: 0.75rem;
52 }
53
54 /* Responsive Styles */
55 @media (max-width: 768px) {
56 .video-container {
57 padding: 30px 16px;
58 }
59
60 .video-title {
61 font-size: 1.5rem;
62 }
63
64 .video-description {
65 font-size: 0.95rem;
66 }
67
68 .video-player {
69 margin-bottom: 1rem;
70 }
71 }
72
73 /* Video Controls Customization */
74 .video-player video::-webkit-media-controls-play-button {
75 background-color: #2563eb;
76 border-radius: 50%;
77 color: white;
78 }
79
80 .video-player video::-webkit-media-controls-timeline {
81 background-color: rgba(255, 255, 255, 0.2);
82 border-radius: 4px;
83 height: 4px;
84 }
85
86 .video-player video::-webkit-media-controls-volume-slider {
87 background-color: rgba(255, 255, 255, 0.2);
88 border-radius: 4px;
89 height: 4px;
90 }
91
92 /* Loading State */
93 .video-player.loading {
94 position: relative;
95 }
96
97 .video-player.loading::before {
98 content: "";
99 position: absolute;
100 top: 50%;
101 left: 50%;
102 transform: translate(-50%, -50%);
103 width: 40px;
104 height: 40px;
105 border: 4px solid #f3f3f3;
106 border-top: 4px solid #2563eb;
107 border-radius: 50%;
108 animation: spin 1s linear infinite;
109 }
110
111 @keyframes spin {
112 0% { transform: translate(-50%, -50%) rotate(0deg); }
113 100% { transform: translate(-50%, -50%) rotate(360deg); }
114 }