web/player_embed.php
changeset 1539 2eca6c367a75
parent 1480 d2d28468b410
child 1560 d441b50586ba
--- a/web/player_embed.php	Tue Jan 12 13:47:11 2021 +0100
+++ b/web/player_embed.php	Tue Jan 12 17:29:44 2021 +0100
@@ -84,6 +84,19 @@
 <?php endif; ?>
             },
 <?php endif; ?>
+<?php if ($protocol_level > 1): ?>
+            {
+                type: "Polemic",
+                annotation_type: ["chat"],
+                defaultcolor: "#9b8864",
+                default_version: "3",
+                max_elements: "100"
+<?php if ($protocol_level < 4): ?>
+                ,
+                polemics: []
+<?php endif; ?>
+            },
+<?php endif; ?>
             {
                 type: "MultiSegments"
             },