web/marathon-serpentine-2018/config.php
changeset 1484 8b545f4cdaf3
parent 1480 d2d28468b410
--- a/web/marathon-serpentine-2018/config.php	Wed Oct 31 17:01:33 2018 +0100
+++ b/web/marathon-serpentine-2018/config.php	Mon Nov 05 19:04:57 2018 +0100
@@ -1,22 +1,34 @@
 <?php
 
-$embed_code_list = [
-    [new DateTime('2018-09-22T08:30:00Z'), new DateTime('2018-09-22T13:30:00Z'), '<iframe width="560" height="315" src="https://www.youtube.com/embed/KfXwcNruncg?autoplay=1" frameborder="0" allow="autoplay; encrypted-media" modestbranding=1 allowfullscreen></iframe>'],
-    [new DateTime('2018-09-22T13:30:01Z'), new DateTime('2018-09-22T22:30:00Z'), '<iframe id="ls_embed_1537527835" src="https://livestream.com/accounts/27752410/events/8379051/player?width=560&height=315&enableInfoAndActivity=true&defaultDrawer=&autoPlay=true&mute=false" width="560" height="315" frameborder="0" scrolling="no" allowfullscreen></iframe>'],
-    [new DateTime('2018-09-23T07:30:00Z'), new DateTime('2018-09-23T16:30:00Z'), '<iframe width="560" height="315" src="https://www.youtube.com/embed/iHygIOIkZ0A?autoplay=1" frameborder="0" allow="autoplay; encrypted-media" modestbranding=1 allowfullscreen></iframe>'],
-];
+// $embed_code_list = [
+//     [new DateTime('2018-09-22T08:30:00Z'), new DateTime('2018-09-22T13:30:00Z'), '<iframe width="560" height="315" src="https://www.youtube.com/embed/KfXwcNruncg?autoplay=1" frameborder="0" allow="autoplay; encrypted-media" modestbranding=1 allowfullscreen></iframe>'],
+//     [new DateTime('2018-09-22T13:30:01Z'), new DateTime('2018-09-22T22:30:00Z'), '<iframe id="ls_embed_1537527835" src="https://livestream.com/accounts/27752410/events/8379051/player?width=560&height=315&enableInfoAndActivity=true&defaultDrawer=&autoPlay=true&mute=false" width="560" height="315" frameborder="0" scrolling="no" allowfullscreen></iframe>'],
+//     [new DateTime('2018-09-23T07:30:00Z'), new DateTime('2018-09-23T16:30:00Z'), '<iframe width="560" height="315" src="https://www.youtube.com/embed/iHygIOIkZ0A?autoplay=1" frameborder="0" allow="autoplay; encrypted-media" modestbranding=1 allowfullscreen></iframe>'],
+// ];
 
-$islive_embed = null;
-$current_time = new DateTime();
+// $islive_embed = null;
+// $current_time = new DateTime();
 
-foreach ($embed_code_list as $time_entry) {
-    if($current_time >= $time_entry[0] &&  $current_time <= $time_entry[1]) {
-        $islive_embed = $time_entry[2];
-        break;
-    }
-}
+// foreach ($embed_code_list as $time_entry) {
+//     if($current_time >= $time_entry[0] &&  $current_time <= $time_entry[1]) {
+//         $islive_embed = $time_entry[2];
+//         break;
+//     }
+// }
 
 $config = array(
+    'event_list' => array(
+        'marathon-serpentine-2018/0-introduction',
+        'marathon-serpentine-2018/01-maproom',
+        'marathon-serpentine-2018/02-maproom',
+        'marathon-serpentine-2018/03-maproom',
+        'marathon-serpentine-2018/04-maproom',
+        'marathon-serpentine-2018/05-maproom',
+        'marathon-serpentine-2018/06-maproom',
+        'marathon-serpentine-2018/writing-workshop-01',
+        'marathon-serpentine-2018/writing-workshop-02',
+      ),
+
     'rep' => basename(__DIR__),
     'title' => "Work Marathon 2018",
     'hashtag' => "#workmarathon",
@@ -138,13 +150,16 @@
 </p>"
 ,
 
-    'link' 		 => '',
-    'islive'     => false,
-    'islive_embed' => $islive_embed,
+    'link' 		 => 'https://www.serpentinegalleries.org/exhibitions-events/work-marathon',
+    'islive'     => true,
+    'islive_embed' => '',
+    // 'islive_embed' => $islive_embed,
     'keywords'   => 'Work Marathon, Neganthropocene, Neganthropy, Samrt Cities, Economy of Contribution, Contributive research, Internation, Building Information Modeling, Disruption',
+    
+    'rep' => basename(__DIR__),
 
     'partenaires'=> "<a href='http://www.serpentinegalleries.org/'
-class='footerLink' target='_blank'> Serpentine Galleries </a><a href='http://www.iri.centrepompidou.fr/' class='footerLink' target='_blank'> IRI </a>",
+    class='footerLink' target='_blank'> Serpentine Galleries </a><a href='http://www.iri.centrepompidou.fr/' class='footerLink' target='_blank'> IRI </a>",
 
     'client_visual' => "images/Serpentine_Image-Polemic_Tweet_480x320.png", // 501 × 376 pixels
     
@@ -155,15 +170,9 @@
     'archive_img' => "images/Serpentine_Image-Polemic_Tweet_270x150.png", // 270 × 150 pixels
 
     'archive_title' => "Work Marathon 2018",
-    'archive_description' => "from <a href=\"http://www.iri.centrepompidou.fr/\" target=\"_blank\">IRI</a> at Serpentine Galleries and Goethe-Institut<br/> September 22nd | 10am - 10pm and September 23rd | 9am - 4pm",
+    'archive_description' => "from <a href=\"https://www.serpentinegalleries.org/\" target=\"_blank\">Serpentine Galleries</a><br/> September 22nd and 23rd",
     'annotation_protocol_version' => '3',
     'additional_js' => ['reloader.php?a='.rand(),],
+    'metadata'		=> "00",
 
-    // After the event
-    'metadata'		=> "cf54e97c-d146-11e8-8451-00145ea4a2be",
-    // 'duration'  	=> 10876600,
-    // 'player'        => "res/metadataplayer/src/js/LdtPlayer.js",
-    // 'div_height'    => 740,
-    // 'player_width'  => 650,
-    // 'player_height' => 500,
 );
\ No newline at end of file