<?php
return array(
	"title" => __("HTML 5", THEME_ADMIN_DOMAIN),
	"shortcode" => 'video',
	"attributes" => 'type="html5"',
	"type" => 'self-closing',
	"options" => array(
		array(
			"name" => __("Poster Image",THEME_ADMIN_DOMAIN),
			"desc" => __("The poster image is placeholder for the video before it plays. It's also used as the image fallback for devices that don't support HTML5 Video or Flash. ",THEME_ADMIN_DOMAIN),
			"id" => "poster",
			"size" => 30,
			"default" => "",
			"type" => "text",
		),
		array(
			"name" => __("MP4 Source",THEME_ADMIN_DOMAIN),
			"desc" => __("Supported by Webkit browsers (Safari, Chrome, iPhone/iPad) and Internet Explorer 9. Also supported by Flash 9 and higher, so can double as the Flash source.",THEME_ADMIN_DOMAIN),
			"id" => "mp4",
			"size" => 30,
			"default" => "",
			"type" => "text",
		),
		array(
			"name" => __("WebM Source",THEME_ADMIN_DOMAIN),
			"desc" => __("Supported by newer versions of Firefox, Chrome, and Opera.",THEME_ADMIN_DOMAIN),
			"id" => "webm",
			"size" => 30,
			"default" => "",
			"type" => "text",
		),
		array(
			"name" => __("Ogg Source",THEME_ADMIN_DOMAIN),
			"desc" => __("Supported by Firefox, Opera, Chrome, and newer versions of Safari. Unfortunately it's not as good as WebM and MP4.",THEME_ADMIN_DOMAIN),
			"id" => "ogg",
			"size" => 30,
			"default" => "",
			"type" => "text",
		),
		array (
			"name" => __("Width",THEME_ADMIN_DOMAIN),
			"id" => "width",
			"default" => 0,
			"min" => 0,
			"max" => 942,
			"step" => "1",
			"type" => "range"
		),
		array (
			"name" => __("Height",THEME_ADMIN_DOMAIN),
			"id" => "height",
			"default" => 0,
			"min" => 0,
			"max" => 960,
			"step" => "1",
			"type" => "range"
		),
		array(
			"name" => __("Download Links",THEME_ADMIN_DOMAIN),
			"id" => "download",
			"desc" => __("If you want to support devices that don't support HTML5 or Flash, include links to the video source.",THEME_ADMIN_DOMAIN),
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Preload",THEME_ADMIN_DOMAIN),
			"id" => "preload",
			"desc" => __("Select this if you want the video to start downloading as soon the user loads the page.",THEME_ADMIN_DOMAIN),
			"default" => 'default',
			"type" => "tritoggle"
		),
		array(
			"name" => __("Autoplay",THEME_ADMIN_DOMAIN),
			"id" => "autoplay",
			"desc" => __("Select this if you want the video to start playing as soon as the page is loaded.",THEME_ADMIN_DOMAIN),
			"default" => 'default',
			"type" => "tritoggle"
		),
	),
);
