1
0
mirror of https://github.com/videojs/video.js.git synced 2025-07-15 01:34:23 +02:00

@dmlap export a basic played() on techs. closes #2384

This commit is contained in:
David LaPalomento
2015-07-21 16:56:23 -04:00
parent dd9930b6c6
commit 1102452ca3
6 changed files with 121 additions and 71 deletions

View File

@ -69,6 +69,11 @@ test('test playbackRate', function() {
strictEqual(tech.playbackRate(), 0.75);
});
test('should export played', function() {
tech.createEl();
deepEqual(tech.played(), tech.el().played, 'returns the played attribute');
});
test('should remove the controls attribute when recreating the element', function() {
var el;
player.tagAttributes = {