{"id":19725367,"url":"https://github.com/bodacious/mp3_player","last_synced_at":"2025-04-29T23:30:41.033Z","repository":{"id":589554,"uuid":"223769","full_name":"Bodacious/mp3_player","owner":"Bodacious","description":"A simple mp3 player plugin for rails","archived":false,"fork":false,"pushed_at":"2011-02-13T09:32:25.000Z","size":230,"stargazers_count":25,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-05T20:11:15.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://handyrailstips.com/tips/7-playing-mp3-s-on-your-rails-site-with-mp3_player","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bodacious.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-06-10T18:48:56.000Z","updated_at":"2025-02-23T12:24:15.000Z","dependencies_parsed_at":"2022-07-18T10:48:36.187Z","dependency_job_id":null,"html_url":"https://github.com/Bodacious/mp3_player","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fmp3_player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fmp3_player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fmp3_player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2Fmp3_player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bodacious","download_url":"https://codeload.github.com/Bodacious/mp3_player/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251599712,"owners_count":21615571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T23:29:31.343Z","updated_at":"2025-04-29T23:30:38.692Z","avatar_url":"https://github.com/Bodacious.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"=Mp3Player\n\nHere's an mp3_player plugin for Rails.\nCheck out http://handyrailstips.com/tips/7-playing-mp3-s-on-your-rails-site-with-mp3_player for more info\n\nTo install:\n\tscript/plugin install git://github.com/GavinM/mp3_player.git\n\nTo setup:\n\tscript/generate mp3_player [name of your mp3 directory]\n\nThis adds 'player.swf' to \u003cem\u003epublic/\u003c/em\u003e and creates a new folder for storing all of your audio files.\n\n==Example Usage\n\nTo play an mp3 file found in _public/mp3s/mysong.mp3_ simply add \u003c%= mp3_player(\"mp3s/mysong.mp3\") %\u003e to your view.\n\nIf you're using paperclip: \n\t\u003c%= mp3_player @my_model.mp3.url %\u003e.\n\nBelow is a list of the extra options you can specify:\n(All colors should be expressed as hexadecimal values minus the '#'. \neg. \n\t\u003c%= mp3_player @my_model.mp3.url, :bg =\u003e \"99FFFF\") %\u003e\n\n[:width] width of the player when open in pixels, defaults to 290\n[:class] class of the div wrapping the player, defaults to \"mp3_player\"\n[:bg] background colour, defaults to \"BBBBBB\"\n[:left_bg] background colour of the left tab, defaults to \"AAAAAA\"\n[:right_bg] background colour of the right tab, defaults to \"AAAAAA\"\n[:right_bg_hover] colour of the right background as the cursor hovers over, defaults to \"EEEEEE\"\n[:left_icon] the colour of the speaker icon on the left, defaults to \"222222\"\n[:right_icon] colour of the play/pause icon on the right, defaults to \"222222\"\n[:right_icon_hover] colour of the play/pause icon as the cursor hovers over, defaults to \"222222\"\n[:text] colour of the text, defaults to \"222222\"\n[:slider] colour of the slider bar, defaults to \"333333\"\n[:loader] colour of the loaded data so far, defaults to \"DDDFFF\"\n[:track] colour of the track on the slider, defaults to \"888888\"\n[:border] colour of the buffer border, defaults to \"333333\"\n\nThis plugin is based on the Audio Player Worpress Plugin by Martin Laine http://www.1pixelout.net/code/audio-player-wordpress-plugin\n\nThanks to Matt Ittigson (http://github.com/mattenat) for inspiring changes to help support paperclip.\n\nCopyright © 2009 Gavin Morrice (http://handyrailstips.com), released under the MIT license","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodacious%2Fmp3_player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodacious%2Fmp3_player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodacious%2Fmp3_player/lists"}