{"id":40037,"date":"2015-11-11T10:36:28","date_gmt":"2015-11-11T10:36:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/import-youtube-videos-as-wp-post\/"},"modified":"2017-12-11T07:51:46","modified_gmt":"2017-12-11T07:51:46","slug":"import-youtube-videos-as-wp-post","status":"publish","type":"plugin","link":"https:\/\/pt.wordpress.org\/plugins\/import-youtube-videos-as-wp-post\/","author":14263844,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1","stable_tag":"2.1","tested":"4.9.29","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Import YouTube videos as WP Posts","header_author":"Enguerran Weiss","header_description":"","assets_banners_color":"c25e56","last_updated":"2017-12-11 07:51:46","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=BQNTS4S2PEQVN","header_plugin_uri":"http:\/\/www.enguerranweiss.fr","header_author_uri":"http:\/\/www.enguerranweiss.fr","rating":3.5,"author_block_rating":0,"active_installs":90,"downloads":16923,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"3","2":0,"3":0,"4":0,"5":"5"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1284031","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1284022","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","2.0","2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1284018","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1284018","resolution":"2","location":"assets"}},"screenshots":{"1":"Admin interface to search and add Youtube videos as WP posts","2":"Admin settings for the plugin (Settings &gt; Youtube importer)"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[529,36260,29440,6334,1610],"plugin_category":[50,56],"plugin_contributors":[92024],"plugin_business_model":[],"class_list":["post-40037","plugin","type-plugin","status-publish","hentry","plugin_tags-content","plugin_tags-enguerranws","plugin_tags-google-api","plugin_tags-videos","plugin_tags-youtube","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-enguerranws","plugin_committers-enguerranws"],"banners":{"banner":"https:\/\/ps.w.org\/import-youtube-videos-as-wp-post\/assets\/banner-772x250.jpg?rev=1284022","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/import-youtube-videos-as-wp-post\/assets\/icon-128x128.png?rev=1284031","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/import-youtube-videos-as-wp-post\/assets\/screenshot-1.jpg?rev=1284018","caption":"Admin interface to search and add Youtube videos as WP posts"},{"src":"https:\/\/ps.w.org\/import-youtube-videos-as-wp-post\/assets\/screenshot-2.jpg?rev=1284018","caption":"Admin settings for the plugin (Settings &gt; Youtube importer)"}],"raw_content":"<!--section=description-->\n<p><em>English Version<\/em><\/p>\n\n<p><strong>Import YouTube videos as WP Posts<\/strong> is a simple plugin that allow you to search Youtube videos from the admin panel (with keywords, channel or playlist ID) and add the videos you pick to your posts.<\/p>\n\n<h4>It's a simple way :<\/h4>\n\n<ul>\n<li>to <strong>feed your WordPress website with real content in minutes<\/strong><\/li>\n<li>to <strong>display curated content from Youtube<\/strong> on your website<\/li>\n<li>to <strong>link a playlist or a channel to your website<\/strong><\/li>\n<\/ul>\n\n<h4>How does it work ?<\/h4>\n\n<ol>\n<li>Type a request : keywords, channel ID or playlist ID<\/li>\n<li>Fill some parameters : taxonomy to feed, post type to feed, number of results to show<\/li>\n<li>Some template tags (%title%, %user%, etc.) are available to customize the content you add to your WordPress website<\/li>\n<li>Choose some videos and add them to your website or reject them<\/li>\n<\/ol>\n\n<p><strong>Works on every themes<\/strong> : it just feed an existing ressource (e.g. : Posts) with selected Youtube content.<\/p>\n\n<p><em>Available in French and English.<\/em><\/p>\n\n<p><em>Version Fran\u00e7aise<\/em><\/p>\n\n<p><strong>Import YouTube videos as WP Posts<\/strong> est un plugin tout simple qui permet de <strong>chercher des vid\u00e9os Youtube depuis l'administration<\/strong> de WordPress et de <strong>les ajouter \u00e0 son site rapidement<\/strong>.<\/p>\n\n<h4>Quelques utilisations :<\/h4>\n\n<ul>\n<li><strong>alimenter un site en quelques minutes avec du vrai contenu<\/strong> venant de Youtube<\/li>\n<li><strong>afficher un contenu choisi sur son site<\/strong><\/li>\n<li><strong>faire le lien entre une playlist ou une cha\u00eene Youtube<\/strong><\/li>\n<\/ul>\n\n<h4>Comment \u00e7a marche ?<\/h4>\n\n<ol>\n<li>Tapez une requ\u00eate : mots-cl\u00e9, ID de playlist, ID de cha\u00eene<\/li>\n<li>R\u00e9glez quelques param\u00e8tres : taxonomie \u00e0 remplir, post type \u00e0 remplir, nombre de vid\u00e9os \u00e0 afficher, etc...<\/li>\n<li>Il est possible de customiser votre contenu ajout\u00e9 avec un petit syst\u00e8me de template (%title%, %user%, etc.)<\/li>\n<li>Une fois votre recherche effectu\u00e9e, choisissez des vid\u00e9os, ajoutez-les \u00e0 votre site ou rejetez celle qui ne vous plaisent pas.<\/li>\n<\/ol>\n\n<p><strong>\u00c7a fonctionne avec tous les th\u00e8mes<\/strong> : le plugin ajoute les vid\u00e9os choisies \u00e0 un type de ressources existant (ex: Articles).<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload <code>\/import-youtube-videos-as-wp-post\/<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Set up your Google API key in the Settings page<\/li>\n<li>Search for Youtube content and add it to your Wordpress from the 'Import YouTube videos as WP Posts' menu<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I choose the post type and the taxonomy I want to add videos to?<\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt>How can I get a Google API key?<\/dt>\n<dd><p>To use this plugin, <strong>you'll need to create a Google Youtube API key<\/strong>. Dealing with Google Developers Console can be a bit confusing, you need to : create a project, make the API data you need active and generate a public API key. Here's how to do that:<\/p>\n\n<ol>\n<li>Login to Google using your Google account.<\/li>\n<li>Go to the Developers Console &gt; Projects\nClick on \"Create a project\" (you'll need to give it a title and an ID)<\/li>\n<li>When your project his created, click on it on the project list<\/li>\n<li>Go to the section API and authentication &gt; API, and search for YouTube Data API v3, and click on the button on the right to make this API active.<\/li>\n<li>Go to the Credentials section &gt; Access to the public API anc click on the button \"Make a key\" &gt; Server key<\/li>\n<li>On the next box, you'll need to tell on which domains you allow the use of your app (e.g. 127.0.0.1, www.mydomain.com, etc).<\/li>\n<li>Now it should have generated a API Key (e.g. AIzaFyD0aPCQjLFRbLnh4RKbVBlBgVCVSwjbFAg), copy-paste it on the box above.<\/li>\n<li>It's done, congrats :)<\/li>\n<\/ol><\/dd>\n<dt>I got the message : 'Your Youtube API access is not defined, go set it on the settings page.'<\/dt>\n<dd><p>It's because you didn't fill the API key field (in the settings page) with your Google API key.<\/p><\/dd>\n<dt>I got the message : 'There is an error with your API key, it has been rejected by Google API Service.'<\/dt>\n<dd><p>This is mostly because you made a mistake typing \/ copying your API key. Check the API key field in the Settings page.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1<\/h4>\n\n<ul>\n<li>Added an option to use video's date instead of current date<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Added a \"Approve all\" button in order to add all listed videos in a single shot<\/li>\n<li>Fixed issues: escaping double quote character, removed unecessary parameters<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Switched <code>file_get_contents<\/code> to <code>media_sideload_image<\/code>, alert now throws Google error messages.<\/li>\n<li>Can select a specific post status for created posts<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Fixed selected category not showing up on query settings page<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Fixed selected category not showing up on query settings page<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Fixed playlist importing videos<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Support HTTP \/ HTTPS protocol<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Fix max results number as wp options<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fix major bug : max results number is optional now.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fix ressource type 'video'<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Plugin init<\/li>\n<\/ul>","raw_excerpt":"Import YouTube videos as WP Posts lets you search for Youtube videos and add them quickly to your Wordpress website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/40037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=40037"}],"author":[{"embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/enguerranws"}],"wp:attachment":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=40037"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=40037"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=40037"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=40037"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=40037"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=40037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}