Updated Branches:
  refs/heads/master 1d7b6c7e5 -> 74aa66c55

Fixed CB-436 - Add iOS Quirk for Media API play method


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/74aa66c5
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/74aa66c5
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/74aa66c5

Branch: refs/heads/master
Commit: 74aa66c5592663d4ef6c2aef925af318c3c4a931
Parents: 1d7b6c7
Author: Shazron Abdullah <shaz...@gmail.com>
Authored: Fri Apr 6 01:34:00 2012 -0700
Committer: Shazron Abdullah <shaz...@gmail.com>
Committed: Fri Apr 6 01:34:00 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/cordova/media/media.play.md |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/74aa66c5/docs/en/edge/cordova/media/media.play.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/media/media.play.md 
b/docs/en/edge/cordova/media/media.play.md
index aea4917..a179645 100644
--- a/docs/en/edge/cordova/media/media.play.md
+++ b/docs/en/edge/cordova/media/media.play.md
@@ -144,3 +144,13 @@ Full Example
             <p id="audio_position"></p>
           </body>
         </html>
+
+iOS Quirk
+---------
+
+- __numberOfLoops__
+ 
+    Pass in this option to the **play** method to specify the number of times 
you want the media file to play. e.g:
+    
+        var myMedia = new 
Media("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3";)
+        myMedia.play({ numberOfLoops: 2 })

Reply via email to