1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-21 01:39:04 +02:00
This commit is contained in:
Adam Waldron 2024-09-10 15:28:39 -07:00
parent c8e546f113
commit 8df5911a1f
4 changed files with 26 additions and 8 deletions

View File

@ -1,3 +1,21 @@
<a name="8.18.0"></a>
# [8.18.0](https://github.com/videojs/video.js/compare/v8.17.4...v8.18.0) (2024-09-10)
### Features
* add class to normalise time control display ([#8833](https://github.com/videojs/video.js/issues/8833)) ([5e6b536](https://github.com/videojs/video.js/commit/5e6b536)), closes [#8534](https://github.com/videojs/video.js/issues/8534) [1000#0](https://github.com/1000/issues/0)
### Bug Fixes
* check for closeable() before calling in spatialnavigation ([#8832](https://github.com/videojs/video.js/issues/8832)) ([8c56e31](https://github.com/videojs/video.js/commit/8c56e31))
* **lang:** Update el.json ([#8848](https://github.com/videojs/video.js/issues/8848)) ([1e2ea61](https://github.com/videojs/video.js/commit/1e2ea61)), closes [1000#0](https://github.com/1000/issues/0)
* update VHS to v3.14.1 ([#8860](https://github.com/videojs/video.js/issues/8860)) ([c8e546f](https://github.com/videojs/video.js/commit/c8e546f)), closes [1000#0](https://github.com/1000/issues/0)
### Chores
* update version number in readme on release ([#8840](https://github.com/videojs/video.js/issues/8840)) ([5fac9e1](https://github.com/videojs/video.js/commit/5fac9e1))
* Update VHS to 3.14.0, and its dependencies ([#8839](https://github.com/videojs/video.js/issues/8839)) ([1128425](https://github.com/videojs/video.js/commit/1128425)), closes [1000#0](https://github.com/1000/issues/0)
<a name="8.17.4"></a>
## [8.17.4](https://github.com/videojs/video.js/compare/v8.17.3...v8.17.4) (2024-08-27)

View File

@ -22,8 +22,8 @@ Video.js was started in the middle of 2010 and is now used on over ~~50,000~~ ~~
Thanks to the awesome folks over at [Fastly][fastly], there's a free, CDN hosted version of Video.js that anyone can use. Add these tags to your document's `<head>`:
```html
<link href="//vjs.zencdn.net/8.17.3/video-js.min.css" rel="stylesheet">
<script src="//vjs.zencdn.net/8.17.3/video.min.js"></script>
<link href="//vjs.zencdn.net/8.18.0/video-js.min.css" rel="stylesheet">
<script src="//vjs.zencdn.net/8.18.0/video.min.js"></script>
```
Alternatively, you can include Video.js by getting it from [npm](https://videojs.com/getting-started/#install-via-npm), downloading it from [GitHub releases](https://github.com/videojs/video.js/releases) or by including it via [unpkg](https://unpkg.com) or another JavaScript CDN, like CDNjs.
@ -34,12 +34,12 @@ Alternatively, you can include Video.js by getting it from [npm](https://videojs
<script src="https://unpkg.com/video.js/dist/video.min.js"></script>
<!-- unpkg : use a specific version of Video.js (change the version numbers as necessary) -->
<link href="https://unpkg.com/video.js@8.17.3/dist/video-js.min.css" rel="stylesheet">
<script src="https://unpkg.com/video.js@8.17.3/dist/video.min.js"></script>
<link href="https://unpkg.com/video.js@8.18.0/dist/video-js.min.css" rel="stylesheet">
<script src="https://unpkg.com/video.js@8.18.0/dist/video.min.js"></script>
<!-- cdnjs : use a specific version of Video.js (change the version numbers as necessary) -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/video.js/8.17.3/video-js.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/8.17.3/video.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/video.js/8.18.0/video-js.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/8.18.0/video.min.js"></script>
```
Next, using Video.js is as simple as creating a `<video>` element, but with an additional `data-setup` attribute. At a minimum, this attribute must have a value of `'{}'`, but it can include any Video.js [options][options] - just make sure it contains valid JSON!

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "video.js",
"version": "8.17.4",
"version": "8.18.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 video player that supports HLS and DASH with a common API and skin.",
"version": "8.17.4",
"version": "8.18.0",
"main": "./dist/video.cjs.js",
"module": "./dist/video.es.js",
"style": "./dist/video-js.css",