1
0
forked from jchomaz/Vulture

Tracking de l'application VApp (IHM du jeu)

This commit is contained in:
2025-05-11 18:04:12 +02:00
commit 89e9db9b62
17763 changed files with 3718499 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Migration Guide from 2.x to 3.x
## All `hls-` events were removed
All `hls-` prefixed events were removed. If you were listening to any of those events, you should switch the prefix from `hls-` to `vhs-`.
For example, if you were listening to `hls-gap-skip`:
```js
player.tech().on('hls-gap-skip', () => {
console.log('a gap has been skipped');
});
```
you should now listening to `vhs-gap-skip`:
```js
player.tech().on('vhs-gap-skip', () => {
console.log('a gap has been skipped');
});
```
See [VHS Usage Events](../#vhs-usage-events) for more information on these events.
## player properties for accessing VHS
All player level properties to access VHS have been removed.
If you were using any of the following:
* `player.vhs`
* `player.hls`
* `player.dash`
You should switch that to accessing the `vhs` property on the tech like so:
```js
player.tech().vhs
```