Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
cb7bcdf
Update Dutch translation
rianrietveld Feb 9, 2026
19d7063
Dutch translation
rianrietveld Feb 9, 2026
373c1a5
Typos Dutch translation
rianrietveld Feb 10, 2026
809817d
Merge pull request #721 from rianrietveld/update-modify-dutch-transla…
joedolson Feb 25, 2026
70cb443
ableplayer-base: IIFE -> module
VanessaPhippsCfa Feb 27, 2026
1aceab1
Module-ify everything else, first pass
VanessaPhippsCfa Feb 28, 2026
c6d95ba
Rollup build working
VanessaPhippsCfa Mar 2, 2026
d9fa88b
Separate sourcemap
VanessaPhippsCfa Mar 2, 2026
4076951
External jQuery
VanessaPhippsCfa Mar 2, 2026
837447f
youtube.js: eslint fixes
VanessaPhippsCfa Mar 2, 2026
6cc9476
ableplayer-base: fix issues in isNumeric
VanessaPhippsCfa Mar 2, 2026
01b8d25
webtt.js: eslint, dead code
VanessaPhippsCfa Mar 2, 2026
de61c07
buildplayer: eslint
VanessaPhippsCfa Mar 2, 2026
b2a3271
vts: fix minDuration reference
VanessaPhippsCfa Mar 2, 2026
576daaf
vimeo: eslint
VanessaPhippsCfa Mar 2, 2026
aa43754
validate: eslint
VanessaPhippsCfa Mar 2, 2026
94e5c9e
ttml2webvtt: eslint
VanessaPhippsCfa Mar 2, 2026
9e8fd16
translation: bugfixes
VanessaPhippsCfa Mar 2, 2026
8fd90dc
transcript: eslint
VanessaPhippsCfa Mar 2, 2026
a2dc40c
sign.js: eslint
VanessaPhippsCfa Mar 3, 2026
afefb1c
search.js: eslint
VanessaPhippsCfa Mar 3, 2026
df8202f
Safer peer dependency handling
VanessaPhippsCfa Mar 3, 2026
ecef370
preference.js: eslint
VanessaPhippsCfa Mar 3, 2026
0a83bf8
misc.js: eslint
VanessaPhippsCfa Mar 3, 2026
51f9944
initialize.js: fix up Vimeo error handling
VanessaPhippsCfa Mar 3, 2026
80672bf
Rollup: $ -> jQuery to stick with previous global
VanessaPhippsCfa Mar 3, 2026
366e558
event.js: data -> e
VanessaPhippsCfa Mar 3, 2026
212fa24
dragdrop.js: eslint
VanessaPhippsCfa Mar 4, 2026
4f2959d
description.js: eslint
VanessaPhippsCfa Mar 4, 2026
d448797
control.js: fix Vimeo error handling
VanessaPhippsCfa Mar 4, 2026
080dc0d
chapters.js: eslint
VanessaPhippsCfa Mar 4, 2026
df8609b
caption.js: fix Vimeo error handling
VanessaPhippsCfa Mar 4, 2026
839bd76
Rollup: a second bundle without DOMPurify
VanessaPhippsCfa Mar 4, 2026
a1e5eb4
Gruntfile: rollup tasks
VanessaPhippsCfa Mar 4, 2026
781b826
jest: .js -> .cjs
VanessaPhippsCfa Mar 4, 2026
b6b2b01
Fix tests
VanessaPhippsCfa Mar 5, 2026
d846154
hasOwn -> hasOwnProperty
VanessaPhippsCfa Mar 5, 2026
9783563
ESM and CJS bundles
VanessaPhippsCfa Mar 5, 2026
1ea7400
Rollup: Grunt plugin -> standalone
VanessaPhippsCfa Mar 5, 2026
c045ae9
Fix Object.prototype.hasOwnProperty.call
VanessaPhippsCfa Mar 5, 2026
ab63d95
Move build outputs on top of the original ones
VanessaPhippsCfa Mar 5, 2026
1ada730
ableplayer-base: require() -> import()
VanessaPhippsCfa Mar 5, 2026
e1fa098
slider.js: outdent for simpler diff
VanessaPhippsCfa Mar 5, 2026
f894daa
dialog.js: outdent for simpler diff
VanessaPhippsCfa Mar 5, 2026
6aae6e8
youtube.js: add back in missing event params
VanessaPhippsCfa Mar 5, 2026
0552ae5
ableplayer-base: go back to require()
VanessaPhippsCfa Mar 5, 2026
3015b62
Rollup: build sourcemap for ESM too
VanessaPhippsCfa Mar 5, 2026
03c7c95
Gruntfile: copy purify.min.js from node_modules
VanessaPhippsCfa Mar 5, 2026
36f1b3a
ESM: TypeScript types and proper package.json
VanessaPhippsCfa Mar 6, 2026
c942bf4
SVG icons only. Remove font and image icons
VanessaPhippsCfa Mar 6, 2026
2b5c139
Remove the actual icon images and fonts
VanessaPhippsCfa Mar 6, 2026
30ee985
Translations now bundled in
VanessaPhippsCfa Mar 6, 2026
90ed380
ablePlayerInstances: array -> Set
VanessaPhippsCfa Mar 6, 2026
1e97cee
Reinstate ableplayer.dist.js
VanessaPhippsCfa Mar 6, 2026
97e95e1
ableplayer-base: add "dispose" method
VanessaPhippsCfa Mar 6, 2026
a2b6585
.npmignore
VanessaPhippsCfa Mar 6, 2026
3b9d108
package.json: watch command
VanessaPhippsCfa Mar 7, 2026
0eb8af3
ableplayer-base: skip window setup when not there
VanessaPhippsCfa Mar 7, 2026
6719850
Demos: dynamic add and remove uses new API
VanessaPhippsCfa Mar 9, 2026
62bce06
search2.html: use separate-DOMPurify
VanessaPhippsCfa Mar 12, 2026
c6b9eb9
Grunt: remove unused grunt-terser
VanessaPhippsCfa Mar 12, 2026
c6dc11f
Rollup: clarify test build
VanessaPhippsCfa Mar 12, 2026
2783a40
control.js: outdent for simpler diff
VanessaPhippsCfa Mar 12, 2026
8302453
Initial draft of voiced captions support
joedolson Mar 18, 2026
e973cf0
5.0.0 README and changelog updates
VanessaPhippsCfa Mar 18, 2026
afcdb96
ES 2015 -> ES 2022
VanessaPhippsCfa Mar 18, 2026
034f629
Comments: 4.9.0 -> 5.0.0
VanessaPhippsCfa Mar 18, 2026
00a40cf
After review of Jekyll build
VanessaPhippsCfa Mar 18, 2026
fd7e636
contributing.md: 5.0.0 updates
VanessaPhippsCfa Mar 18, 2026
cab7a4e
TTML: remove references, per PR review
VanessaPhippsCfa Mar 22, 2026
655402a
Remove unused TTML2WebVTT script
VanessaPhippsCfa Mar 22, 2026
93b35e0
Remove references to absent thirdparty folder
VanessaPhippsCfa Mar 22, 2026
8e632ae
Controls: remove more references to non-SVG icons
VanessaPhippsCfa Mar 22, 2026
d0c10d5
Changelog: link is now 4.8.0->5.0.0
VanessaPhippsCfa Mar 22, 2026
38142fd
Merge pull request #725 from Smithsonian/develop
joedolson Mar 22, 2026
1c26095
Merge branch 'main' into develop
joedolson Mar 24, 2026
da1ac6e
Merge branch 'develop' into add-voiced-captions
joedolson Mar 24, 2026
575faf4
Add Voiced Captions string to translations
joedolson Mar 24, 2026
938f390
Eliminate some connecting words only used in translations
joedolson Mar 24, 2026
b402479
Get all track languages instead of limiting to descriptions
joedolson Mar 24, 2026
42344f9
Fix voiced caption preferences and layout
joedolson Mar 24, 2026
5151d5c
Remove duplicate string
joedolson Mar 24, 2026
e0d17a7
Rebuild both voice forms if needed
joedolson Mar 24, 2026
4538b98
Omit voice settings if no descvoices defined
joedolson Mar 24, 2026
b4de355
Remove dialog elements on dispose()
VanessaPhippsCfa Mar 25, 2026
ac7f35b
Merge pull request #730 from Smithsonian/develop
joedolson Mar 28, 2026
931ff59
Update text strings
joedolson Apr 8, 2026
8bae9cc
Change display value for volume to percentage
joedolson Apr 8, 2026
0eb6a8c
Set different speaking flags depending on context
joedolson Apr 8, 2026
a57eccf
Dynamically adjust spoken caption rate
joedolson Apr 8, 2026
e5e4b3c
Captions spoken preference is never false
joedolson Apr 8, 2026
63550e0
Separate vars for desc and caption voice
joedolson Apr 8, 2026
5401992
Fix prev/next item navigation for playlists
joedolson Apr 9, 2026
d73ca98
Update version numbers for 5 beta1
joedolson Apr 14, 2026
b53dc78
Update package-lock.json
joedolson Apr 14, 2026
5d220ff
Fix missed references to thisObj.tt instead of .translate()
joedolson Apr 16, 2026
e962139
Remove 33 unused translatable strings
joedolson Apr 16, 2026
b3c7386
Switch `windowClose` to `closeButtonLabel` to reduce strings
joedolson Apr 16, 2026
ba732cb
Convert cmd to use node directly, for spawnability. Fix dompurify path.
joedolson Apr 20, 2026
256abd7
Merge pull request #727 from ableplayer/add-voiced-captions
joedolson Apr 21, 2026
264a74c
Incorrect object reference
joedolson Apr 23, 2026
e480bb4
Validate VTT needs to be able to handle explicit `title` attributes w…
joedolson Apr 24, 2026
6ab4afe
Control initial size of the video element loading able player.
joedolson Apr 24, 2026
84d23c2
Remove inline styles in demos
joedolson May 8, 2026
1152548
Remove inline styles in legacy display
joedolson May 8, 2026
303f4a0
Consolidate and combine misc #wrapper demo styles
joedolson May 8, 2026
3d2b5dc
Adapt demo CSS
joedolson May 8, 2026
2f616b5
Change 'Able Player Home' to 'Able Player Docs' in demos
joedolson May 9, 2026
dfd0809
Two additional cases where translate method on wrong object
joedolson May 23, 2026
1b31df8
Vimeo API should use `https`
joedolson May 23, 2026
f4cb031
Add Content Security Policy information to Readme
joedolson May 23, 2026
35864ba
Document spoken captions
joedolson May 23, 2026
84199f6
Remove additional unused translatable strings.
joedolson May 23, 2026
59bb3db
Update changelog.md
joedolson May 23, 2026
2bb6f8a
Refactor and compact `secondsToTime` function
joedolson May 24, 2026
629ccfb
Remove title attribute from search results
joedolson May 24, 2026
ef53236
Compact fragmented translatable strings in audio description preferences
joedolson May 24, 2026
806d17d
Fix failing test
joedolson May 24, 2026
5710167
Move timer separator into its own container for improved styling.
joedolson May 26, 2026
86020c5
Refactor formatSecondAsColonTime to use secondsToTime
joedolson May 26, 2026
36130c5
Remove extraneous close brace
joedolson May 26, 2026
4219c63
Streamline with a ternary return
joedolson May 26, 2026
5fe4cb9
Language change in link
joedolson May 26, 2026
16decd5
No need for tabindex=-1 on a normal span.
joedolson May 26, 2026
de4ae8b
Eliminate orientation argument from AccessibleSlider
joedolson May 26, 2026
7c76c86
Remove unused initialState variable from AccessibleSlider component.
joedolson May 26, 2026
60ee5ad
Remove trackingMedia parameter from AccessibleSlider
joedolson May 26, 2026
dacfa98
Remove className parameter from AccessibleSlider
joedolson May 26, 2026
95a1d24
Remove length & min
joedolson May 26, 2026
a0f3940
Rename bodyDiv to seekbarDiv for code clarity
joedolson May 26, 2026
3e28855
Fix omitted bodyDiv > seekdbarDiv
joedolson May 26, 2026
5f1335e
Change slider widths to percentages.
joedolson May 26, 2026
e65e5fa
Update version number
joedolson May 28, 2026
921249f
Update changelog.md
joedolson May 28, 2026
5ad4622
Update built files.
joedolson May 28, 2026
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
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
.DS_Store
test.html
thirdparty/jwplayer.*
thirdparty/jquery-*.js
node_modules/
npm-debug.log
translations/???.js
.idea
.htaccess
docs
jsdoc.json
jsdoc.json
13 changes: 13 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
test.html
node_modules/
npm-debug.log
translations/???.js
.idea
.htaccess
docs
jsdoc.json
.git
.github
demos
media
59 changes: 59 additions & 0 deletions Gruntfile.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-contrib-copy");
grunt.loadNpmTasks("grunt-contrib-cssmin");
grunt.loadNpmTasks("grunt-contrib-clean");
grunt.loadNpmTasks('grunt-run');
grunt.loadNpmTasks('grunt-eslint');

grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
cssmin: {
min: {
src: ["styles/ableplayer.css"],
dest: "build/<%= pkg.name %>.min.css",
},
options: {
// Add a banner with the package name and version
// (no date, otherwise a new build is different even if the code didn't change!)
// (oddly, here we don't need a '\n' at the end!)
banner: "/*! <%= pkg.name %> V<%= pkg.version %> */",
},
},
run: {
rollup: {
cmd: 'node',
args: ['node_modules/rollup/dist/bin/rollup', '-c'],
},
jest: {
cmd: 'node',
args: ['node_modules/jest/bin/jest.js', '--colors']
},
types: {
cmd: 'node',
args: ['node_modules/typescript/bin/tsc', '-p', 'tsconfig.json']
},
},
copy: {
dompurify: {
files: {
'build/separate-dompurify/purify.min.js': ['node_modules/dompurify/dist/purify.min.js'],
}
}
},
eslint: {
target: ['scripts/*.js'],
},
clean: {
build: ["build"],
},
});

grunt.registerTask("default", [
"run:rollup",
"run:types",
"copy:dompurify",
"cssmin",
]);
grunt.registerTask("test", ["eslint"]);
grunt.registerTask("jest", ["run:rollup", "run:jest"]);
};
185 changes: 0 additions & 185 deletions Gruntfile.js

This file was deleted.

Loading
Loading