+
+
+
+
+
+
+ {video.title}
+
+
+ {video.doctor || "کادر علمی کنینا"}
+
+
+
+
+
+ {/* Share button */}
+
+
+ {/* Download button */}
+
+
+ {/* Close button */}
+
+
+
+
+ {/* Bottom Custom Controls Bar */}
+ e.stopPropagation()}
+ >
+ {/* Expandable Description Box if available */}
+ {video.description && (
+
+
+ {video.description}
+
+ {video.description.length > 80 && (
+
+ )}
+
+ )}
+
+ {/* Progress / Seek Bar */}
+
+
+ {formatTime(currentTime)}
+
+
+
+
+
+ {formatTime(duration)}
+
+
+
+ {/* Action Buttons Row */}
+
+ {/* Left Controls (Playback & Jumps) */}
+
+ {/* Play/Pause */}
+
+
+ {/* -10s */}
+
+
+ {/* +10s */}
+
+
+ {/* Volume slider */}
+
+
+
+
+
+
+ {/* Right Controls (Speed Menu & Fullscreen) */}
+
+ {/* Playback Rate Popup Menu */}
+
+
+
+ {showRateMenu && (
+
+ {PLAYBACK_RATES.map((rate) => (
+
+ ))}
+
+ )}
+
+
+ {/* Fullscreen Button */}
+
+
+
+
+ >
+ )}
+