Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: restore pillarbox #7

Merged
merged 1 commit into from
Feb 12, 2024
Merged

feat: restore pillarbox #7

merged 1 commit into from
Feb 12, 2024

Conversation

jboix
Copy link
Contributor

@jboix jboix commented Feb 6, 2024

Description

Restores pillarbox as the player of the demo application.

jboix added a commit to SRGSSR/pillarbox-web that referenced this pull request Feb 6, 2024
Addresses several updates to the distribution configuration:

- Removed `browser` field to prioritize `module` imports.
- Added `style` and `types` field to the package.json.
- Updated the output file name in the `"build:css"` script from `video-js.min.css`
  to `pillarbox.min.css`.

These configuration was tested in conjuction with the demo (see SRGSSR/pillarbox-web-demo#7)
to ensure that the library is easily integrated as a npm module.
jboix added a commit to SRGSSR/pillarbox-web that referenced this pull request Feb 6, 2024
Addresses several updates to the distribution configuration:

- Removed `browser` field to prioritize `module` imports.
- Added `style` and `types` field to the package.json.
- Updated the output file name in the `"build:css"` script from `video-js.min.css`
  to `pillarbox.min.css`.

These configuration was tested in conjunction with the demo (see SRGSSR/pillarbox-web-demo#7)
to ensure that the library is easily integrated as a npm module.
jboix added a commit to SRGSSR/pillarbox-web that referenced this pull request Feb 6, 2024
Addresses several updates to the distribution configuration:

- Removed `browser` field to prioritize `module` imports.
- Added `style` and `types` field to the package.json.
- Updated the output file name in the `"build:css"` script from `video-js.min.css`
  to `pillarbox.min.css`.
- Updated the quick guide to reflect how to properly integrate the library.

These configuration was tested in conjunction with the demo (see SRGSSR/pillarbox-web-demo#7)
to ensure that the library is easily integrated as a npm module.
package.json Show resolved Hide resolved
github-merge-queue bot pushed a commit to SRGSSR/pillarbox-web that referenced this pull request Feb 7, 2024
Addresses several updates to the distribution configuration:

- Removed `browser` field to prioritize `module` imports.
- Added `style` and `types` field to the package.json.
- Updated the output file name in the `"build:css"` script from `video-js.min.css`
  to `pillarbox.min.css`.
- Updated the quick guide to reflect how to properly integrate the library.

These configuration was tested in conjunction with the demo (see SRGSSR/pillarbox-web-demo#7)
to ensure that the library is easily integrated as a npm module.
github-actions bot pushed a commit to SRGSSR/pillarbox-web that referenced this pull request Feb 9, 2024
## 1.0.0 (2024-02-09)

### Enhancements and Bug Fixes 🐛

* **analytics:** use new textrack API ([096234a](096234a)), closes [#52](#52)
* **data-provider:** onlyChapters parameter default value ([3da1e7f](3da1e7f))
* demo page not working on github ([f0f303d](f0f303d)), closes [#185](#185)
* **media-composition:** missing block reason property ([bd1182f](bd1182f))
* **mediaComposition:** replace bu by vendor to comply with standard naming ([1fa3003](1fa3003))
* **pillarbox:** eme plugin name does not survive minification ([4df0b65](4df0b65))
* **player:** audio track disabled if no selection criteria met ([5e5880c](5e5880c))
* **srg-analytics:** error when transitioning from URL to URN ([e8e213c](e8e213c))
* **srg-analytics:** playhead position is not updated ([336701e](336701e)), closes [#60](#60)
* **srg-analytics:** seek event sent before first play in live streams with DVR ([9b59828](9b59828))
* **srgssr-middleware:** akamai token generation ([0efdc6d](0efdc6d))
* **srgssr-middleware:** throw an error when the titleBar is disabled ([bde23b0](bde23b0))
* update build and distribution configuration ([9291ae7](9291ae7)), closes [SRGSSR/pillarbox-web-demo#7](SRGSSR/pillarbox-web-demo#7)

### Chore 🧹

* add .gitignore file ([75f2416](75f2416))
* add package.json file ([47d1a69](47d1a69))
* add player test page ([11ee029](11ee029)), closes [#157](#157)
* **commitlint:** add dependency and conf file ([60d02ae](60d02ae))
* **demo:** remove demo ([8024491](8024491))
* **editorconfig:** maintain a consistent code style ([c92902d](c92902d))
* **eslint:** add javascript linter ([e143460](e143460))
* **eslint:** allow unused vars ([fddf8f0](fddf8f0))
* **eslint:** allow unused vars prefixed by _ ([7e14ad6](7e14ad6))
* **eslint:** configuration update ([18b7717](18b7717))
* **eslint:** disable complexity rule for test files ([19eb27c](19eb27c))
* **github-action:** add github page ([145feca](145feca))
* **github-actions:** add code coverage ([a940e5d](a940e5d))
* **github-actions:** add Crowdin workflows ([7b34569](7b34569)), closes [#70](#70)
* **github-actions:** add merge queue ([d78a692](d78a692))
* **github-actions:** add pre-release and release configuration ([1fbdda1](1fbdda1))
* **github-actions:** add quality workflow ([a5a3a8b](a5a3a8b))
* **github-actions:** enable npm package distribution ([c780b6e](c780b6e))
* **github-actions:** publish selected pre-release tag as the latest dist-tag ([17254a7](17254a7))
* **github-actions:** rename pre-release job ([8b9d3ac](8b9d3ac))
* **github:** add PR template file ([c158c7a](c158c7a))
* **gitignore:** restore previous .gitignore ([14c0987](14c0987))
* **husky:** add commitlint to commit-msg hook ([65a1647](65a1647))
* **husky:** add dev dependency ([8fd109e](8fd109e))
* **husky:** add pre-push hook ([540364d](540364d))
* **jest:** add jsdom environment ([a9340f1](a9340f1))
* **npm:** add buffer dev dependency ([149c7d8](149c7d8))
* **npm:** add player page to github-page ([f895c4c](f895c4c))
* **npm:** add script to check for outdated packages ([6a04204](6a04204))
* **npm:** generate npm pack friendly compiled files ([ccccea0](ccccea0)), closes [#42](#42)
* **npm:** github page destination folder ([6c02a2b](6c02a2b))
* **npm:** script property update ([557536a](557536a))
* **npm:** update dev dependencies ([ddceef3](ddceef3)), closes [#181](#181)
* **npm:** update dev dependencies ([03d5eb6](03d5eb6))
* **npm:** update dev dependencies ([023c897](023c897))
* **npm:** update dev dependencies ([2c7f4b7](2c7f4b7))
* **npm:** update semantic-release to version 23.0.0 ([7697dc7](7697dc7)), closes [/github.com//issues/181#issuecomment-1926655838](https://github.com/SRGSSR//github.com/SRGSSR/pillarbox-web/issues/181/issues/issuecomment-1926655838)
* **npm:** update to video.js version 8.10.0 ([edea680](edea680))
* **npm:** update to video.js version 8.9.0 ([c786f8d](c786f8d))
* **npm:** update video.js to v8.5.3 ([dd093c0](dd093c0))
* **npm:** update video.js to v8.6.1 ([c0a03cb](c0a03cb))
* **npm:** update video.js to version 8.5.2 ([839d7bc](839d7bc))
* **npm:** update videojs-contrib-eme to version 3.11.2 ([2a792a6](2a792a6))
* **package:** add extra configuration ([049c038](049c038))
* **parcel:** add .parcel-cache to gitignore ([908f19a](908f19a))
* **parcel:** add conf file ([7608af1](7608af1))
* **parcel:** add dev dependency ([6c27b9e](6c27b9e))
* **parcel:** configuration update ([15c2f26](15c2f26))
* **semantic-release:** add configuration ([3d3384d](3d3384d))
* **semantic-release:** add dev dependency ([0fd6b34](0fd6b34))
* **semantic-release:** add missing dev dependencies ([cf3b5c0](cf3b5c0))
* **semantic-release:** add script ([fc214b3](fc214b3))
* **sematic-release:** add conf file ([eb77942](eb77942))
* **stylelint:** add css linter ([47317ff](47317ff))

### Docs 📖

* generate api documentation with jsdoc ([b74b7d0](b74b7d0)), closes [#186](#186)
* move wiki articles to generated jsdoc site ([31ad0b5](31ad0b5))
* readme draft and contribution guide ([3e2feef](3e2feef))
* **srgssr-middleware:** update jsdoc parameters ([560035d](560035d))
* start position workaround for ios safari ([a13bd74](a13bd74))
* update function description ([0b72f37](0b72f37))

### Refactor 🔩

* apply suggested changes ([9471302](9471302))
* **data-provider:** readability of the getMediaCompositionByUrn function ([a540671](a540671))
* **dataDrovider:** reverse the condition in getMediaCompositionByUrn ([865ff1b](865ff1b))
* **player:** update class extension ([4570755](4570755))
* **srg-analytics:** simplifies mediaData detection condition ([bd73b8c](bd73b8c))
* use function instead of class ([c0c7a0f](c0c7a0f)), closes [#182](#182)

### New Features 🚀

* **analytics:** add support for tracking control ([548be84](548be84)), closes [#32](#32)
* **dataProviderService:** use IL 2.1 ([2401866](2401866))
* **demo:** add demo page displaying pillarbox version ([579ff78](579ff78))
* drm content playback ([c9d7394](c9d7394)), closes [#27](#27)
* **image:** adds scaling url generation ([5028de3](5028de3))
* **lang:** add support for i18n ([ae0f02d](ae0f02d)), closes [#48](#48)
* **mediaComposition:** add data model used by SRGSSR ([bdece55](bdece55))
* **pillarbox:** add default options for pillarbox ([d2c14c9](d2c14c9)), closes [#167](#167)
* **pillarbox:** basic media playback ([4c3abe5](4c3abe5)), closes [#19](#19)
* **pillarbox:** enable smooth seeking by default ([375ed92](375ed92)), closes [#155](#155)
* play unprotected SRG SSR contents from urns ([64e32b9](64e32b9)), closes [#24](#24)
* **player:** add default css skin ([8045be6](8045be6)), closes [#165](#165)
* **player:** simplifies audio track handling ([ef81d39](ef81d39)), closes [#38](#38)
* **player:** simplifies text track handling ([865be77](865be77)), closes [#35](#35)
* split demo and migrate to rollup ([62acb36](62acb36)), closes [#179](#179) [SRGSSR/pillarbox-web-demo#1](SRGSSR/pillarbox-web-demo#1)
* **srg-analytics:** enable debug mode on the fly ([7912233](7912233))
* **srg-analytics:** standardize seek event tracking ([1089979](1089979)), closes [#36](#36)
* **srgssr-middleware:** add support for SRG SSR blocking reasons ([02c13a4](02c13a4)), closes [#39](#39)
* **srgssr-middleware:** filter incompatible resources ([c11d0a0](c11d0a0))
* **srgssr-middleware:** handle custom mediaData ([07e5b2d](07e5b2d)), closes [#32](#32)
* **srgssr-middleware:** use metadata instead of cause when an error occurs ([06ea595](06ea595))
* token-protected content playback ([45be2df](45be2df)), closes [#28](#28)

### Styles 🎨

* **babel:** add blank line ([742aeec](742aeec))
* **srg-analytics:** fix test case indentation ([b187428](b187428))

### Tests ✅

* **pillarbox:** player initialization ([56ee947](56ee947))
* **pillarbox:** the class version ([639671f](639671f))
@jboix jboix force-pushed the chore/restore-pillarbox branch from cf65a57 to 4d354de Compare February 12, 2024 09:42
Restores pillarbox as the player of the demo application.
@jboix jboix force-pushed the chore/restore-pillarbox branch from 4d354de to b905965 Compare February 12, 2024 09:45
@jboix jboix marked this pull request as ready for review February 12, 2024 09:45
@jboix jboix requested a review from amtins February 12, 2024 09:45
@jboix jboix added this pull request to the merge queue Feb 12, 2024
Merged via the queue into main with commit 0b1ffea Feb 12, 2024
1 check passed
@jboix jboix deleted the chore/restore-pillarbox branch February 12, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants