You are here

public function video_s3::__construct in Video 6.5

Same name and namespace in other branches
  1. 6.4 plugins/video_s3/filesystem/video_s3.inc \video_s3::__construct()

File

plugins/video_s3/filesystem/video_s3.inc, line 20
Class file used to store videos in Amazon S3.

Class

video_s3

Code

public function __construct() {
  module_load_include('lib.inc', 'video_s3');
  if (_video_s3_is_active_fs()) {
    $this->s3 = new video_amazon_s3();
    $this->s3
      ->connect();
  }
}