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

ME-6152-type-definitions #560

Merged
merged 5 commits into from
Feb 22, 2024
Merged

ME-6152-type-definitions #560

merged 5 commits into from
Feb 22, 2024

Conversation

tsi
Copy link
Collaborator

@tsi tsi commented Feb 21, 2024

The decision was to go with a minimalistic type definition to reduce future tech-debt and complexity.
This will solve the immediate issue of the default import (see here).

This should fix #558

ToDo:

  • Handle type definitions for tree-shaken chunks
  • Handle type definitions for configuration options
  • Handle type definitions for player methods options (i.e. source(), playlist())

@tsi tsi self-assigned this Feb 21, 2024
@tsi tsi requested a review from a team as a code owner February 21, 2024 09:59
Copy link

netlify bot commented Feb 21, 2024

Deploy Preview for cld-video-player ready!

Name Link
🔨 Latest commit 001936b
🔍 Latest deploy log https://app.netlify.com/sites/cld-video-player/deploys/65d7596d5c3b1400087690fd
😎 Deploy Preview https://deploy-preview-560--cld-video-player.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@ehab-cl ehab-cl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

types/video-player.d.ts Outdated Show resolved Hide resolved
types/video-player.d.ts Outdated Show resolved Hide resolved
types/video-player.d.ts Outdated Show resolved Hide resolved
types/video-player.d.ts Outdated Show resolved Hide resolved
types/video-player.d.ts Show resolved Hide resolved
@tsi tsi merged commit ad4e600 into edge Feb 22, 2024
6 checks passed
tsi added a commit that referenced this pull request Mar 17, 2024
* chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#559)

Bumps [undici](https://github.com/nodejs/undici) from 5.28.2 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.28.2...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: av1 support (#557)

* chore(edge): release 1.10.7-edge.0 (#561)

* ME-6152-type-definitions (#560)

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* fix: type definitions

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* chore(edge): release 1.10.7-edge.1 (#562)

* fix: types exports (#565)

* chore(edge): release 1.10.7-edge.2 (#566)

* feat: kareoke style subtitles (#563)

* feat: karaoke style subtitles

* fix: types exports

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* chore: add example page

* chore(edge): release 1.10.7-edge.3 (#567)

* chore(edge): release 1.10.7-edge.3

* Update CHANGELOG.md

---------

Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com>

* fix: allowUsageReport (#569)

* chore(edge): release 1.10.7-edge.4 (#570)

* fix: mimetypes (#572)

* fix: mimetypes

* fix: mimetypes

* fix: mimetypes

* fix: poster image for raw URLs (#573)

* chore(edge): release 1.10.7-edge.5 (#574)

* chore: example pages (#575)

* chore: example pages

* chore: example pages

* chore: example pages

* CI: Create update_master.yml

* CI: Update update_master.yml

* Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com>
Co-authored-by: cloudinary-jenkins <cloudinary-jenkins@clodinary.com>
tsi added a commit that referenced this pull request Mar 17, 2024
* chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#559)

* fix: av1 support (#557)

* chore(edge): release 1.10.7-edge.0 (#561)

* ME-6152-type-definitions (#560)

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* fix: type definitions

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* chore(edge): release 1.10.7-edge.1 (#562)

* fix: types exports (#565)

* chore(edge): release 1.10.7-edge.2 (#566)

* feat: kareoke style subtitles (#563)

* feat: karaoke style subtitles

* fix: types exports

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* chore: add example page

* chore(edge): release 1.10.7-edge.3 (#567)

* chore(edge): release 1.10.7-edge.3

* Update CHANGELOG.md

* fix: allowUsageReport (#569)

* chore(edge): release 1.10.7-edge.4 (#570)

* fix: mimetypes (#572)

* fix: mimetypes

* fix: mimetypes

* fix: mimetypes

* fix: poster image for raw URLs (#573)

* chore(edge): release 1.10.7-edge.5 (#574)

* chore: example pages (#575)

* chore: example pages

* chore: example pages

* chore: example pages

* CI: Create update_master.yml

* CI: Update update_master.yml

* Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml
tsi pushed a commit that referenced this pull request Mar 17, 2024
* chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#559)

* fix: av1 support (#557)

* chore(edge): release 1.10.7-edge.0 (#561)

* ME-6152-type-definitions (#560)

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* fix: type definitions

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* chore(edge): release 1.10.7-edge.1 (#562)

* fix: types exports (#565)

* chore(edge): release 1.10.7-edge.2 (#566)

* feat: kareoke style subtitles (#563)

* feat: karaoke style subtitles

* fix: types exports

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* chore: add example page

* chore(edge): release 1.10.7-edge.3 (#567)

* chore(edge): release 1.10.7-edge.3

* Update CHANGELOG.md

* fix: allowUsageReport (#569)

* chore(edge): release 1.10.7-edge.4 (#570)

* fix: mimetypes (#572)

* fix: mimetypes

* fix: mimetypes

* fix: mimetypes

* fix: poster image for raw URLs (#573)

* chore(edge): release 1.10.7-edge.5 (#574)

* chore: example pages (#575)

* chore: example pages

* chore: example pages

* chore: example pages

* CI: Create update_master.yml

* CI: Update update_master.yml

* Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* chore: update update_master.yml

* chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#559)

fix: av1 support (#557)

* chore(edge): release 1.10.7-edge.0 (#561)

* ME-6152-type-definitions (#560)

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* fix: type definitions

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* chore(edge): release 1.10.7-edge.1 (#562)

fix: types exports (#565)

* chore(edge): release 1.10.7-edge.2 (#566)

* feat: kareoke style subtitles (#563)

* feat: karaoke style subtitles

* fix: types exports

* feat: kareoke style subtitles

* feat: kareoke style subtitles

feat: karaoke style subtitles

* chore: add example page

* chore(edge): release 1.10.7-edge.3 (#567)

* chore(edge): release 1.10.7-edge.3

* Update CHANGELOG.md

* fix: allowUsageReport (#569)

* chore(edge): release 1.10.7-edge.4 (#570)

* fix: mimetypes (#572)

* fix: mimetypes

* fix: mimetypes

fix: mimetypes

fix: poster image for raw URLs (#573)

* chore(edge): release 1.10.7-edge.5 (#574)

* chore: example pages (#575)

* chore: example pages

* chore: example pages

* chore: example pages

* CI: Create update_master.yml

* CI: Update update_master.yml

* Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* Update update_master.yml
tsi added a commit that referenced this pull request Mar 19, 2024
* chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#559)

Bumps [undici](https://github.com/nodejs/undici) from 5.28.2 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.28.2...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: av1 support (#557)

* chore(edge): release 1.10.7-edge.0 (#561)

* ME-6152-type-definitions (#560)

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* fix: type definitions

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* chore(edge): release 1.10.7-edge.1 (#562)

* fix: types exports (#565)

* chore(edge): release 1.10.7-edge.2 (#566)

* feat: kareoke style subtitles (#563)

* feat: karaoke style subtitles

* fix: types exports

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* chore: add example page

* chore(edge): release 1.10.7-edge.3 (#567)

* chore(edge): release 1.10.7-edge.3

* Update CHANGELOG.md

---------

Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com>

* fix: allowUsageReport (#569)

* chore(edge): release 1.10.7-edge.4 (#570)

* fix: mimetypes (#572)

* fix: mimetypes

* fix: mimetypes

* fix: mimetypes

* fix: poster image for raw URLs (#573)

* chore(edge): release 1.10.7-edge.5 (#574)

* chore: example pages (#575)

* chore: example pages

* chore: example pages

* chore: example pages

* CI: Create update_master.yml

* CI: Update update_master.yml

* Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* chore: update update_master.yml

* chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#559)

* fix: av1 support (#557)

* chore(edge): release 1.10.7-edge.0 (#561)

* ME-6152-type-definitions (#560)

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* fix: type definitions

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* chore(edge): release 1.10.7-edge.1 (#562)

* fix: types exports (#565)

* chore(edge): release 1.10.7-edge.2 (#566)

* feat: kareoke style subtitles (#563)

* feat: karaoke style subtitles

* fix: types exports

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* chore: add example page

* chore(edge): release 1.10.7-edge.3 (#567)

* chore(edge): release 1.10.7-edge.3

* Update CHANGELOG.md

* fix: allowUsageReport (#569)

* chore(edge): release 1.10.7-edge.4 (#570)

* fix: mimetypes (#572)

* fix: mimetypes

* fix: mimetypes

* fix: mimetypes

* fix: poster image for raw URLs (#573)

* chore(edge): release 1.10.7-edge.5 (#574)

* chore: example pages (#575)

* chore: example pages

* chore: example pages

* chore: example pages

* CI: Create update_master.yml

* CI: Update update_master.yml

* Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* Update update_master.yml

* Update update_master.yml

* fix: styled subtitles browser compatibility (#576)

* fix: styled subtitles browser compatibility

* chore: unlazy styled subtitles

* chore(edge): release 1.11.1-edge.0 (#583)

* Update styled-text-tracks.js

* Update styled-text-tracks.scss

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com>
Co-authored-by: cloudinary-jenkins <cloudinary-jenkins@clodinary.com>
tsi added a commit that referenced this pull request Apr 16, 2024
* chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#559)

Bumps [undici](https://github.com/nodejs/undici) from 5.28.2 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.28.2...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: av1 support (#557)

* chore(edge): release 1.10.7-edge.0 (#561)

* ME-6152-type-definitions (#560)

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* fix: type definitions

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* chore(edge): release 1.10.7-edge.1 (#562)

* fix: types exports (#565)

* chore(edge): release 1.10.7-edge.2 (#566)

* feat: kareoke style subtitles (#563)

* feat: karaoke style subtitles

* fix: types exports

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* chore: add example page

* chore(edge): release 1.10.7-edge.3 (#567)

* chore(edge): release 1.10.7-edge.3

* Update CHANGELOG.md

---------

Co-authored-by: Tsachi Shlidor <tsachi.shlidor@cloudinary.com>

* fix: allowUsageReport (#569)

* chore(edge): release 1.10.7-edge.4 (#570)

* fix: mimetypes (#572)

* fix: mimetypes

* fix: mimetypes

* fix: mimetypes

* fix: poster image for raw URLs (#573)

* chore(edge): release 1.10.7-edge.5 (#574)

* chore: example pages (#575)

* chore: example pages

* chore: example pages

* chore: example pages

* CI: Create update_master.yml

* CI: Update update_master.yml

* Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* chore: update update_master.yml

* chore(deps-dev): bump undici from 5.28.2 to 5.28.3 (#559)

* fix: av1 support (#557)

* chore(edge): release 1.10.7-edge.0 (#561)

* ME-6152-type-definitions (#560)

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* fix: type definitions

* fix: type definitions

* fix: type definitions

* chore: remove jsdocs

* chore(edge): release 1.10.7-edge.1 (#562)

* fix: types exports (#565)

* chore(edge): release 1.10.7-edge.2 (#566)

* feat: kareoke style subtitles (#563)

* feat: karaoke style subtitles

* fix: types exports

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* feat: kareoke style subtitles

* chore: add example page

* chore(edge): release 1.10.7-edge.3 (#567)

* chore(edge): release 1.10.7-edge.3

* Update CHANGELOG.md

* fix: allowUsageReport (#569)

* chore(edge): release 1.10.7-edge.4 (#570)

* fix: mimetypes (#572)

* fix: mimetypes

* fix: mimetypes

* fix: mimetypes

* fix: poster image for raw URLs (#573)

* chore(edge): release 1.10.7-edge.5 (#574)

* chore: example pages (#575)

* chore: example pages

* chore: example pages

* chore: example pages

* CI: Create update_master.yml

* CI: Update update_master.yml

* Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* CI: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* ci: Update update_master.yml

* Update update_master.yml

* Update update_master.yml

* fix: styled subtitles browser compatibility (#576)

* fix: styled subtitles browser compatibility

* chore: unlazy styled subtitles

* chore(edge): release 1.11.1-edge.0 (#583)

* perf!: default export to be base videoPlayer (#588)

* perf!: default export to be base videoPlayer

BREAKING CHANGE: the default ES import is now only the player core
plugins need to be explicitly imported

* chore: ignore sourcemaps

* chore(edge): release 2.0.0-edge.1 (#589)

* perf: cleanup codec logic (#590)

* perf: cleanup codec logic

chore: update videojs-contrib-dash

* chore: cleanup

* chore: hasCodec

* chore: updated exports

* perf: cleanup codec logic

chore: update videojs-contrib-dash

* chore: cleanup

* chore: updated exports

* chore: exports

* chore: exports

* perf: update dependencies (#594)

* chore: update dependencies

* chore: bundlewatch

* perf: update dependencies

* perf: update dependencies

* chore: update dependencies

* chore: update eslint

* chore: update httpSourceSelector plugin

* chore(edge): release 2.0.0-edge.2 (#593)

* perf: utils refactor & cleanup (#595)

* perf: utils refactor (array, assign, playlist utils)

* perf: utils refactor (cloudinary, css-prefix, dom, find)

* perf: utils refactor (cloudinary, css-prefix, dom, find)

* perf: utils refactor (groupBy, matches)

* perf: utils refactor (find, omit, get, object, positioning, tests, playButton)

* chore: bundlesize

* perf: utils refactor (webpack loaders)

* perf: utils refactor (startsWith, camelize)

* perf: utils refactor (throttle, types)

* perf: utils refactor (isObject)

* chore: cleanup

* perf: utils refactor (hasCodec)

* chore: export

* chore(edge): release 2.0.0-edge.3 (#597)

* fix: isPlainObject (#598)

* chore(edge): release 2.0.0-edge.4 (#599)

* fix: esm examples

* fix: esm examples

* fix: recommendations

* chore: updates

* chore: pr fixes

* chore(edge): release 2.0.0-edge.5 (#601)

* fix: eslintrc (#604)

* build: add default profiles json files to build output in es version (#603)

* build: add default profiles json files to build output in es version

* build: simplify profiles path

* perf: debug mode & lazy validators (ME-15925) (#606)

* perf: lazy validators

* chore: cleanup

* chore: cleanup

* chore: pr comments

* Revert "chore: pr comments"

This reverts commit d435ca5.

* chore: pr comments

* chore: pr comments

* chore(edge): release 2.0.0-edge.6 (#605)

* fix: withCredentials (ME-16117) (#607)

* fix: withCredentials

* fix: withCredentials in playerConfig as documented

* chore(edge): release 2.0.0-edge.7 (#608)

* fix: esm examples (#609)

* chore(edge): release 2.0.0-edge.8 (#610)

* fix: debug mode analytics (#611)

* fix: esm example pages (ME-16168) (#613)

* fix: esm example pages

* fix: esm examples preview

* fix: deprecated snyk

* fix: esm examples

* chore(edge): release 2.0.0-edge.9 (#614)

* Update update_master.yml

* Update update_master.yml

* Update update_master.yml

* fix: undeprecate Cloudinary.new() (ONCALL-3380) (#619)

* fix: undeprecate Cloudinary.new()

* chore: add an embedded player example

* ci: netlify ignore unchanged

* chore: example should default to edge

* chore(edge): release 2.0.1-edge.0 (#620)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: cloudinary-jenkins <jenkins@cloudinary.com>
Co-authored-by: jakub-roch <70572646+jakub-roch@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

npm install cloudinary-video-player
2 participants