diff --git a/plugins/carhop-blocks/acf-blocks/custom-audio/block.json b/plugins/carhop-blocks/acf-blocks/custom-audio/block.json
new file mode 100644
index 0000000..bb574b3
--- /dev/null
+++ b/plugins/carhop-blocks/acf-blocks/custom-audio/block.json
@@ -0,0 +1,35 @@
+{
+ "name": "acf/custom-audio",
+ "title": "Audio Auto-hébergée",
+ "category": "carhop-blocks",
+ "multiple": true,
+ "icon": {
+ "foreground": "#136f63",
+ "src": "format-video"
+ },
+ "description": "Pour intégrer un son / audio auto-hébergée sur infomaniak",
+ "keywords": [
+ "audio",
+ "son",
+ "musique",
+ "mp3",
+ "infomniak",
+ "auto-hébergée"
+ ],
+ "supports": {
+ "align": [
+ "full"
+ ]
+ },
+ "styles": [
+ {
+ "name": "stacked-background",
+ "label": "Fond empilé"
+ }
+ ],
+ "acf": {
+ "mode": "auto",
+ "renderTemplate": "custom-audio.php"
+ },
+ "align": "full"
+}
\ No newline at end of file
diff --git a/plugins/carhop-blocks/acf-blocks/custom-audio/custom-audio.php b/plugins/carhop-blocks/acf-blocks/custom-audio/custom-audio.php
new file mode 100644
index 0000000..2293ec2
--- /dev/null
+++ b/plugins/carhop-blocks/acf-blocks/custom-audio/custom-audio.php
@@ -0,0 +1,19 @@
+
+
+
+
+ 'block-custom-video custom-video content-section')) ?>>
+
+
+
+
+
+
diff --git a/plugins/carhop-blocks/acf-blocks/custom-video/block.json b/plugins/carhop-blocks/acf-blocks/custom-video/block.json
index e193437..3b25f81 100644
--- a/plugins/carhop-blocks/acf-blocks/custom-video/block.json
+++ b/plugins/carhop-blocks/acf-blocks/custom-video/block.json
@@ -7,6 +7,7 @@
"foreground": "#136f63",
"src": "format-video"
},
+ "description": "Pour intégrer une vidéo auto-hébergée sur infomaniak",
"keywords": [
"vidéo",
"video",
diff --git a/plugins/carhop-blocks/acf-blocks/custom-video/custom-video.php b/plugins/carhop-blocks/acf-blocks/custom-video/custom-video.php
index 240551e..c035cff 100644
--- a/plugins/carhop-blocks/acf-blocks/custom-video/custom-video.php
+++ b/plugins/carhop-blocks/acf-blocks/custom-video/custom-video.php
@@ -1,5 +1,10 @@
@@ -7,6 +12,8 @@ $custom_video_id = get_field('custom_video_id');
'block-custom-video custom-video content-section')) ?>>
-
+
-
\ No newline at end of file
+
+
+
diff --git a/plugins/carhop-blocks/carhop-blocks.php b/plugins/carhop-blocks/carhop-blocks.php
index f7b4709..89d9c58 100644
--- a/plugins/carhop-blocks/carhop-blocks.php
+++ b/plugins/carhop-blocks/carhop-blocks.php
@@ -26,6 +26,7 @@ function create_block_carhop_blocks_block_init()
register_block_type(__DIR__ . '/acf-blocks/gallery');
register_block_type(__DIR__ . '/acf-blocks/social-networks');
register_block_type(__DIR__ . '/acf-blocks/custom-video');
+ register_block_type(__DIR__ . '/acf-blocks/custom-audio');
register_block_type(__DIR__ . '/acf-blocks/team-carhop');
register_block_type(__DIR__ . '/acf-blocks/member-card');
register_block_type(__DIR__ . '/acf-blocks/statistiques-collections');