Alex Barstow
6189baac3c
fix: Only select TextTrackMenuItem if unselected ( #4920 )
...
These changes address an issue where screen readers may repeatedly and redundantly read TextTrackMenuItem's control text on every texttrackchange event in some browsers.
The source of the problem is in the handleTracksChange() method of TextTrackMenuItem and its subclass OffTextTrackMenuItem, in which this.selected(true/false) gets called even if the selected state has not changed since its previous invocation.
2018-02-09 14:54:47 -05:00
Ku Lok Sun
4afabc2b0e
docs: Fix the advance plugin example in documentation ( #4923 )
2018-02-09 14:16:18 -05:00
Gary Katsevman
7145a9cf1d
6.7.1
2018-01-31 11:19:12 -05:00
Gary Katsevman
7670db63cd
fix(middleware): do a null check in mediator methods ( #4913 )
2018-01-31 10:46:58 -05:00
Gary Katsevman
4404e071ba
6.7.0
2018-01-30 13:54:57 -05:00
Gary Katsevman
9ceb4e4fe0
feat: playerresize event in all cases ( #4864 )
...
Use ResizeObserver when available for better and more performant resizing information, otherwise, fall back to a throttled resize event on an iframe that's the size of the player.
Allows a video.js user to disable this by setting resizeManager: false as an option since the component will not be initialized.
Add a debounce util.
This reverts #4800 (e0ed0b5
) because we end up getting two playerresize events with the dimension methods now.
2018-01-30 13:26:21 -05:00
Pat O'Neill
6a0057716b
feat: Add videojs.getAllPlayers
to get an array of players. ( #4842 )
2018-01-30 11:43:47 -05:00
ldayananda
bf3eb45a37
feat: add mediator middleware type for play() ( #4868 )
...
This will allow middleware to interact with calls to play() from the tech. This will require a method of indicating to middleware previously run that a middleware down the chain has terminated or stopped execution.
* Adds middleware mediator method that runs middleware from the player to the tech and a second time back up to the player. This category was created because play is both a setter(changes the playback state) and a getter(gets a native play promise if available). This also has the ability to tell whether a middleware has terminated before reaching the tech.
* Adds a middleware.TERMINATOR sentinel value that is available on the videojs object
* Adds play to the allowedMediators
* Adds paused to the allowedGetters
* Adds a sandbox example of a play mediator middleware
2018-01-30 11:30:42 -05:00
ldayananda
a34597123c
docs: Update COLLABORATOR_GUIDE.md and CONTRIBUTING.md to include label meanings ( #4874 )
...
Add label meanings for collaborators to know when to put labels and to let contributors know what labels mean when they are applied.
2018-01-30 11:21:48 -05:00
mister-ben
f03ac5e9b5
fix: do not patch canplaytype on android chrome ( #4885 )
...
Patching canPlayType on Android shouldn't be necessary on Android Chrome since it reports its ability to player HLS correctly.
2018-01-30 11:20:33 -05:00
Pat O'Neill
a15e616a45
feat: Add getPlayer
method to Video.js. ( #4836 )
2018-01-30 11:19:06 -05:00
Gary Katsevman
dcab42e3d0
chore(package): update dependencies ( #4908 )
2018-01-30 11:18:04 -05:00
Gary Katsevman
8b54737646
chore: generate a test example on netlify for PRs ( #4912 )
2018-01-30 11:17:41 -05:00
Gary Katsevman
41fd5cb4e6
test: add project and build names to browserstack ( #4903 )
2018-01-26 12:24:26 -05:00
Gary Katsevman
f6eaa5e2ae
6.6.3
2018-01-24 14:29:48 -05:00
Gary Katsevman
dc1813c7dc
ignore: update package-lock.json
2018-01-24 14:29:38 -05:00
mrdtron
e628ccd555
fix: hide volume slider when the slider is not active and mute toggle button is in focus ( #4866 )
2018-01-24 13:51:44 -05:00
Gary Katsevman
ddfaf14b00
chore(docs site): use git commit message for netlify build ( #4900 )
2018-01-24 13:47:07 -05:00
ldayananda
673c231684
docs: add middleware guide ( #4877 )
...
* adding guide content
* fix link
* CR comments
* fixing a typo
* fixing example
2018-01-23 15:36:49 -05:00
Gary Katsevman
87cbd239f4
chore(package): update shelljs to version 0.8.1 ( #4899 )
...
Closes #4875
2018-01-23 15:02:08 -05:00
greenkeeper[bot]
2c5947649b
chore(package): update remark-parse to version 5.0.0 ( #4892 )
2018-01-23 15:00:55 -05:00
greenkeeper[bot]
5b76bb16f9
chore(package): update remark-stringify to version 5.0.0 ( #4893 )
2018-01-23 14:59:17 -05:00
greenkeeper[bot]
aee4e6b343
chore(package): update remark-cli to version 5.0.0 ( #4894 )
2018-01-23 14:58:59 -05:00
Thijs Triemstra
83880b0f0b
docs: fix some typos ( #4880 )
2018-01-22 17:07:05 -05:00
Gary Katsevman
f22cb50574
6.6.2
2018-01-05 17:04:12 -05:00
Gary Katsevman
8f450ea0b4
chore(netlify): add some debug info in the netlify command ( #4862 )
2018-01-05 16:42:11 -05:00
Calvin Correli
baf0982515
fix: silence unhandled promise rejection in Safari when seeking ( #4860 )
...
Fix #4853 .
2018-01-05 15:29:34 -05:00
Chuong
7c393e5c89
docs: wait for text track load with addRemoteTextTrack ( #4855 )
2018-01-05 14:45:48 -05:00
Rishabh Singh
98212c4af0
fix: progress bar time tooltips bug by adding word-break css reset ( #4859 )
...
Fixes #2964 .
2018-01-05 14:44:40 -05:00
greenkeeper[bot]
22fcd035bb
chore(package): update karma to version 2.0.0 ( #4834 )
2018-01-05 14:14:42 -05:00
Gary Katsevman
7272a8a5c0
6.6.1
2018-01-04 11:59:59 -05:00
Gary Katsevman
df0d705cd8
chore(lang): update translations needed doc ( #4858 )
2018-01-03 17:21:58 -05:00
Joe Forbes
4eb0047ad1
fix: wrap audio change handler rather than bind so a player dispose doesn't affect other players ( #4847 )
2018-01-03 16:58:23 -05:00
Pat O'Neill
a6f444443c
fix: Fix an issue where hookOnce failed for the 'beforesetup' hook. ( #4841 )
2018-01-03 16:57:17 -05:00
Hope Channel
eb4bd9fefa
fix(lang): Complete the Traditional Chinese translation (zh-CT.json) ( #4828 )
...
Provide the full list of translations for the Traditional Chinese language.
2018-01-03 16:56:19 -05:00
Hope Channel
98773ddec0
fix(lang): Complete the Simplified Chinese translations (zn-CN.json) ( #4827 )
...
Provide the full list of translations for the Simplified Chinese language.
2018-01-03 16:54:52 -05:00
cotne nazarashvili
98fe49feac
fix: replace with \u00a0 ( #4825 )
...
Fixes #4309
2018-01-03 16:52:05 -05:00
Gary Katsevman
4d88b61c07
6.6.0
2017-12-15 13:09:08 -05:00
Garrett Singer
5f89570b99
fix: modify debug log tests to accomodate old IE stringification ( #4824 )
2017-12-14 18:48:50 -05:00
Gary Katsevman
dede592ab7
chore: remove unused deps ( #4814 )
2017-12-14 17:36:57 -05:00
Gary Katsevman
f6f996d158
chore: switch to node 8 ( #4813 )
2017-12-14 17:34:30 -05:00
greenkeeper[bot]
11175872d5
fix(package): update videojs-font to version 2.1.0 ( #4812 )
2017-12-14 17:34:17 -05:00
Anton Gorbylev
f47a083d70
feat(css): add a delay before showing loading spinner ( #4806 )
2017-12-14 17:33:59 -05:00
greenkeeper[bot]
0fa8c845c4
chore(package): update remark-toc to version 5.0.0 ( #4803 )
2017-12-14 17:33:39 -05:00
sivapalan
e0ed0b5cd7
feat: playerresize event on Player dimension API calls ( #4800 )
...
Trigger a `playerresize` event when `width()`, `height()`, or `dimensions()` is called.
First part of #4629 .
2017-12-14 17:33:29 -05:00
Garrett Singer
ba0f20ec35
feat: add support for debug logging ( #4780 )
...
Adds support for `debug` as an available logging method under `videojs.log`
Changes the default log level from `all` to `info`
2017-12-14 17:31:51 -05:00
Gary Katsevman
4dd41f0332
6.5.2
2017-12-14 14:11:56 -05:00
Michael Fairchild
51ed400d7c
fix: use correct logic for menu focus ( #4823 )
...
This was resulting in the menu not being focused for all browsers/devices (if the player was in a frame), but it should target only IOS.
Fixes #4821
2017-12-14 13:32:43 -05:00
hopechannel
15cd32e544
chore(lang): Add translation for "caption settings" in zh-CN.json ( #4815 )
2017-12-14 11:26:14 -05:00
hopechannel
029955a946
chore(lang): Add translation for "caption settings" in zh-TW.json ( #4816 )
2017-12-14 11:25:51 -05:00