Skip to content

Commit be7b4f5

Browse files
author
Bastian Bartmann
committed
updated the readme
1 parent 31fee8d commit be7b4f5

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

README.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Podlove Web Player Rails
1+
# Podlove Web Player Rails #
22

3-
TODO: Write a gem description
3+
Brings the [Podlove Web Player][pwp] goodness to Rails 3.
44

5-
## Installation
5+
## Installation ##
66

77
Add this line to your application's Gemfile:
88

@@ -20,6 +20,19 @@ And add this line to `app/assets/stylesheets/application.css.scss`:
2020

2121
//= @import "podlove-web-player";
2222

23-
## Usage
23+
## Usage ##
2424

25-
TODO: Write usage instructions here
25+
Use the `podloveaudio` or `podlovevideo` helpers to inplement the audio or video player into your views. The helper is modelled after the shortcode of the Podlove Web Player WordPress plugin and can be given all the options mentioned in it's [FAQ][pwpw] as a hash. Basic usage would look like this:
26+
27+
<%= podloveaudio(src: 'http://mysite.com/mymedia.mp3', duration: '03:33', title: 'My track') %>
28+
29+
## Contributing ##
30+
31+
Feel free to open an issue ticket if you find something that could be improved. A couple notes:
32+
33+
* If it's an issue pertaining the stylesheet or javascripts, please report it to the [podlove-web-player][pwpg] project.
34+
* If the stylesheet or javascripts are outdated, feel free to open an issue and prod me to get that thing updated. You could, of course, also fork the gem and send me an pull request with the update.
35+
36+
[pwp]: http://podlove.org/podlove-web-player/
37+
[pwpw]: http://wordpress.org/extend/plugins/podlove-web-player/faq/
38+
[pwpg]: https://github.com/podlove/podlove-web-player

0 commit comments

Comments
 (0)