Skip to content
Browse files

Merge branch 'gh-pages' of github.com:dseif/popcorn-docs into gh-pages

  • Loading branch information...
2 parents 5fefaa8 + 4355d6a commit b9d11a80dd123312d41dc819c3160c194e76477a @dseif dseif committed Mar 26, 2012
Showing with 7 additions and 6 deletions.
  1. +7 −6 media-methods/_posts/2012-12-12-playbackrate.md
View
13 media-methods/_posts/2012-12-12-playbackrate.md
@@ -1,24 +1,25 @@
---
-title: playbackrate
+title: playbackRate
---
-# playbackrate( \[rate\] ) #
+# playbackRate( \[rate\] ) #
## Purpose ##
-Get or set playbackrate of calling Popcorn instance
+Get or set playbackRate of calling Popcorn instance. Default rate is 1.
+**Note:** It does not always mute the sound and negative values are not supported yet.
## Options ##
-* **rate** \[Number\] - optional parameter that will set the playbackrate if provided and return the playbackrate if not.
+* **rate** \[Number\] - optional parameter that will set the playback rate if provided and return the playback rate if not.
## Example ##
{% highlight js linenos %}
var p = Popcorn( "#video" );
// returns the current playback rate
- p.playbackrate();
+ p.playbackRate();
// set the playback rate
- p.playbackrate( 30 );
+ p.playbackRate( 30 );
{% endhighlight %}

0 comments on commit b9d11a8

Please sign in to comment.
Something went wrong with that request. Please try again.