{"id":10296,"date":"2010-08-26T12:03:48","date_gmt":"2010-08-26T12:03:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/flower\/"},"modified":"2010-08-26T12:03:48","modified_gmt":"2010-08-26T12:03:48","slug":"flower","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/flower\/","author":6821987,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.0.5","requires":"2.6","requires_php":"","requires_plugins":"","header_name":"CASH Music Flower","header_author":"CASH Music","header_description":"","assets_banners_color":"","last_updated":"2010-08-26 12:03:48","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/cashmusic.org\/donate\/","header_plugin_uri":"http:\/\/cashmusic.org\/tools\/","header_author_uri":"http:\/\/cashmusic.org\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2299,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","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":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16218,22533,229,2105,2666],"plugin_category":[59],"plugin_contributors":[92708],"plugin_business_model":[],"class_list":["post-10296","plugin","type-plugin","status-closed","hentry","plugin_tags-cashmusic","plugin_tags-flower","plugin_tags-javascript","plugin_tags-mootools","plugin_tags-soundmanager","plugin_category-utilities-and-tools","plugin_contributors-cashmusic","plugin_committers-cashmusic"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/flower.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds the CASH Music Flower 1.0 code to a Wordpress template, \nproviding image and video lightboxes, sound players, inline mp3 links, and some \nbasic AJAX content tools. MooTools 1.2.4 is also added.<\/p>\n\n<h3>Usage<\/h3>\n\n<h4>Basic Usage<\/h4>\n\n<p>Flower is designed to be easy to use for the non-nerd, and easy to extend and\nuse as a base for the nerdier. Most functionality works automatically with\nnothing more than a class name added to a div or a link.<\/p>\n\n<h4>Soundplayer<\/h4>\n\n<p>To use the Soundplayer module just add the 'flower_soundplayer' class to a \nlink or a div. Added to a div it will search the div for links to audio and\npopulate a player. If no title is present the player will use the text between\nthe <a> tag as the track title. If you'd like to specify your own title just\nadd it to the--wait for it--title of the link.<\/a><\/p>\n\n<p>When added to a link element, the 'flower_soundplayer' class will add [play] to\nthe end of the link text and it will be playable inline.<\/p>\n\n<p>A special 'flower_soundplayer_pageplayer' can be added to a div to create a\nplayer from all stray audio links on the page. This only grabs audio that has \nnot already been included in a player or given the 'flower_soundplayer' class.<\/p>\n\n<h4>Imagebox<\/h4>\n\n<p>To create an Imagebox collection you need only add the 'flower_imagebox' class \nto a link that points to an image. That image will be loaded in a lightbox. You\ncan also add the 'flower_imagebox' class to a div and all links to images will\nbe added automatically.<\/p>\n\n<p>By default be included in the 'default' collection. To create multiple \ncollections either add an id to each 'flower_imagebox' div, or specify a\ncollection name in the rev attribute like so:<\/p>\n\n<p><a href=\"image.jpg\">thumbnail<\/a><\/p>\n\n<h4>Moviebox<\/h4>\n\n<p>The Moviebox works automatically by scanning for links to YouTube, Vimeo,\nGoogle Video, MySpace TV, and Vevo pages. It also works on links to certain\nQuicktime media. Flower will automatically determine if a users browser \nsupports Quicktime, Flash (and soon HTML5.) Then it plays a movie at the\ndefault size of 640x360. A title can be added using the title attribute of the\nlink. Size can be changed using the rev attribute:<\/p>\n\n<p><a href=\"http:\/\/vimeo.com\/175757\">movie<\/a><\/p>\n\n<h4>Advanced Stuff<\/h4>\n\n<p>(Advanced documentation and demos coming soon)<\/p>\n\n<h4>CSS Classes<\/h4>\n\n<p>The following classes are set when any content is displayed, allowing all\nFlower features to be skinned with ease. Be sure to use the !important\ndeclaration in your styles as all elements have been styled to a default set\nof styles already.<\/p>\n\n<h4>CSS Classes: Soundplayer<\/h4>\n\n<p>a.flower_soundplayer \/\/ add to an audio link for inline play<br \/>\n    span.flower_soundplayer_inlineplaypause \/\/ the inserted play \/ pause text<\/p>\n\n<p>div.flower_soundplayer_pageplayer \/\/ added to a div for a page player<\/p>\n\n<p>div.flower_soundplayer<br \/>\n    div.flower_soundplayer_ui \/\/ everything before the playlist<br \/>\n        div.flower_soundplayer_title \/\/ current track title<br \/>\n        div.flower_soundplayer_time \/\/ current time \/ total time<br \/>\n        div.flower_soundplayer_seekbarcontainer \/\/ progress bar background<br \/>\n            div.flower_soundplayer_seekbar \/\/ loaded progress bar, clickable<br \/>\n            div.flower_soundplayer_positionmarker \/\/ the little slidey dude<br \/>\n        div.flower_soundplayer_controls \/\/ the space containing the buttons<br \/>\n            img.flower_soundplayer_prev \/\/ previous button<br \/>\n            img.flower_soundplayer_play \/\/ play button<br \/>\n            img.flower_soundplayer_next \/\/ next button<br \/>\n    ol.flower_soundplaylist \/\/ the playlist of all the player's sound files<br \/>\n        li.flower_soundplaylist_altli \/\/ even numbered lis<\/p>\n\n<h4>CSS Classes: Overlays (Moviebox and Imagebox)<\/h4>\n\n<p>a.flower_imagebox \/\/ add to an image \u2014 added to default or specified collection<br \/>\ndiv.flower_imagebox \/\/ add flower_imagebox to a div to create a collection<\/p>\n\n<p>div.flower_overlay_container \/\/ holds the overlay, do not restyle<br \/>\n    div.flower_overlay \/\/ the semi-transparent backdrop<br \/>\n    div.flower_overlay_contentcontainer \/\/ the box holding the image\/video<br \/>\n        img.flower_imagebox_img \/\/ the actual image (imagebox only)<br \/>\n    div.flower_overlay_captioncontainer \/\/ holds the caption and controls<br \/>\n        p.flower_overlay_caption \/\/ caption<br \/>\n        div.flower_overlay_controls \/\/ the space for controls<br \/>\n            a.flower_overlay_controllink \/\/ any control links that appear<\/p>\n\n<!--section=installation-->\n<p>Installing the Flower plugin as you would any other. Download the package, \nextract it, and upload the contents to your <code>wp-content\/plugins\/<\/code> directory.\nActivate it from the plugins menu.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Which version of the MooTools framework is added to the page?<\/dt>\n<dd><p>v1.2.4, compressed and served from the Google CDN<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Adds MooTools 1.2.4 and Flower 1.0 to the head of a Wordpress template","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/10296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=10296"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cashmusic"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=10296"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=10296"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=10296"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=10296"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=10296"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=10296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}