This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Player::set_post_embed_options()

Get video embedding options


Return

(void)


Source

File: includes/libs/player/player.class.php

	private function set_post_embed_options(){
		/**
		 * Allow embed settings filtering that can change the embedding options when the post is displayed.
		 *
		 * @param array $embed_settings     The post video embed settings.
		 * @param object $post              The current post being displayed.
		 * @param array $video              The video details as retrieved from Vimeo.
		 */
		$this->options = apply_filters(
			'vimeotheque\player\embed_options',
			wp_parse_args(
				$this->manual_options,
				$this->post->get_embed_options( true )
			),
			$this->post->get_post(),
			$this->post->get_video_data()
		);
	}

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!