|
@@ -14,8 +14,9 @@ class Video
|
|
|
public function __construct(){
|
|
|
define("VOD_CLIENT_NAME", 'AliyunVodClientDemo');
|
|
|
|
|
|
- $this->accessKeyId = 'LTAI5t5kfj2Efg6YA7awDUoP';
|
|
|
- $this->accessKeySecret = 't5HZA7628nQv9tGv0y50AOoMfgMYkl';
|
|
|
+ $config = config('vod');
|
|
|
+ $this->accessKeyId = $config['accessKeyId'];
|
|
|
+ $this->accessKeySecret = $config['accessKeySecret'];
|
|
|
|
|
|
$this->initVodClient();
|
|
|
}
|