OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2013 Google Inc. All Rights Reserved. | 2 Copyright 2013 Google Inc. All Rights Reserved. |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 at(1.0 * 1000, function() { | 430 at(1.0 * 1000, function() { |
431 assert_false(video.paused); | 431 assert_false(video.paused); |
432 player.source = null; | 432 player.source = null; |
433 }); | 433 }); |
434 at(2.0 * 1000, function() { | 434 at(2.0 * 1000, function() { |
435 assert_true(video.paused); | 435 assert_true(video.paused); |
436 }); | 436 }); |
437 }, "Video should be paused when MediaReference is detached from its AnimationPla
yer"); | 437 }, "Video should be paused when MediaReference is detached from its AnimationPla
yer"); |
438 | 438 |
439 </script> | 439 </script> |
OLD | NEW |