public function CreateFlashObject() { if ($this->owner->FlashFileID) { $obj = new FlashObject(); $flashFile = $this->owner->FlashFile(); return $obj->CreateFlashObject($this->owner->Title, null, $flashFile->Filename); } else { return new DataObjectSet(); } }
function FlashObjectData() { if (!class_exists("FlashObject")) { USER_ERROR("You have not installed the flash module, please see README for more information", E_USER_WARNING); } $file = self::get_youtube_embed_url() . $this->YouTubeVideoCode . "?"; $array = self::get_player_options(); foreach ($array as $key => $value) { $file .= "&" . urlencode($key) . "=" . urlencode($value); } FlashObject::set_use_dynamic_insert(false); $obj = new FlashObject(); return $obj->CreateFlashObject($Title = $this->Title, $FlashFileDivID = "YouTubeVideo" . $this->URLSegment, $FlashFilename = $file, $AlternativeContent = '', $Width = self::get_player_width(), $Height = self::get_player_height(), $FlashVersion = '9.0.0', $ParamArray = self::get_player_options()); }
static function set_default_external_flash_file($value) { self::$external_flash_file = $value; }
function __toString() { $object = new FlashObject($this->movie, $this->width, $this->height, 'Mixcloud Mixes Object', 'mixcloud-embed'); $object->setParams($this->params); return $object->get(); }