source: branches/jw6/test/aac.html @ 2323

Revision 2323, 2.4 KB checked in by jeroen, 10 months ago (diff)

added basic test cases

Line 
1<!DOCTYPE html>
2<html>
3<head>
4    <title>Playing an AAC audio file</title>
5    <script type="text/javascript" src="../bin-debug/jwplayer.js"></script>
6    <link type="text/css" rel="stylesheet" href="assets/style.css"  media="all" />
7</head>
8<body>
9
10<h1>Playing an AAC audio file</h1>
11<div class="all">List of test devices</div>
12<p>This test consists of some basic setups with a single AAC audio file. A small but broad set of cases is tested to check basic audio playback functionalities.</p>
13
14
15<h2>Audio with Poster</h2>
16
17<div id="container"></div>
18
19<script type="text/javascript">
20    jwplayer("container").setup({
21        file: 'http://content.bitsontherun.com/videos/3XnJSIm4-I3ZmuSFT.m4a',
22        height: 204,
23        image: 'http://content.bitsontherun.com/thumbs/3XnJSIm4-480.jpg',
24        width: 480
25    });
26</script>
27
28<table><tr>
29    <th></th><th>Action</th><th>Expected result(s)</th><th>Works?</th>
30</tr><tr>
31    <td class="both"></td>
32    <td>Initial page load</td>
33    <td>480x200 poster image should be visible, with play button in the middle.</td>
34    <td class="check"></td>
35</tr><tr>
36    <td class="both"></td>
37    <td>Click/touch display to play</td>
38    <td>Audio should first buffer, then play. Poster should stay visible.<br/>Play icon should hide, controlbar should show up.<br/>Controlbar should not contain a fullscreen button.</td>
39    <td class="check"></td>
40</tr></table>
41
42<h2>Controlbar Only</h2>
43
44<div id="container2"></div>
45
46<script type="text/javascript">
47    jwplayer("container2").setup({
48        file: 'http://content.bitsontherun.com/videos/3XnJSIm4-I3ZmuSFT.m4a',
49        height: 30,
50        image: 'http://content.bitsontherun.com/thumbs/3XnJSIm4-480.jpg',
51        width: 480
52    });
53</script>
54
55<table><tr>
56    <th></th><th>Action</th><th>Expected result(s)</th><th>Works?</th>
57</tr><tr>
58    <td class="both"></td>
59    <td>Initial page load</td>
60    <td>Only controlbar should be visible. No display/logo.<br/>Controlbar should extend to edges on top of page background.</td>
61    <td class="check"></td>
62</tr><tr>
63    <td class="both"></td>
64    <td>Click/touch play button</td>
65    <td>Audio should first buffer, then play.<br/>Controlbar should remain visible after mouseout.</td>
66    <td class="check"></td>
67</tr><tr>
68    <td class="desktop"></td>
69    <td>Mouse over controls</td>
70    <td>Timeslider and volume tooltips should not appear.</td>
71    <td class="check"></td>
72</tr></table>
73
74
75
76</body>
77</html>
Note: See TracBrowser for help on using the repository browser.