Video_Post::__construct( \WP_Post|int $post )

Post constructor.


Parameters

$post

(Required)


Source

File: includes/libs/video-post.class.php

	public function __construct( $post ) {
		$this->_post  = get_post( $post, OBJECT, 'raw' );
		$this->_image = new Image_Import( $this );

		$meta = $this->get_video_data();
		if( $meta ){
			$this->_set_properties( $meta );
		}
	}

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!