Skip to content

Commit d2b8eea

Browse files
authored
Merge pull request #90 from bbc/sync-upstream-4.7.3
Sync upstream 4.7.3
2 parents 1d9badf + 72cdca4 commit d2b8eea

File tree

139 files changed

+58768
-14296
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+58768
-14296
lines changed

.circleci/config.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2.1
22
orbs:
3-
browser-tools: circleci/[email protected].1
3+
browser-tools: circleci/[email protected].4
44

55
executors:
66
dashjs-executor:
@@ -49,7 +49,8 @@ commands:
4949

5050
build_unit_test_steps:
5151
steps:
52-
- browser-tools/install-browser-tools
52+
- browser-tools/install-browser-tools:
53+
chrome-version: 116.0.5845.96 # TODO remove this when google updates the chrome driver
5354
- run:
5455
name: Build and run unit tests
5556
command: |

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,7 @@ build/typings/
188188

189189
# Vim
190190
.vimrc
191+
192+
#Karma Functional tests
193+
test/functional-karma/coverage
194+
test/functional-karma/results

AUTHORS.md

+1
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@
4848
* @epiclabsDASH [Jesus Oliva, Epic Labs]
4949
* @adripanico [Adrian Caballero, Epic Labs]
5050
* @ahfarmer [Andrew Farmer, Rhombus Systems]
51+
* @matvp91 [Matthias Van Parijs]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ When it is all done, it should look similar to this:
184184
* ```npm run doc```
185185

186186
### Troubleshooting
187-
* In case the build process is failing make sure to use an up-to-date node.js version. The build process was successfully tested with node.js version 14.16.1.
187+
* In case the build process is failing make sure to use an up-to-date node.js version. The build process was successfully tested with node.js version 20.10.0.
188188

189189
### License
190190
dash.js is released under [BSD license](https://github.com/Dash-Industry-Forum/dash.js/blob/development/LICENSE.md)

build/jsdoc/jsdoc_conf.json

+14-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"plugins/markdown"
1313
],
1414
"markdown": {
15-
"hardwrap": true
15+
"hardwrap": true,
16+
"idInHeadings": true
1617
},
1718
"templates": {
1819
"cleverLinks": true,
@@ -21,6 +22,7 @@
2122
"outputSourceFiles": true,
2223
"outputSourcePath": true,
2324
"systemName": "dash.js",
25+
"systemSummary": "",
2426
"copyright": "<h3>DASH Industry Forum</h3>",
2527
"footer": "",
2628
"navType": "horizontal",
@@ -31,11 +33,20 @@
3133
"highlightTutorialCode": true
3234
},
3335
"opts": {
34-
"template": "../../node_modules/ink-docstrap/template",
36+
"template": "../../node_modules/clean-jsdoc-theme",
3537
"encoding": "utf8",
3638
"recurse": true,
3739
"query": "value",
3840
"private": false,
39-
"lenient": true
41+
"lenient": true,
42+
"verbose": true,
43+
"destination": "docs/",
44+
"theme_opts": {
45+
"default_theme": "light",
46+
"include_css": ["./build/style_jsdoc/jsdoc-custom.css"],
47+
"favicon": "https://dashif.org/img/favicon.ico",
48+
"includeFilesListInHomepage": true,
49+
"homepageTitle": "dash.js API Docs"
50+
}
4051
}
4152
}

build/style_jsdoc/jsdoc-custom.css

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
td, th {
2+
padding: 10px 10px !important;
3+
word-wrap: break-word;
4+
max-width: 50px;
5+
white-space: inherit;
6+
text-overflow: ellipsis;
7+
}
8+
9+
/* Optional: Style the first and last columns differently */
10+
td:nth-child(5), th:nth-child(5) {
11+
max-width: 150px !important;
12+
}
13+
td:first-child, th:first-child {
14+
max-width: 100px !important;
15+
}
16+
.main-wrapper {
17+
padding: 0 !important;
18+
}

build/webpack.base.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const out_dir = '../dist';
55

66
const config = {
77
devtool: 'source-map',
8+
target: ['web', 'es5'],
89
output: {
910
path: path.resolve(__dirname, out_dir),
1011
publicPath: '/dist/',

contrib/akamai/controlbar/ControlBar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ var ControlBar = function (dashjsMediaPlayer, displayUTCTimeCodes) {
372372
durationDisplay.onclick = seekLive;
373373
durationDisplay.classList.add('live-icon');
374374
}
375-
} else if (!isNaN(value)) {
375+
} else if (!isNaN(value) && isFinite(value)) {
376376
durationDisplay.textContent = displayUTCTimeCodes ? self.player.formatUTC(value) : self.player.convertToTimeCode(value);
377377
durationDisplay.classList.remove('live-icon');
378378
}

dist/dash.all.debug.js

+15,766-2,331
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dash.all.debug.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dash.all.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dash.all.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)