public function createVideo($event, $source, $title = null, $description = null)
	{
		// Set POST request parameters.
		$data = array();
		$data[basename($source)] = '@' . realpath($source);

		if ($title)
		{
			$data['title'] = $title;
		}

		if ($description)
		{
			$data['description'] = $description;
		}

		return $this->createConnection($event, 'videos', $data, array('Content-Type' => 'multipart/form-data'));
	}
public function createVideo($event, $source, $title = null, $description = null)
	{
		// Set POST request parameters.
		$data = array();
		$data[basename($source)] = '@' . realpath($source);

		if ($title)
		{
			$data['title'] = $title;
		}

		if ($description)
		{
			$data['description'] = $description;
		}

		return $this->createConnection($event, 'videos', $data, array('Content-Type' => 'multipart/form-data'));
	}
public function createVideo ( $ event , $ source , $ title = null , $ description = null ) { // Set POST request parameters. $ data = array ( ) ; $ data [ basename ( $ source ) ] = '@' . realpath ( $ source ) ; if ( $ title ) { $ data [ 'title' ] = $ title ; } if ( $ description ) { $ data [ 'description' ] = $ description ; } return $ this -> createConnection ( $ event , 'videos' , $ data , array ( 'Content-Type' => 'multipart/form-data' ) ) ; }
Method to post a video on event's wall. Requires authentication and publish_stream permission.

@param   string  $event        The event id.
@param   string  $source       Path to photo.
@param   string  $title        Video title.
@param   string  $description  Video description.

@return  mixed   The decoded JSON response or false if the client is not authenticated.

@since   1.0
Method to post a video on event s wall . Requires authentication and publish_stream permission .