Changeset 94517 in spip-zone


Ignore:
Timestamp:
Jan 9, 2016, 12:33:41 PM (4 years ago)
Author:
arnaud.berard@…
Message:

Suite au message : http://contrib.spip.net/Plugin-Video-s#forum484480
on trim() la Api_key ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/videos/trunk/lib/Videopian.php

    r90015 r94517  
    10321032        }
    10331033        //$file_data = 'http://gdata.youtube.com/feeds/api/videos/'.self::$id;
    1034         $file_data = 'https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails&id='.self::$id.'&key='.$youtube_api_key;
     1034        $file_data = 'https://www.googleapis.com/youtube/v3/videos?part=snippet,contentDetails&id='.self::$id.'&key='.trim($youtube_api_key);
    10351035       
    10361036        self::checkAvailability($file_data);
Note: See TracChangeset for help on using the changeset viewer.