1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-04 10:34:51 +02:00
video.js/test/unit
twosmalltrees 2f96914b8e feat(format time): add setFormatTime for overriding the time format (#4962)
Add setFormatTime for Video.js to allow users to change the time format. Example usage:

```js
videojs.setFormatTime((seconds, guide) => `${seconds}, ${guide}`));
```

Add resetFormatTime to reset the time format to the default.

Fixes #2931
2018-03-07 14:37:10 -05:00
..
mixins feat: Stateful Components (#3960) 2017-01-26 22:04:34 -05:00
tech feat: Allow techs to change poster if player option techCanOverridePoster is set (#4921) 2018-03-07 14:31:50 -05:00
tracks feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
utils feat(format time): add setFormatTime for overriding the time format (#4962) 2018-03-07 14:37:10 -05:00
button.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
clickable-component.test.js test: update tests to use qunit 2 assert format (#4753) 2017-11-16 18:12:09 -05:00
close-button.test.js @pagarwal123 updated some test code to pass linter 2016-08-05 11:38:08 -04:00
component.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
controls.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
events.test.js fix(events): triggering with an object had incorrect target property on event object (#4993) 2018-03-05 16:42:06 -05:00
extend.test.js @misteroneill updated tests to qunit 2.0. closes #3509 2016-08-12 13:51:31 -04:00
media-error.test.js @misteroneill fixed IE8 media error test failure. closes #3568 2016-08-24 13:48:39 -04:00
menu.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
modal-dialog.test.js test: fix modal dialog test for showing controls (#4707) 2017-10-31 11:35:01 -04:00
player-play.test.js fix(Player#play): Wait for loadstart in play() when changing sources instead of just ready. (#4743) 2017-11-16 16:41:01 -05:00
player.test.js feat: Allow techs to change poster if player option techCanOverridePoster is set (#4921) 2018-03-07 14:31:50 -05:00
plugin-advanced.test.js feat: add a version method to all advanced plugin instances (#4714) 2017-11-07 15:48:24 -05:00
plugin-basic.test.js feat: Add 'beforepluginsetup' event and named plugin setup events (e.g. 'pluginsetup:foo') (#4255) 2017-05-11 17:13:22 -04:00
plugin-static.test.js chore(test): silence plugin warning from test (#4173) 2017-03-07 14:13:19 -05:00
poster.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
resize-manager.test.js feat: playerresize event in all cases (#4864) 2018-01-30 13:26:21 -05:00
setup.test.js feat: add 'playsinline' player option (#4348) 2017-05-12 16:39:37 -04:00
sourceset.test.js feat: sourceset event (#4660) 2018-03-07 14:28:37 -05:00
test-helpers.js feat: middleware (#3788) 2017-01-19 17:29:09 -05:00
video.test.js fix: regression for getting a player via the tech's id (#4969) 2018-02-22 14:22:12 -05:00
videojs-hooks.test.js fix: Fix an issue where hookOnce failed for the 'beforesetup' hook. (#4841) 2018-01-03 16:57:17 -05:00