Skip to content
Browse files

No commit message

  • Loading branch information...
1 parent bd1e9c1 commit 6d9c461652c19b7293fb64519261f97d00f8a9cf Anonymous committed Jun 4, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 media-pause-method.md
View
6 media-pause-method.md
@@ -0,0 +1,6 @@
+The load method helps you programmatically control either the `[[audio]]` and `[[video]]` elements using JavaScript.
+This method causes the selection to stop playing if it is playing, and does nothing if it is not playing.
+
+ document
+ .querySelector('audioOrVideoSelector')
+ .pause()

0 comments on commit 6d9c461

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