<?php
return array(
	"title" => __("Youtube", THEME_ADMIN_DOMAIN),
	"shortcode" => 'video',
	"attributes" => 'type="youtube"',
	"type" => 'self-closing',
	"options" => array(
		array(
			"name" => __("Clip_id",THEME_ADMIN_DOMAIN),
			"desc" => __("the id from the clip's URL after v= (e.g. http://www.youtube.com/watch?v=<span style='color:red'>2DclLrdaxQd</span>)",THEME_ADMIN_DOMAIN),
			"id" => "clip_id",
			"size" => 30,
			"default" => "",
			"type" => "text",
		),
		array(
			"name" => __("Embed Method",THEME_ADMIN_DOMAIN),
			"id" => "embed",
			"default" => 'iframe',
			"options" => array(
				"iframe" => 'Iframe',
				"object" => 'Object',
			),
			"type" => "select",
		),
		array (
			"name" => __("Width (optional)",THEME_ADMIN_DOMAIN),
			"id" => "width",
			"default" => 0,
			"min" => 0,
			"max" => 942,
			"step" => "1",
			"type" => "range"
		),
		array (
			"name" => __("Height (optional)",THEME_ADMIN_DOMAIN),
			"id" => "height",
			"default" => 0,
			"min" => 0,
			"max" => 942,
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Autohide",THEME_ADMIN_DOMAIN),
			"desc" => __('Set whether the video controls will automatically hide after a video begins playing.',THEME_ADMIN_DOMAIN),
			"id" => "autohide",
			"default" => 'default',
			"options" => array(
				"default"  => __('Default',THEME_ADMIN_DOMAIN),
				"0" => __('Visible',THEME_ADMIN_DOMAIN),
				"1" => __('Hide all',THEME_ADMIN_DOMAIN),
				"2" => __('Hide video progress bar',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		array(
			"name" => __("Autoplay",THEME_ADMIN_DOMAIN),
			"desc" => __('Sets whether or not the initial video will autoplay when the player loads',THEME_ADMIN_DOMAIN),
			"id" => "autoplay",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Controls",THEME_ADMIN_DOMAIN),
			"desc" => __('Sets whether or not display the video player controls.',THEME_ADMIN_DOMAIN),
			"id" => "controls",
			"default" => 'default',
			"type" => "tritoggle"
		),
		
		array(
			"name" => __("Disablekb",THEME_ADMIN_DOMAIN),
			"desc" => __('Enable it will disable the player keyboard controls.',THEME_ADMIN_DOMAIN),
			"id" => "disablekb",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Fs",THEME_ADMIN_DOMAIN),
			"desc" => __('Sets whether or not enable the fullscreen button.',THEME_ADMIN_DOMAIN),
			"id" => "fs",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array (
			"name" => __("Start",THEME_ADMIN_DOMAIN),
			"desc" => __('This parameter causes the player to begin playing the video at the given number of seconds from the start of the video.','striking_admin'),
			"id" => "start",
			"default" => 0,
			"min" => 0,
			"max" => 2000,
			'unit' => __('seconds',THEME_ADMIN_DOMAIN),
			"step" => "1",
			"type" => "range"
		),
		
		array(
			"name" => __("Loop",THEME_ADMIN_DOMAIN),
			"desc" => __('Enable it will will cause the player to play the initial video again and again.',THEME_ADMIN_DOMAIN),
			"id" => "loop",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Rel",THEME_ADMIN_DOMAIN),
			"desc" => __('Sets whether the player should load related videos once playback of the initial video starts.',THEME_ADMIN_DOMAIN),
			"id" => "rel",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("showinfo",THEME_ADMIN_DOMAIN),
			"desc" => __('Enable it will will cause the player to play the initial video again and again.',THEME_ADMIN_DOMAIN),
			"id" => "showinfo",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Modestbranding",THEME_ADMIN_DOMAIN),
			"desc" => __('Sets whether or not show a YouTube logo.',THEME_ADMIN_DOMAIN),
			"id" => "modestbranding",
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Theme",THEME_ADMIN_DOMAIN),
			"desc" => __('Set whether the embedded player will display player controls (like a \'play\' button or volume control) within a dark or light control bar.',THEME_ADMIN_DOMAIN),
			"id" => "theme",
			"default" => 'default',
			"options" => array(
				"default"  => __('Default',THEME_ADMIN_DOMAIN),
				"light" => __('Light',THEME_ADMIN_DOMAIN),
				"dark" => __('Dark',THEME_ADMIN_DOMAIN),
			),
			"type" => "select",
		),
		
	),
);
