{"id":26558,"date":"2013-12-05T17:07:59","date_gmt":"2013-12-05T17:07:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-amara-shortcode\/"},"modified":"2013-12-05T23:31:54","modified_gmt":"2013-12-05T23:31:54","slug":"wp-amara-shortcode","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-amara-shortcode\/","author":13475564,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"trunk","tested":"3.7.41","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"WP Amara Shortcode","header_author":"Dario Candel\u00f9","header_description":"","assets_banners_color":"","last_updated":"2013-12-05 23:31:54","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.emergency.it\/form\/donations\/","header_plugin_uri":"https:\/\/github.com\/d79\/wp-amara-shortcode","header_author_uri":"http:\/\/www.spaziosputnik.it","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1649,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[67486,67487,1982,222],"plugin_category":[50],"plugin_contributors":[93661],"plugin_business_model":[],"class_list":["post-26558","plugin","type-plugin","status-publish","hentry","plugin_tags-amara","plugin_tags-amara-org","plugin_tags-subtitles","plugin_tags-video","plugin_category-media","plugin_contributors-d79","plugin_committers-d79"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-amara-shortcode.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A simple wordpress plugin to enable Amara.org shortcode.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Insert <code>[amara url=http:\/\/URL\/OF\/VIDEO]<\/code> into the content of your page where you want to display the subtitled video (supported video formats: Ogg, WebM, flv, mp4, Youtube, Vimeo, Dailymotion).<\/p>\n\n<p>Optionally, you can set some other options, like explained on <a href=\"https:\/\/github.com\/pculture\/unisubs\/wiki\/Embed-Code-Usage-Guide\">Amara Embed Code Usage Guide<\/a>.<\/p>\n\n<p>To insert the <code>content<\/code> option for FLV files use the format <code>content='key1:value1|key2:value2|...|keyN:valueN'<\/code> (note the wrapping quotes)<\/p>\n\n<p>To insert the <code>base_state<\/code> language option, just add it like <code>base_state=XX<\/code> (where XX is the ISO-639-3 language code)<\/p>\n\n<h3>Examples<\/h3>\n\n<pre><code>[amara url=http:\/\/www.youtube.com\/watch?v=XSGBVzeBUbk color1=0xFF0000 width=640 height=480]\n\n[amara url=http:\/\/vimeo.com\/15308050 color=FF0000 width=640 height=480]\n\n[amara url=http:\/\/mysite.com\/myvideofile.flv width=640 height=480 content='url:flowplayer.content-3.2.0.swf|height:220|padding:30|backgroundColor:#112233|opacity:0.7|backgroundGradient:[0.1, 0.1, 1.0]|style:{p: {fontSize: 40}}']\n\n[amara url=http:\/\/blip.tv\/file\/get\/Miropcf-AboutUniversalSubtitles847.ogv base_state=ja]\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp_amara_shortcode.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<p>Support extended to most of the options available on <a href=\"https:\/\/github.com\/pculture\/unisubs\/wiki\/Embed-Code-Usage-Guide\">Amara Embed Code Usage Guide<\/a><\/p>\n\n<h4>1.1<\/h4>\n\n<p>Support extended to all video formats accepted by Amara<\/p>\n\n<h4>1.0<\/h4>\n\n<p>Plugin file created<\/p>","raw_excerpt":"A simple wordpress plugin to enable Amara.org shortcode","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26558"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/d79"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26558"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26558"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26558"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26558"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26558"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}