8000 Develop by joedolson · Pull Request #688 · ableplayer/ableplayer · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions build/ableplayer.dist.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! ableplayer V4.7.0-beta1 with DOMPurify included */
/*! ableplayer V4.7.0 with DOMPurify included */
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */

(function (global, factory) {
Expand Down Expand Up @@ -6450,8 +6450,12 @@ if (typeof module !== "undefined" && module.exports) {
modal.attr({
'aria-labelledby': 'modalTitle-' + this.baseId,
});
modal.prepend(titleH1);
modal.prepend(closeButton);
var modalHeader = $( '<div>', {
'class': 'able-modal-header'
});
modalHeader.prepend(titleH1);
modalHeader.prepend(closeButton);
modal.prepend(modalHeader);
}

modal.attr({
Expand Down
10 changes: 7 additions & 3 deletions build/ableplayer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! ableplayer V4.7.0-beta1 with DOMPurify included */
/*! ableplayer V4.7.0 with DOMPurify included */
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */

(function (global, factory) {
Expand Down Expand Up @@ -7834,8 +7834,12 @@ if (typeof module !== "undefined" && module.exports) {
modal.attr({
'aria-labelledby': 'modalTitle-' + this.baseId,
});
modal.prepend(titleH1);
modal.prepend(closeButton);
var modalHeader = $( '<div>', {
'class': 'able-modal-header'
});
modalHeader.prepend(titleH1);
modalHeader.prepend(closeButton);
modal.prepend(modalHeader);
}

modal.attr({
Expand Down
2 changes: 1 addition & 1 deletion build/ableplayer.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/ableplayer.min.js

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions build/separate-dompurify/ableplayer.dist.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! ableplayer V4.7.0-beta1 - In this file, DOMPurify is not bundled in with AblePlayer, but is a required dependency that can be added to the project via a local copy or a CDN */
/*! ableplayer V4.7.0 - In this file, DOMPurify is not bundled in with AblePlayer, but is a required dependency that can be added to the project via a local copy or a CDN */
/*
// JavaScript for Able Player

Expand Down Expand Up @@ -6479,8 +6479,12 @@ if (typeof module !== "undefined" && module.exports) {
modal.attr({
'aria-labelledby': 'modalTitle-' + this.baseId,
});
modal.prepend(titleH1);
modal.prepend(closeButton);
var modalHeader = $( '<div>', {
'class': 'able-modal-header'
});
modalHeader.prepend(titleH1);
modalHeader.prepend(closeButton);
modal.prepend(modalHeader);
}

modal.attr({
Expand Down
10 changes: 7 additions & 3 deletions build/separate-dompurify/ableplayer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! ableplayer V4.7.0-beta1 - In this file, DOMPurify is not bundled in with AblePlayer, but is a required dependency that can be added to the project via a local copy or a CDN */
/*! ableplayer V4.7.0 - In this file, DOMPurify is not bundled in with AblePlayer, but is a required dependency that can be added to the project via a local copy or a CDN */
/*
// JavaScript for Able Player

Expand Down Expand Up @@ -6479,8 +6479,12 @@ if (typeof module !== "undefined" && module.exports) {
modal.attr({
'aria-labelledby': 'modalTitle-' + this.baseId,
});
modal.prepend(titleH1);
modal.prepend(closeButton);
var modalHeader = $( '<div>', {
'class': 'able-modal-header'
});
modalHeader.prepend(titleH1);
modalHeader.prepend(closeButton);
modal.prepend(modalHeader);
}

modal.attr({
Expand Down
4 changes: 2 additions & 2 deletions build/separate-dompurify/ableplayer.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# AblePlayer Changelog

## 4.7.0
## 4.7.0 September 28th, 2025

### Styling

- New default theme with modernized layout and variables for colors.
- This summarizes a large number of individually small changes to the layout and styling of Able Player elements.
- Removed many instances of positioning imposed from JS so that more positioning is controllable from CSS.
- Removed somes instances of positioning imposed from JS so positioning is more controllable from CSS.
- Significant improvements to responsive design and behaviors.
- Removed fixed width and height set on big play button.
- Make big play button partially transparent.
Expand Down Expand Up @@ -50,7 +50,7 @@

### Internationalization

- Change all translation files from JS containing a JSON object to `.json`.
- Change all translation files from JS containing a JSON object to `.json`. Fallback to .js files if JSON sources not found.
- Add `ms` and `pl` to list of supported languages.
- Add several new strings to translation files. (Translations needed.)

Expand All @@ -74,7 +74,7 @@
- Remove unused prototype `AblePlayer.prototype.isCloseToCorner`.
- Remove unused `mediaType` argument from AccessibleSlider prototype.

## 4.6.0
## 4.6.0 June 23rd, 2025

### Styling
- Change default skin to "2020".
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ableplayer",
"version": "4.7.0-beta1",
"version": "4.7.0",
"description": "Accessible HTML5 media player",
"homepage": "https://ableplayer.github.io/ableplayer",
"bugs": "https://github.com/ableplayer/ableplayer/issues",
Expand Down
8 changes: 6 additions & 2 deletions scripts/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@
modal.attr({
'aria-labelledby': 'modalTitle-' + this.baseId,
});
modal.prepend(titleH1);
modal.prepend(closeButton);
var modalHeader = $( '<div>', {
'class': 'able-modal-header'
});
modalHeader.prepend(titleH1);
modalHeader.prepend(closeButton);
modal.prepend(modalHeader);
}

modal.attr({
Expand Down
10 changes: 7 additions & 3 deletions styles/ableplayer.css
Original file line number Diff line number Diff line change
Expand Up @@ -592,17 +592,21 @@ div.able-modal-overlay {
margin-top: 1rem;
}

.able-modal-header {
display: flex;
justify-content: space-between;
}

.able-modal-dialog .modalCloseButton {
position: absolute;
top: 5px;
right: 5px;
margin: 0;
align-self: flex-start;
}

div.able-modal-dialog h1 {
font-size: 1.5rem;
line-height: 1.6;
margin: 0 0 .5rem;
order: -1;
}

/* Preferences Form */
Expand Down
0