feat: Implement mobile double-tap gestures for video player controls and apply CSS optimizations.

This commit is contained in:
kuekhaoyang
2026-02-16 23:27:45 +08:00
parent 98e314e31a
commit a9888353a3
12 changed files with 2344 additions and 24 deletions
+10 -6
View File
@@ -23,12 +23,16 @@
.video-card-wrapper {
/* CSS containment for isolation */
contain: layout style paint;
/* Content visibility for lazy rendering */
content-visibility: auto;
/* Reduce layout shifts */
contain-intrinsic-size: auto 400px;
}
@supports (content-visibility: auto) {
.video-card-wrapper {
/* Content visibility for lazy rendering */
content-visibility: auto;
/* Reduce layout shifts */
contain-intrinsic-size: auto 400px;
}
}
/* Reduce repaints on images */