Repository: cordova-plugin-media Updated Branches: refs/heads/master 7a401d966 -> 855a57d97
Fixed example referencing non-existent variable Fixed example referencing non-existent variable media, fixed to use my_media variable. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/commit/e543c121 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/tree/e543c121 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/diff/e543c121 Branch: refs/heads/master Commit: e543c12184444f50f704e26a2c798f2de02b47ff Parents: f21a281 Author: Glen Baker <[email protected]> Authored: Fri Oct 23 00:14:40 2015 -0400 Committer: Jesse MacFadyen <[email protected]> Committed: Tue Dec 1 16:23:50 2015 -0800 ---------------------------------------------------------------------- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-media/blob/e543c121/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index bbf5034..e5bb4a4 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,7 @@ Pauses playing an audio file. // Pause after 10 seconds setTimeout(function () { - media.pause(); + my_media.pause(); }, 10000); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
