Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
ebc9056
VTT parsing - Allow hour section that isn't 2 digits
richard-smith-preservica Jul 8, 2025
9621030
Skin documentation is incorrect.
joedolson Jul 21, 2025
9185741
Initial draft of new stylesheet
joedolson Jul 21, 2025
4d5add9
Add some additional handling for popups; remove able-player secondary…
joedolson Jul 21, 2025
b8094ca
Support default value for `kind`
joedolson Jul 21, 2025
6c4c055
Replace pipe.png with pipe character.
joedolson Jul 21, 2025
56642e3
Bump form-data from 4.0.2 to 4.0.4
dependabot[bot] Jul 22, 2025
b855633
Merge pull request #651 from ableplayer/dependabot/npm_and_yarn/form-…
joedolson Jul 22, 2025
f2a0cd9
Check that the target transcript div exists before defining as external.
joedolson Jul 23, 2025
3ff9e92
Remove debugging
joedolson Jul 23, 2025
4290684
Remove the getYouTubeTimedTextUrl function
joedolson Jul 23, 2025
f7d7e49
Add paths to get larger YouTube poster images.
joedolson Jul 23, 2025
5dc80d2
Just a spelling fix.
joedolson Jul 23, 2025
89dcefa
Move duration check to the main event declaration on the YT object.
joedolson Jul 23, 2025
e60fa4d
Correct spelling of iOS in comments.
joedolson Jul 23, 2025
b347fa6
Add YouTube no captions test
joedolson Jul 23, 2025
d4dc243
Remove iOS audio note
joedolson Jul 23, 2025
d7bd9b6
Merge pull request #645 from richard-smith-preservica/vtt-hour-parsing
joedolson Jul 23, 2025
93c8472
Remove useSvg
joedolson Jul 24, 2025
d03ac47
Merge branch 'develop' of https://github.com/ableplayer/ableplayer in…
joedolson Jul 24, 2025
06d9a9f
Just use the character directly, not the custom font.
joedolson Jul 24, 2025
4aff561
Adjust styles to allow seekbar head to meet WCAG 2.5.8.
joedolson Jul 24, 2025
a74c0ae
Remove commented out code in slider control
joedolson Jul 24, 2025
1e98593
Adjust seekbar head transparency.
joedolson Jul 24, 2025
ddfbb2b
That should only apply to the seekbar head
joedolson Jul 24, 2025
6c9dc8b
Restore default hover/focus colors on big play button.
joedolson Jul 24, 2025
98e0e87
Remove unused mediaType var from AccessibleSlider
joedolson Jul 24, 2025
d577b7c
Don't trigger slider action on right click.
joedolson Jul 24, 2025
dd22564
Increase control size and spacing on mobile.
joedolson Jul 24, 2025
ea9a61d
Improve layout of dialog modal to prevent overflow
joedolson Jul 24, 2025
8850821
Make it possible to pass false to dialog width and not set the width;…
joedolson Jul 24, 2025
cf0fe97
Mobile friendliness
joedolson Jul 24, 2025
4e6b4eb
Set gap between dialog control bar controls
joedolson Jul 24, 2025
a183021
Update legacy seekbar calculations to be able to handle flex gap
joedolson Jul 24, 2025
202c32d
Slightly adjust play button, which otherwise looks larger than other …
joedolson Jul 24, 2025
82b218c
Properly support popups outside of able wrapper.
joedolson Jul 24, 2025
eb3ae78
Fix unwanted lines in lyrics mode
joedolson Jul 24, 2025
d60793b
Handle alternate URL format for vimeo
joedolson Jul 24, 2025
1224d55
Remove all the left positioning. Just make alerts full width, and all…
joedolson Jul 24, 2025
40f65a6
Make row gap & padding more consistent; remove seek transparency
joedolson Jul 28, 2025
9ae59e9
Remove extra positioning on time tooltip.
joedolson Jul 28, 2025
7b3ee3f
Set volume slider position based on height of control bar containing it.
joedolson Jul 28, 2025
53d24fa
Better separation between tooltip and alert styling.
joedolson Jul 28, 2025
8d60b14
Controller padding dependent on skin.
joedolson Jul 28, 2025
cc94b2a
Add screen reader alerts for window moves.
joedolson Jul 28, 2025
2eb2fd2
Fix accessibility of draggable containers with screen readers
joedolson Jul 28, 2025
f99f02e
Add new unstranslated strings to translation files.
joedolson Jul 28, 2025
994ce22
Switch translations to use JSON sources; reformat translation files.
joedolson Jul 28, 2025
b6d805d
Remove AblePlayer.prototype.isCloseToCorner
joedolson Jul 29, 2025
c2b3f68
Get outerHeight instead of height to account for padding on transcrip…
joedolson Jul 29, 2025
6424b3d
Move main player alerts to overlay the info area.
joedolson Jul 29, 2025
38652c4
Declare width & height of button to avoid flash before positioning.
joedolson Jul 29, 2025
7c2156d
Remove getHiddenWidth
joedolson Jul 30, 2025
fcca2d5
Fix wrapping last transcript spand in an able-transcript-block.
joedolson Jul 30, 2025
bf642db
Update code style for consistency.
joedolson Jul 30, 2025
2034c71
Add new prototypes for syncing sign language & setting button states.
joedolson Jul 30, 2025
db1fd3e
Update control.js
joedolson Jul 30, 2025
97cbe1c
Don't redefine variables
joedolson Jul 30, 2025
04a873e
Need to start adding function docs.
joedolson Jul 30, 2025
a82e7a4
Simplify hiding speed conditions
joedolson Jul 30, 2025
4667c61
These icons are not used.
joedolson Jul 30, 2025
2714ded
Move icon generation to separate prototype
joedolson Jul 30, 2025
6640b1d
If top position set by cookie, don't allow above the top of the viewp…
joedolson Jul 30, 2025
2cee7c7
Incorrect preferences image property
joedolson Jul 30, 2025
3c99437
This array doesn't exist...
joedolson Jul 30, 2025
63c73a0
Add ms and pl to array of supported langs.
joedolson Jul 30, 2025
caa57b7
Remove trailing whitespace
joedolson Jul 30, 2025
15cc9d0
Update notes on volume detection and slightly compact code.
joedolson Jul 30, 2025
247885a
Code clarity; place all alerts at the top of the window by default.
joedolson Jul 30, 2025
b0bce16
Simplify alert positioning
joedolson Jul 30, 2025
5d35de3
Update keystroke manager to use e.key instead of e.which
joedolson Jul 31, 2025
81020ed
Switch dragdrop to e.key; remove old Safari keycodes.
joedolson Jul 31, 2025
6e43cf2
Replace uses of e.which with e.key; remove comments that are now clea…
joedolson Jul 31, 2025
7ea84f8
Remove unused variables & unneeded var assignments.
joedolson Jul 31, 2025
b80cb30
Remove trailing spaces, minor docs update
joedolson Jul 31, 2025
1ae2ea3
Remove IE9 window.console bug fix.
joedolson Jul 31, 2025
7a575b3
Modernization: accept 'svg' as a given for support.
joedolson Jul 31, 2025
7f562d6
Remove some unused vars & add an additional comment
joedolson Jul 31, 2025
6740d10
Number.isInteger is both a polyfill for an unsupported browser and un…
joedolson Jul 31, 2025
e6f7fd8
Use existing prototype for ucfirst equivalent.
joedolson Jul 31, 2025
f705213
Remove some unused vars & switch some quotes from double to single.
joedolson Jul 31, 2025
c334be5
Remove unused vars
joedolson Jul 31, 2025
5d65c39
Compact exit code in refresh controls
joedolson Jul 31, 2025
0a291f7
Compact some logic to avoid extra if/else nesting.
joedolson Jul 31, 2025
20306e6
Set 'init' as the default value or refreshControls context
joedolson Jul 31, 2025
43635f0
Return if chapteresdivlocation not set from prototype
joedolson Jul 31, 2025
1379721
Remove unused vars
joedolson Jul 31, 2025
3681b5f
Minor tweaks
joedolson Jul 31, 2025
e6f7ca8
Use ternary operators to compact mediatype check
joedolson Jul 31, 2025
3339fc0
remove unused variable
joedolson Jul 31, 2025
0f00f54
Fix: if skin is set to anything other than legacy or 2020, controls w…
joedolson Jul 31, 2025
2a3f631
Formatting
joedolson Jul 31, 2025
70e2770
Use ternaries to get translation properties
joedolson Jul 31, 2025
3f3fd6b
Support toggling transcript area when not a popup.
joedolson Jul 31, 2025
214886e
Make visible alerts dismissible.
joedolson Jul 31, 2025
7a2efa6
If control is fullscreen, need to specify which control to get.
joedolson Aug 1, 2025
c68dda1
Render SVG with namespace and re-enable preferences icon as SVG.
joedolson Aug 1, 2025
d6b4227
Minor formatting clean up
joedolson Aug 1, 2025
b626dca
Allow showing audio description if there is both a VTT and a describe…
joedolson Aug 1, 2025
4e3d134
Update description.js
joedolson Aug 1, 2025
3da1a8d
visible audio description should now be 100% width; don't set padding…
joedolson Aug 1, 2025
01aa1db
Add additional wrapper around lang controls in vts
joedolson Aug 1, 2025
4b2d8d2
Simplify z-index map
joedolson Aug 1, 2025
ab23b42
Set all text-alignment to start or end instead of left/right.
joedolson Aug 1, 2025
e7982f8
Prevent demos from being slammed against the bottom of the viewport
joedolson Aug 1, 2025
f861751
Equalize captions & visible description default heights; set for audc…
joedolson Aug 1, 2025
da57495
Set modals & transcript area to system font stack
joedolson Aug 1, 2025
4db87a8
Prevent scrolling when modal active.
joedolson Aug 1, 2025
ca719f6
Remove unused var declarations
joedolson Aug 1, 2025
b117392
Incorrect cookie reference for getting sign language cookie data
joedolson Aug 2, 2025
f6f6171
Bug fix: properly disable transcript with data-include-transcript=false
joedolson Aug 2, 2025
caaa9ec
Add unique classes to sign and transcript alert containers.
joedolson Aug 2, 2025
0106108
Add prototype for setting text on buttons.
joedolson Aug 2, 2025
13dcf4b
Remove existing classes before setting.
joedolson Aug 2, 2025
a04d351
Revamp alertboxes to only create one and move it to the appropriate l…
joedolson Aug 2, 2025
837688b
Remove alertbox CSS positioning from JS
joedolson Aug 2, 2025
897ab86
Move colors to variables; simplify color palette to reduce complexity.
joedolson Aug 2, 2025
4d964dd
Update buildplayer.js
joedolson Aug 2, 2025
b2e64c6
Update control.js
joedolson Aug 2, 2025
ed308bc
Some style polishing
joedolson Aug 2, 2025
fbaceda
Update dragdrop.js
joedolson Aug 2, 2025
5c649b0
Tweak search results button outline
joedolson Aug 2, 2025
e500b04
Add styling for `code` in demos.
joedolson Aug 2, 2025
d67b374
Make controls panel more compact.
joedolson Aug 3, 2025
a33880a
Ensure player controls enlarge with font size
joedolson Aug 3, 2025
904091e
Allow seekbar head to enlarge with font; gap on statusbar
joedolson Aug 3, 2025
8a34c9a
Improve seekbar status sizing
joedolson Aug 3, 2025
2e8b089
Improve alignment in window toolbars.
joedolson Aug 3, 2025
6a91d0d
Eliminate global player background to reduce color stacking.
joedolson Aug 3, 2025
69abbf4
Remove hr and wrap controls in dialogs
joedolson Aug 3, 2025
e29fea4
Improve big button styling & apply vars to modal overlay
joedolson Aug 3, 2025
3c2af54
Allow close dialog on click on overlay
joedolson Aug 3, 2025
eb5642e
Switch modal dialog positioning to fixed to avoid shifts of position
joedolson Aug 3, 2025
f03c493
Minor formatting
joedolson Aug 3, 2025
af056c4
Track acctive media so focus can be passed to the correct player afte…
joedolson Aug 3, 2025
b789cca
Failed to remove a temporary var
joedolson Aug 3, 2025
e35139c
Remove moz and ms prefixed fullscreen properties
joedolson Aug 3, 2025
571a76d
Lower timeout to set fullscreen from 1000 to 100
joedolson Aug 3, 2025
0630d2a
Set base control size as a variable.
joedolson Aug 3, 2025
5985ea7
$ableColumnLeft doesn't exist anymore; not clear what it was.
joedolson Aug 3, 2025
26a2b68
Streamline some formatting & simplify conditionals.
joedolson Aug 3, 2025
e90cd31
Change control click handler from if/else to switch
joedolson Aug 3, 2025
8ead2d2
Reset scroll position after closing fullscreen
joedolson Aug 3, 2025
2eab4ad
Formatting updates
joedolson Aug 3, 2025
6d0dab2
modestbranding was deprecated Aug 2023
joedolson Aug 3, 2025
c4ef248
Add origin property to YouTube API vars
joedolson Aug 3, 2025
8041d70
Set iframe to display: block to prevent automatic insertion of blank …
joedolson Aug 3, 2025
1e3a2af
Sort YouTube player vars alphabetically.
joedolson Aug 3, 2025
7b5468c
Forgot to update commas after rearranging object
joedolson Aug 3, 2025
8ea97f3
Formatting; round seekinterval.
joedolson Aug 3, 2025
96f323b
Formatting
joedolson Aug 3, 2025
56a5c4c
Refactor and reformat ableplayer-base.
joedolson Aug 3, 2025
7527859
In process: reformatting to remove line breaks in else/if.
joedolson Aug 3, 2025
bf1a689
Reformat else/if statements.
joedolson Aug 3, 2025
ede5fc4
Remove phrase "in order to" and simplify language.
joedolson Aug 3, 2025
9bf8bb1
Add decomment to strip comments from .dist
joedolson Aug 3, 2025
95aafa8
In audio player, add padding at top.
joedolson Aug 3, 2025
0cd97d4
Don't remove the banner insert.
joedolson Aug 3, 2025
0f1b617
Initial draft adding support for sign language from YouTube
joedolson Aug 10, 2025
757c531
Document new data parameter for YouTube sign language srces.
joedolson Aug 10, 2025
12957a5
Update contributing.md
joedolson Aug 10, 2025
3c6ee37
Text changes, remove images/ from needed files.
joedolson Aug 10, 2025
e41fba6
Update demo files for 4.7
joedolson Aug 10, 2025
4aecfc0
Rename base.css to ableplayer.css, move ableplayer.css to ableplayer-…
joedolson Aug 10, 2025
37f3d95
Set ccLoadPolicy to auto; remove stray .mute() that I thought I'd rem…
joedolson Aug 10, 2025
58cf9ba
Unload captions module in sign video player; remove debug.
joedolson Aug 10, 2025
635744e
Support youtube sign src when passed without `source`
joedolson Aug 11, 2025
98b5a60
Update README.md
joedolson Aug 11, 2025
e38bbec
Add YouTube demo with sign language also from YouTube
joedolson Aug 11, 2025
e542850
Remove debugging message
joedolson Aug 11, 2025
ce82a52
Fix resizing of sign windows.
joedolson Aug 11, 2025
673a191
Potential fix for code scanning alert no. 56: Incomplete string escap…
joedolson Aug 11, 2025
674a79a
Merge pull request #664 from ableplayer/develop
joedolson Aug 11, 2025
1e6cc88
Update builds and changelog
joedolson Aug 11, 2025
2ac07cf
Strict comparison of iconType.
joedolson Aug 11, 2025
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
13 changes: 13 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-contrib-cssmin");
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks("grunt-remove-logging");
grunt.loadNpmTasks("grunt-decomment");
grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.loadNpmTasks("grunt-terser");

Expand Down Expand Up @@ -102,6 +103,17 @@ module.exports = function (grunt) {
// Remove all console output (see https://www.npmjs.com/package/grunt-remove-logging)
},
},
decomment: {
any: {
options: {
safe: true,
},
files: {
"build/<%= pkg.name %>.dist.js": "build/<%= pkg.name %>.dist.js",
},

}
},
terser: {
min: {
files: {
Expand Down Expand Up @@ -160,6 +172,7 @@ module.exports = function (grunt) {
grunt.registerTask("default", [
"concat:build",
"removelogging:dist",
"decomment",
"terser:min",
"cssmin",
]);
Expand Down
266 changes: 135 additions & 131 deletions README.md

Large diffs are not rendered by default.

7,959 changes: 1,910 additions & 6,049 deletions build/ableplayer.dist.js

Large diffs are not rendered by default.

Loading