-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #494 from w3c/deniak/ms-audio
MS tests on audio element
- Loading branch information
Showing
11 changed files
with
51 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
html/semantics/embedded-content-0/the-audio-element/audio_003.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<title>HTML5 Media Elements: Media plays automatically when 'autoplay' is true. (audio)</title> | ||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> | ||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | ||
<link rel="help" href="http://www.w3.org/TR/html5/video.html#attr-media-autoplay" /> | ||
<meta name="assert" content="Media plays automatically when 'autoplay' is true. (audio)" /> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script type="text/javascript" src="../../../../common/media.js"></script> | ||
<script type="text/javascript"> | ||
audiotest = async_test("Media plays automatically when 'autoplay' is true."); | ||
function do_playing(event) | ||
{ | ||
audiotest.done(); | ||
} | ||
|
||
</script> | ||
</head> | ||
<body> | ||
<div id='log'></div> | ||
|
||
<script type="text/javascript"> | ||
|
||
document.write( | ||
"<audio id='audio0' src='" + getAudioURI("/media/sound_5") + "'" + | ||
" onplaying='do_playing(event);' autoplay>" + | ||
"</audio>" | ||
); | ||
|
||
</script> | ||
|
||
</div> | ||
</body> | ||
</html> |
13 changes: 13 additions & 0 deletions
13
html/semantics/embedded-content-0/the-audio-element/audio_content-ref.htm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE HTML> | ||
<html> | ||
<head> | ||
<title>HTML5 Media Elements: Content inside the 'audio' element is not shown to the user.</title> | ||
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> | ||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | ||
</head> | ||
<body> | ||
<div id='testcontent'> | ||
|
||
</div> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.