mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
6221a8f078
## Description See issue #8653 ## Specific Changes proposed When in `middleware.js` the function `clearCacheForPlayer` runs, before setting a value to null in middlware caches, it checks if the key exists in the first place. ## Requirements Checklist - [x] Feature implemented / Bug fixed - [x] If necessary, more likely in a feature request than a bug fix - [x] Change has been verified in an actual browser (Chrome, Firefox, IE) - [ ] Unit Tests updated or fixed - [ ] Docs/guides updated - [x] Example created ([starter template on JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0)) - [ ] Reviewed by Two Core Contributors --------- Co-authored-by: Giuseppe Piscopo <g.piscopo@braincrumbz.com> Co-authored-by: mister-ben <git@misterben.me> |
||
---|---|---|
.. | ||
autoplay-tests.html.example | ||
combined-tracks.html.example | ||
debug.html.example | ||
descriptions.html.example | ||
docpip.html.example | ||
double-sub-video.html.example | ||
embeds.html.example | ||
focus-visible.html.example | ||
hls.html.example | ||
hotkeys.html.example | ||
icons.html.example | ||
index.html.example | ||
language.html.example | ||
live.html.example | ||
liveui.html.example | ||
load-media.html.example | ||
middleware-instances.html.example | ||
middleware-play.html.example | ||
noUITitleAttributes.html.example | ||
pip-disabled.html.example | ||
plugin.html.example | ||
quality-levels.html.example | ||
responsive.html.example | ||
shadow-dom.html.example | ||
skip-buttons.html.example | ||
svg-icons-enabled.html.example | ||
svg-icons.html.example | ||
transient-button.html.example | ||
userAction-click.html.example | ||
vertical-volume.html.example |