{"id":14115,"date":"2011-07-20T11:41:14","date_gmt":"2011-07-20T11:41:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-easy-embed\/"},"modified":"2012-01-17T11:50:18","modified_gmt":"2012-01-17T11:50:18","slug":"wp-easy-embed","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-easy-embed\/","author":7936510,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"1.2","tested":"3.3.2","requires":"3.3.0","requires_php":"","requires_plugins":"","header_name":"WP Easy Embed","header_author":"ibarmin","header_description":"","assets_banners_color":"","last_updated":"2012-01-17 11:50:18","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=Y885NYRSWNSS4&lc=RU&item_name=WP%20Easy%20Embed&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted","header_plugin_uri":"","header_author_uri":"http:\/\/wordpress.org\/support\/profile\/ibarmin","rating":0,"author_block_rating":0,"active_installs":10,"downloads":6421,"num_ratings":0,"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":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566888","resolution":"2","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1566888","resolution":"1","location":"plugin"}},"screenshots":{"1":"You can preview how embed will look like before inserting shortcode into post","2":"Some providers support additional fields"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[230,86,222,1609,1610],"plugin_category":[50,56],"plugin_contributors":[91242],"plugin_business_model":[],"class_list":["post-14115","plugin","type-plugin","status-publish","hentry","plugin_tags-embed","plugin_tags-post","plugin_tags-video","plugin_tags-vimeo","plugin_tags-youtube","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-ibarmin","plugin_committers-ibarmin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-easy-embed.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-easy-embed\/trunk\/screenshot-1.jpg?rev=1566888","caption":"You can preview how embed will look like before inserting shortcode into post"},{"src":"https:\/\/ps.w.org\/wp-easy-embed\/trunk\/screenshot-2.png?rev=1566888","caption":"Some providers support additional fields"}],"raw_content":"<!--section=description-->\n<p>WP Easy Embed allows you to embed videos, images and such via <a href=\"http:\/\/oembed.com\/\">OEmbed service<\/a> without manually editing the post (or page).\nIf content provider support additional fields they can be used (right now only <a href=\"http:\/\/vimeo.com\/api\/docs\/oembed\">vimeo ones<\/a> are supported)<\/p>\n\n<h4>i18n<\/h4>\n\n<p>Plugin is ready for l10n, just a little note - there are two language files to translate,\nlanguages\/wp-easy-embed.pot and tinymce\/langs\/en.js<\/p>\n\n<h4>Plugin's actions &amp; filters<\/h4>\n\n<ul>\n<li>wp_easy_embed_config_{$config_key} filter<\/li>\n<li>wp_easy_embed_init action. Runs before any button created<\/li>\n<li>wp_easy_embed_additional_field_{$field_type} filter with $args parameter. See below.<\/li>\n<\/ul>\n\n<h4>Adding support for some provider additional fields<\/h4>\n\n<ul>\n<li>Add wp_easy_embed_config_supported_providers filter and push to passed array one more string - provider name (its domain name, please)<\/li>\n<li>Add wp_easy_embed_config_supported_attributes_{$provider_name} filter and return assoc array in format, described in next section<\/li>\n<\/ul>\n\n<h4>Supported Atrributes Array Format<\/h4>\n\n<pre><code>array(\n    'Attribute name #1' =&gt; array('type' =&gt; 'text', 'value' =&gt; 'Default value', 'title' =&gt; 'Title for field #1')\n    , 'Attribute name #2' =&gt; array('type' =&gt; 'checkbox', 'value' =&gt; [true|false], 'title' =&gt; 'Title for field #2')\n    , 'Attribute name #3' =&gt; array('type'=&gt;'select', 'values'=&gt;array('value 1','value 2', ...), 'value' =&gt; 'Selected one', 'title' =&gt; 'Title for field #3')\n    , 'Attribute name #4' =&gt; array('type' =&gt; 'your own type', 'value' =&gt; '', 'title' =&gt; 'Title for field #4')\n)\n<\/code><\/pre>\n\n<p>To add type, add filter handler for wp_easy_embed_additional_field_{$field_type} and return html. Name is 1st parameter and config for that attribute is passed in second parameter<\/p>\n\n<!--section=installation-->\n<p>As usual, upload the folder of WP Easy Embed to the wordpress plugin directory, activate it then.<\/p>\n\n<p>To alter settings of this plugin, go to <strong>Settings-&gt;WP Easy Embed<\/strong>.<\/p>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<ul>\n<li>multisite issues with activating and deactivating fixed<\/li>\n<li>fixed style.css not applying to page<\/li>\n<li>fixed js issue - removed 'provider' field from [embed] tag<\/li>\n<li>reworked inner part even more<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>added additional oembed fields. right now only <a href=\"http:\/\/vimeo.com\/api\/docs\/oembed\">vimeo ones<\/a> are supported<\/li>\n<li>preview can be hided<\/li>\n<li>reworked inner part a bit - reduced calls of get_option to one per instance<\/li>\n<li>added loading animation for preview area<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>initial release<\/li>\n<\/ul>","raw_excerpt":"WP Easy Embed allows you to embed videos, images and such via OEmbed service without manually editing the post (or page)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14115","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=14115"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ibarmin"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14115"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14115"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14115"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14115"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14115"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}