Helper::query_video( string $video_id )

Query Vimeo for a single video.


Given a video ID from Vimeo, will return the video details from the Vimeo API.



(Required) The Vimeo video ID.


(array|\WP_Error) The video details.


File: includes/libs/helper.class.php

	public static function query_video( $video_id ){
		$vimeo = new Video_Import( 'video', $video_id );
		$result = $vimeo->get_feed();
		if( !$result ){
			$error = $vimeo->get_errors();
			if( is_wp_error( $error ) ){
				return $error;
		return $result;

Start your video site now!

Manage and coordinate your Vimeo channels, albums or videos with your WordPress website. Perfect fit for membership, portfolio, online courses or any type of video collection.

Get Vimeotheque PRO!