Permalink
Browse files

Fixed things maruku was complaining about, documented on,off,emit, ch…

…anged references to across docs
  • Loading branch information...
dseif committed Mar 6, 2012
1 parent 7d25850 commit 91c5b391e99c691c39a3369032604e307ca3d0c7
View
@@ -2,3 +2,7 @@ David Seifried
Jon Buckley
Rick Waldron
Mathew Schranz
+Berto Yáñez
+Óscar Otero
+Chris De Cairos
+Scott Downe
@@ -5,7 +5,7 @@ title: duration
## Purpose ##
-Get the media's `duration in seconds. If the duration is not yet available, NaN will be returned.
+Get the media's `duration()` in seconds. If the duration is not yet available, NaN will be returned.
returns a number representing the duration of the video in seconds
@@ -15,6 +15,6 @@ Recommend using the Popcorn instances methods: [mute()](#mute) and [unmute()](#u
## Related ##
-* [mute()](#mute)
-* [unmute()](#unmute)`
+* [mute](#mute)
+* [unmute](#unmute)
* [volume](#volume)
@@ -1,5 +1,5 @@
---
-title: off
+title: "off"
---
# off( eventName, callback ) #
@@ -1,5 +1,5 @@
---
-title: on
+title: "on"
---
# on( eventName, callback ) #
@@ -20,7 +20,7 @@ The YouTube player plugin allows for the use of all functions and properties tha
## Examples ##
{% highlight js linenos %}
- var pop = Popcorn.youtube( '#video', 'http://www.youtube.com/watch?v=9oar9glUCL0' );
+ var pop = Popcorn.youtube( "#video", "http://www.youtube.com/watch?v=9oar9glUCL0" );
pop.footnote({
start: 1,
@@ -31,7 +31,7 @@ Tweening animates a streetview from one location to another.
* **interval** \[Number\] - is the speed in which the tween will be executed, a reasonable time is 1000 ( time in milliseconds )
* **heading**, **Zoom**, and **Pitch** \[Number\] - streetview values are also used in tweening with the autogenerated route (see above)
* **tween** \[Object\] - An array of objects, each containing data for one frame of a tween
-* **position* \[Object\] - An object with two keys, lat and lng, both which are mandatory for a tween to work
+* **position** \[Object\] - An object with two keys, lat and lng, both which are mandatory for a tween to work
* **pov** \[Object\] - An object which houses heading, pitch, and zoom paramters, which are all optional, if undefined, these values default to 0
## Example ##
@@ -1,7 +1,7 @@
---
title: Popcorn.forEach
---
-# Popcorn.forEach( [ object|array ], callback, context ) #
+# Popcorn.forEach( \[ object|array \], callback, context ) #
## Purpose ##
@@ -1,7 +1,7 @@
---
title: Popcorn.guid
---
-# Popcorn.guid( [prefix] ) #
+# Popcorn.guid( \[prefix\] ) #
## Purpose ##
@@ -74,5 +74,5 @@ When set to true, errors will not be suppressed.
## Related ##
* [Popcorn.plugin.errors](#Popcorn.plugin.errors)
-* [listen](/popcorn-docs/media-methods/#listen)
-* [Popcorn.plugin](#Popcorn.plugin)
+* [on](/popcorn-docs/media-methods/#on)
+* [Popcorn.plugin](#Popcorn.plugin)
@@ -57,5 +57,5 @@ Each error object in Popcorn.plugin.errors will look like:
## Related ##
* [Popcorn.plugin.debug](#Popcorn.plugin.debug)
-* [listen](/popcorn-docs/media-methods/#listen)
-* [Popcorn.plugin](#Popcorn.plugin)
+* [on](/popcorn-docs/media-methods/#on)
+* [Popcorn.plugin](#Popcorn.plugin)
@@ -1,7 +1,7 @@
---
title: Popcorn.util.toSeconds
---
-# Popcorn.util.toSeconds( smpte [, fps ] ) #
+# Popcorn.util.toSeconds( smpte \[, fps \] ) #
## Purpose ##

0 comments on commit 91c5b39

Please sign in to comment.