Skip to content

Commit

Permalink
Merge branch 'master' into zoom-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa8626 committed Dec 23, 2021
2 parents 185ad64 + 7a3df39 commit 80b34c2
Show file tree
Hide file tree
Showing 8 changed files with 340 additions and 519 deletions.
23 changes: 17 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,24 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v2.9.4](https://github.com/openplayerjs/openplayerjs/compare/v2.9.3...v2.9.4)

> 4 December 2021
- fix: upgrade core-js from 3.19.0 to 3.19.1 [`#299`](https://github.com/openplayerjs/openplayerjs/pull/299)
- fix: upgrade core-js from 3.18.3 to 3.19.0 [`#298`](https://github.com/openplayerjs/openplayerjs/pull/298)
- Updated bundles [`f0b9ea3`](https://github.com/openplayerjs/openplayerjs/commit/f0b9ea33cd9c41964bb37e5ecb6808dda3bb7c6d)
- Create CONTRIBUTING.md [`c828b2d`](https://github.com/openplayerjs/openplayerjs/commit/c828b2d9208f3459faeba0b20ccd069ccc2f7fd8)
- fix(player): Changed way to check if class is present due to issues with SVG elements [`f1343e4`](https://github.com/openplayerjs/openplayerjs/commit/f1343e4b68833b8d0096cdb0ce13484e6466e2d7)

#### [v2.9.3](https://github.com/openplayerjs/openplayerjs/compare/v2.9.2...v2.9.3)

> 21 October 2021
- fix: upgrade core-js from 3.18.2 to 3.18.3 [`#297`](https://github.com/openplayerjs/openplayerjs/pull/297)
- fix(ads): Fixed workflow when trying to set ad more than once without reloading page; removed unnecessary event and added new tests (skipped for now until figuring out issue with setInterval in mocha). Fixes #296 [`#296`](https://github.com/openplayerjs/openplayerjs/issues/296)
- fix(player): Added missing fix when duration is less than zero; removed unnecessary test file; added new test for Ads [`b06c919`](https://github.com/openplayerjs/openplayerjs/commit/b06c91923fb51d3bd3132a822a8ec754d6e72d17)
- Release 2.9.3 [`ccb6ef5`](https://github.com/openplayerjs/openplayerjs/commit/ccb6ef5693b9f0ac08d03ebf632d779199e01631)

#### [v2.9.2](https://github.com/openplayerjs/openplayerjs/compare/v2.9.1...v2.9.2)

Expand Down Expand Up @@ -47,7 +58,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- fix(player): Added async/await for main methods to reduce code and allow catching any possible errorswhen attempting to play media; fixes #276 [`#276`](https://github.com/openplayerjs/openplayerjs/issues/276)
- fix(player): Added missing package and fixed workflow to allow async/await to work when bundling; fixed last issues with hls media and expanded unit tests to test load/play workflow [`3bd17d3`](https://github.com/openplayerjs/openplayerjs/commit/3bd17d32da42b63151f8cf1d18371670c94a9ead)
- feat(player): Upgraded Typescript and other packages to enhance unit tests; corrected linter errors and removed support for Travis CI to favor CircleCI [`cf09666`](https://github.com/openplayerjs/openplayerjs/commit/cf096669348bd76fae37dd3b243b24a6df494a31)
- fix(player): Fixed issues when destroying audio player, and removed destroyed instance from global environment [`2fa1216`](https://github.com/openplayerjs/openplayerjs/commit/2fa12165d07675b1b94f8de2e7c8275d4e83c569)
- fix(player): Added missing conditional to avoid dispatching hiding of controls if video is loading for the first time [`02e9335`](https://github.com/openplayerjs/openplayerjs/commit/02e9335eaea0edb67ea745fea34e35a70a4cae7a)

#### [v2.8.3](https://github.com/openplayerjs/openplayerjs/compare/v2.8.2...v2.8.3)

Expand Down Expand Up @@ -285,9 +296,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

> 18 October 2020
- feat(player): added new set of SVG icons and removed font to simplify maintenance; updated multiple libraries [`de219ad`](https://github.com/openplayerjs/openplayerjs/commit/de219ade30a1c18f4f0ba852985238e31c9ad61c)
- Removed playlist elements [`68b6b09`](https://github.com/openplayerjs/openplayerjs/commit/68b6b09335caeb55cab9eb5a174d2eac33c772db)
- chore(typescript): Fixed various errors coming from Typescript strict standards; added ESM files and set new package.json property to set module [`eea1336`](https://github.com/openplayerjs/openplayerjs/commit/eea13362fa67734b0757938657794b3845ebb047)
- More refinements [`fc31b30`](https://github.com/openplayerjs/openplayerjs/commit/fc31b307a0e4c12d12d647bb450e263cefdb4f7a)
- fix(ads): Moved logic from ads LOADED event to STARTED to adjust scenario described at #162 [`23c757e`](https://github.com/openplayerjs/openplayerjs/commit/23c757eb247bfba03d35280f92425ab456b640b0)

### [v1.16.12](https://github.com/openplayerjs/openplayerjs/compare/v2.1.2...v1.16.12)

Expand Down Expand Up @@ -347,6 +358,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- chore(package): update release-it to version 9.0.1 [`#36`](https://github.com/openplayerjs/openplayerjs/issues/36)
- chore(package): update conventional-changelog to version 3.0.5 [`#25`](https://github.com/openplayerjs/openplayerjs/issues/25)
- chore(package): update webpack-cli to version 3.0.1 [`#7`](https://github.com/openplayerjs/openplayerjs/issues/7)
- Release 1.16.7 [`b7544b8`](https://github.com/openplayerjs/openplayerjs/commit/b7544b802a79d3ebb3042fcb0fe6798fadc90a14)
- Removed documentation since it is not needed anymore [`051992b`](https://github.com/openplayerjs/openplayerjs/commit/051992b1b864d9a815d40b588f316a305613d0f8)
- Release 1.16.9 [`87ce71f`](https://github.com/openplayerjs/openplayerjs/commit/87ce71f78a03c1871d1b52564dc2556bde138047)
- Revert "chore(release): 0.2.1" [`a8a4f00`](https://github.com/openplayerjs/openplayerjs/commit/a8a4f00f8a56291faf5c9755b09d3a2780780e4b)
- chore(release): 0.2.0 [`5f4cfce`](https://github.com/openplayerjs/openplayerjs/commit/5f4cfce056fe6a00da7e8da282488c2ad6cc619c)
- chore(release): 0.2.1 [`6444d6d`](https://github.com/openplayerjs/openplayerjs/commit/6444d6dbfade0840716fb7f969feece7c21e4fef)
2 changes: 1 addition & 1 deletion dist/esm/utils/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function request(url, dataType, success, error) {
}
}
export function hasClass(target, className) {
return !!(target.className.split(' ').indexOf(className) > -1);
return !!(target.classList.contains(className));
}
export function offset(el) {
const rect = el.getBoundingClientRect();
Expand Down
10 changes: 5 additions & 5 deletions dist/openplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,7 @@ var store = __webpack_require__(49);
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: '3.19.2',
version: '3.19.3',
mode: IS_PURE ? 'pure' : 'global',
copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
});
Expand Down Expand Up @@ -3742,9 +3742,9 @@ var Iterators = __webpack_require__(30);

var returnThis = function () { return this; };

module.exports = function (IteratorConstructor, NAME, next) {
module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
var TO_STRING_TAG = NAME + ' Iterator';
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) });
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
Iterators[TO_STRING_TAG] = returnThis;
return IteratorConstructor;
Expand Down Expand Up @@ -4232,7 +4232,7 @@ var V8_VERSION = __webpack_require__(69);
var SPECIES = wellKnownSymbol('species');
var PROMISE = 'Promise';

var getInternalState = InternalStateModule.get;
var getInternalState = InternalStateModule.getterFor(PROMISE);
var setInternalState = InternalStateModule.set;
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
var NativePromisePrototype = NativePromise && NativePromise.prototype;
Expand Down Expand Up @@ -5383,7 +5383,7 @@ function request(url, dataType, success, error) {
}
}
function hasClass(target, className) {
return !!(target.className.split(' ').indexOf(className) > -1);
return !!target.classList.contains(className);
}
function offset(el) {
var rect = el.getBoundingClientRect();
Expand Down
2 changes: 1 addition & 1 deletion dist/openplayer.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = config => {
karmaTypescriptConfig: {
bundlerOptions: {
sourceMap: true,
validateSyntax: false,
},
compilerOptions: {
target: 'es6',
Expand All @@ -35,7 +36,6 @@ module.exports = config => {
},
},
},
exclude: ['node_modules'],
reports: {
text: '.',
lcov: {
Expand Down
Loading

0 comments on commit 80b34c2

Please sign in to comment.