예제 #1
0
 public static function player($title, $description, $url, $player_url, $playerWidth, $playerHeight, $imageUrl, $imageWidth = 0, $imageHeight = 0)
 {
     $card = new TwitterCard('player', $title, $description, $url);
     $card->image($imageUrl, $imageWidth, $imageHeight);
     $card->video($player_url, $playerWidth, $playerHeight);
     return $card;
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct("app");
     $this->_description = null;
     $this->_appIdIphone = null;
     $this->_appIdIpad = null;
     $this->_appIdGoogleplay = null;
     $this->_appUrlIphone = null;
     $this->_appUrlIpad = null;
     $this->_appUrlGoogleplay = null;
     $this->_appNameIphone = null;
     $this->_appNameIpad = null;
     $this->_appNameGoogleplay = null;
     $this->_appCountry = null;
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct("player");
 }
예제 #4
0
 public function __construct($siteName, $title, $url, $type, $description)
 {
     $this->og = new OpenGraph($siteName, $title, $url, $type, $description);
     $this->tc = TwitterCard::summary($title, $description, $url);
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct("photo");
 }
예제 #6
0
 public function __construct()
 {
     parent::__construct("product");
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct("summary_large_image");
 }
예제 #8
0
 public function __construct()
 {
     parent::__construct("summary");
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct("gallery");
 }