diff --git a/ajax/load-more-videos.php b/ajax/load-more-videos.php
index 3bfc18b..921e144 100644
--- a/ajax/load-more-videos.php
+++ b/ajax/load-more-videos.php
@@ -109,7 +109,9 @@ foreach ($videos as $video) {
$html .= '
' . htmlspecialchars($video['title']) . '
';
$html .= ' ' . htmlspecialchars($video['channel']) . '
';
$html .= ' ';
- $html .= ' ' . formatViewCount($video['views']) . ' vues';
+ if (defined('SHOW_VIDEO_VIEWS') && SHOW_VIDEO_VIEWS) {
+ $html .= ' ' . formatViewCount($video['views']) . ' vues';
+ }
$html .= ' ' . formatDate($video['date']) . '';
$html .= '
';
$html .= ' ';
diff --git a/includes/featured-videos.php b/includes/featured-videos.php
index 3192d5f..8a6f62d 100644
--- a/includes/featured-videos.php
+++ b/includes/featured-videos.php
@@ -19,7 +19,9 @@ foreach ($featuredVideos as $video):
+
vues
+
diff --git a/includes/recent-videos.php b/includes/recent-videos.php
index 2f7b699..eeba88c 100644
--- a/includes/recent-videos.php
+++ b/includes/recent-videos.php
@@ -19,7 +19,9 @@ foreach ($recentVideos as $video):
+
vues
+
diff --git a/video.php b/video.php
index fe0395f..4674ac8 100644
--- a/video.php
+++ b/video.php
@@ -141,7 +141,7 @@ if (empty($videoData) || isset($videoData['error'])) {
">
-
+
@@ -216,7 +216,9 @@ if (empty($videoData) || isset($videoData['error'])) {
+
vues
+
@@ -440,7 +442,9 @@ if (empty($videoData) || isset($videoData['error'])) {
+
vues
+