Skip to content

Commit

Permalink
[JW Player Video Provider][Video JS Video Provider]: Add missing type…
Browse files Browse the repository at this point in the history
…defs (prebid#11901)

* adds missing typedefs

* revert videojs

* restore videojs

* uses typedef import statements

* unifies statements

* undo videojs

* restore import
  • Loading branch information
karimMourra authored Jul 2, 2024
1 parent 96cfb46 commit 33373f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/jwplayerVideoProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ import stateFactory from '../libraries/video/shared/state.js';
import { JWPLAYER_VENDOR } from '../libraries/video/constants/vendorCodes.js';
import { getEventHandler } from '../libraries/video/shared/eventHandler.js';
import { submodule } from '../src/hook.js';
/**
* @typedef {import('../libraries/video/constants/ortb.js').OrtbVideoParams} OrtbVideoParams
* @typedef {import('../libraries/video/shared/state.js').State} State
* @typedef {import('../modules/videoModule/coreVideo.js').VideoProvider} VideoProvider
* @typedef {import('../modules/videoModule/coreVideo.js').videoProviderConfig} videoProviderConfig
*/

/**
* @constructor
Expand Down
3 changes: 3 additions & 0 deletions modules/videojsVideoProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ import { submodule } from '../src/hook.js';
import stateFactory from '../libraries/video/shared/state.js';
import { PLAYBACK_MODE } from '../libraries/video/constants/constants.js';
import { getEventHandler } from '../libraries/video/shared/eventHandler.js';
/**
* @typedef {import('../libraries/video/shared/state.js').State} State
*/

/*
Plugins of interest:
Expand Down

0 comments on commit 33373f0

Please sign in to comment.