{"id":32201,"date":"2015-01-05T15:10:43","date_gmt":"2015-01-05T15:10:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/gabfire-media-module\/"},"modified":"2015-10-26T15:17:26","modified_gmt":"2015-10-26T15:17:26","slug":"gabfire-media-module","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/gabfire-media-module\/","author":12108526,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4","stable_tag":"trunk","tested":"4.3.34","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"Gabfire Media Module","header_author":"Gabfire Themes","header_description":"","assets_banners_color":"d1dfeb","last_updated":"2015-10-26 15:17:26","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.gabfirethemes.com","header_author_uri":"http:\/\/www.gabfirethemes.com","rating":0,"author_block_rating":0,"active_installs":100,"downloads":6794,"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":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1063254","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1795,18692,2874,222,28235],"plugin_category":[50,56],"plugin_contributors":[79739],"plugin_business_model":[],"class_list":["post-32201","plugin","type-plugin","status-publish","hentry","plugin_tags-featured-image","plugin_tags-html5-video","plugin_tags-oembed","plugin_tags-video","plugin_tags-videojs","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-gabfire","plugin_committers-gabfire"],"banners":{"banner":"https:\/\/ps.w.org\/gabfire-media-module\/assets\/banner-772x250.jpg?rev=1063254","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/gabfire-media-module_d1dfeb.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Videos and pictures don't have to be difficult. Gabfire themes include a media module that makes embedding media simple.<\/p>\n\n<p>This plugin is maintained by the folks over at http:\/\/www.gabfirethemes.com<\/p>\n\n<p>We strongly suggest you to use this plugin together with\nhttps:\/\/wordpress.org\/plugins\/otf-regenerate-thumbnails\/<\/p>\n\n<h4>Sample Code<\/h4>\n\n<pre><code>&lt;?php \ngabfire_media(array(\n    'name' =&gt; 'figure', \n    'imgtag' =&gt; 1,\n    'link' =&gt; 1,\n    'enable_thumb' =&gt; 1,\n    'enable_video' =&gt; 0, \n    'resize_type' =&gt; 'c', \n    'media_width' =&gt; 415, \n    'media_height' =&gt; 284, \n    'thumb_align' =&gt; 'alignnone',\n    'enable_default' =&gt; 1,\n    'default_name' =&gt; 'defaultimage.png'\n)); \n?&gt;\n<\/code><\/pre>\n\n<p>name -&gt; Name of post thumbnail to be used thats going to be resized to display featured image<\/p>\n\n<p>imgtag -&gt; 1 or 0. Using this option you can add\/remove '&lt;img src' tag to image.<\/p>\n\n<p>link -&gt; 1 or 0. If set 1, the image will have a link to post<\/p>\n\n<p>enable_thumb -&gt; 1 or 0. You may want to use this option function just to get featured post thumbnails<\/p>\n\n<p>enable_video -&gt; 1 or 0. You may want to use this option function just to get videos<\/p>\n\n<p>resize_type -&gt; c, w, or h. C will crop image to exact size. w resizes the width and calculates height in proportion. h resizes the height and calculates width in proportion.<\/p>\n\n<p>thumb_align -&gt; adds a class to media<\/p>\n\n<p>enable_default -&gt; 1 or 0. You can set a default image to display if post has no media<\/p>\n\n<p>default_name -&gt; name of image to display. The image path is yourtheme\/images\/thumbs directory.<\/p>\n\n<h4>How to Add a Video<\/h4>\n\n<ul>\n<li>If you are going to use Youtube\/Vimeo\/Dailymotion -&gt; copy video URL from browser bar -&gt; add it via custom field to your post using key name <em>iframe<\/em><\/li>\n<li>If you'd like to display a self hosted MP4, WEBM or OGV file, add them as below<\/li>\n<li>Custom field key name <em>video-mp4<\/em> and enter full file url into value field<\/li>\n<li>Custom field key name <em>video-webm<\/em> and enter full file url into value field<\/li>\n<li>Custom field key name <em>video-ogv<\/em> and enter full file url into value field<\/li>\n<li>To add a caption (SRT or VTT format) to the video, use custom field name <em>caption-url-1<\/em> and full file url into value field<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>You can install the Gabfire Media module Pack from your WordPress Dashboard or manually via FTP.<\/p>\n\n<h4>From WordPress Dashboard<\/h4>\n\n<ul>\n<li>Navigate to 'Plugins -&gt; Add New' from your WordPress dashboard.<\/li>\n<li>Search for <code>Gabfire Media Module<\/code> and install it.<\/li>\n<li>Activate the plugin from Plugins menu.<\/li>\n<\/ul>\n\n<h4>Manual Installation<\/h4>\n\n<ul>\n<li>Download <code>gabfire-media-module.zip<\/code><\/li>\n<li>Unzip<\/li>\n<li>Upload the <code>gabfire-media-module<\/code> folder to your <code>\/wp-content\/plugins<\/code> directory (do not rename the folder)<\/li>\n<li>Activate the plugin from Plugins menu.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>0.5<\/h4>\n\n<ul>\n<li>Update subtitle settings window font colors<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Fix plugin to work fine with older Gabfire Themes<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Add Alt Text support for images<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Remove BFI Thumb<\/li>\n<li>Add video fields a custom meta box<\/li>\n<li>Add missing class to HTML5 video wrapper<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Gabfire Media Module extends the functionality of WordPress Featured Image to support Videos and Default Post Images.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32201","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=32201"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gabfire"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32201"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32201"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32201"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32201"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32201"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}