Ignore:
Timestamp:
Nov 17, 2012, 5:05:32 PM (11 years ago)
Author:
mistic100
Message:

allow to add private dailymotion videos, remove videobb support, add tags support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gvideo/include/install.inc.php

    r17684 r19056  
    2222      'width' => 640,
    2323      'height' => 360,
     24      'sync_description' => 1,
     25      'sync_tags' => 1,
    2426      'vimeo' => array(
    2527        'title' => 1,
     
    3638      'wat' => array(),
    3739      'wideo' => array(),
    38       'videobb' => array(),
    3940      ));
    4041   
    4142    conf_update_param('gvideo', $gvideo_default_config);
    4243    $conf['gvideo'] = $gvideo_default_config;
     44  }
     45  else
     46  {
     47    if (is_string($conf['gvideo']))
     48    {
     49      $conf['gvideo'] = unserialize($conf['gvideo']);
     50    }
     51   
     52    if (!isset($conf['gvideo']['sync_description']))
     53    {
     54      $conf['gvideo']['sync_description'] = 1;
     55      $conf['gvideo']['sync_tags'] = 1;
     56     
     57      conf_update_param('gvideo', serialize($conf['gvideo']));
     58    }
    4359  }
    4460 
Note: See TracChangeset for help on using the changeset viewer.