MCPcopy Create free account

hub / github.com/videojs/video.js / functions

Functions1,624 in github.com/videojs/video.js

↓ 1 callersFunctioncheckVolumeSupport
(self, player)
src/js/control-bar/volume-control/check-volume-support.js:16
↓ 1 callersFunctionchunkInvalid
(state, chunk)
docs/legacy-docs/js/index.js:4324
↓ 1 callersFunctionclean
(item)
test/unit/tracks/text-track-list-converter.test.js:10
↓ 1 callersMethodcleanupAutoTextTracks
* Remove any TextTracks added via addRemoteTextTrack that are * flagged for automatic garbage collection
src/js/tech/tech.js:425
↓ 1 callersMethodcleanupTrackListeners_
* Remove all track list event listeners without triggering a full dispose. * Used as the player 'dispose' handler and called by dispose() before su
src/js/control-bar/track-button.js:56
↓ 1 callersMethodclearDisplay
* Clear all displayed {@link TextTrack}s.
src/js/tracks/text-track-display.js:260
↓ 1 callersFunctioncompileLanguage
(language)
docs/legacy-docs/js/index.js:7662
↓ 1 callersFunctioncompileMode
(mode, parent)
docs/legacy-docs/js/index.js:7675
↓ 1 callersMethodconditionalBlur_
* conditionally blur the element and refocus the last focused element * * @private
src/js/modal-dialog.js:457
↓ 1 callersMethodconditionalFocus_
* conditionally focus the modal dialog if focus was previously on the player. * * @private
src/js/modal-dialog.js:439
↓ 1 callersFunctioncreateBasicPlugin
(name, plugin)
src/js/plugin.js:112
↓ 1 callersMethodcreateEl
* Create the `ClickableComponent`s DOM element. * * @param {string} [tag=div] * The element's node type. * * @param {Object} [pr
src/js/clickable-component.js:70
↓ 1 callersMethodcreateEl
* Create the `Component`'s DOM element * * @return {Element} * The element that was created.
src/js/control-bar/progress-control/load-progress-bar.js:42
↓ 1 callersMethodcreateEl
* Create the `MenuButtons`s DOM element. * * @return {Element} * The element that gets created.
src/js/menu/menu-button.js:157
↓ 1 callersMethodcreateEl
* Create the `Menu`s DOM element. * * @return {Element} * the element that was created
src/js/menu/menu.js:116
↓ 1 callersMethodcreateEl
* Create the `Html5` Tech's DOM element. * * @return {Element} * The element that gets created.
src/js/tech/html5.js:361
↓ 1 callersFunctioncreateFilenameArray
(classData)
docs/legacy-docs/api/assets/create-doc-files.js:35
↓ 1 callersFunctioncreateFiles
* create the HTML files for the classes * @param {array} filenameArray - array of the filenames
docs/legacy-docs/api/assets/create-doc-files.js:24
↓ 1 callersMethodcreateItems
* Create the list of menu items. Specific to each subclass. * * @abstract
src/js/menu/menu-button.js:149
↓ 1 callersFunctioncreateLogger
(name, delimiter = ':', styles = '')
src/js/utils/create-logger.js:79
↓ 1 callersMethodcreateMenu
* Create the menu and add all items to it. * * @return {Menu} * The constructed menu
src/js/menu/menu-button.js:106
↓ 1 callersMethodcreateRemoteTextTrack
* Create an emulated TextTrack for use by addRemoteTextTrack * * This is intended to be overridden by classes that inherit from * Tech in ord
src/js/tech/tech.js:751
↓ 1 callersFunctioncreateTrackHelper
* A function used by {@link Tech} to create a new {@link TextTrack}. * * @private * * @param {Tech} self * An instance of the Tech class.
src/js/tech/tech.js:59
↓ 1 callersMethodcrossOrigin
* Get or set the `PosterImage`'s crossOrigin option. * * @param {string|null} [value] * The value to set the crossOrigin to. If an arg
src/js/poster-image.js:67
↓ 1 callersMethodcrossOrigin
* Get the value of `crossOrigin` from the tech. * * @abstract * * @see {Html5#crossOrigin}
src/js/tech/tech.js:450
↓ 1 callersMethodcurrentSrc
* Returns the fully qualified URL of the current source value e.g. http://mysite.com/video.mp4 * Can be used in conjunction with `currentType` to a
src/js/player.js:3908
↓ 1 callersMethodcurrentType
* Get the current source type e.g. video/mp4 * This can allow you rebuild the current source object so that you could load the same * source and
src/js/player.js:3920
↓ 1 callersFunctiondebounce
(func, wait, immediate, context = window)
src/js/utils/fn.js:104
↓ 1 callersFunctiondecodeChunk
(state, chunk, encoding)
docs/legacy-docs/js/index.js:5341
↓ 1 callersFunctiondecodeCodePointsArray
(codePoints)
docs/legacy-docs/js/index.js:861
↓ 1 callersMethoddimensions
* Set both the width and height of the `Component` element at the same time. * * @param {number|string} width * Width to set the `Co
src/js/component.js:1120
↓ 1 callersMethoddisableAudioOnlyUI_
()
src/js/player.js:4609
↓ 1 callersMethoddisablePictureInPicture
* A method to check for the value of the 'disablePictureInPicture' <video> property. * Defaults to true, as it should be considered disabled if the
src/js/tech/tech.js:849
↓ 1 callersMethoddisablePosterModeUI_
()
src/js/player.js:4674
↓ 1 callersMethoddisconnect
()
test/unit/resize-manager.test.js:49
↓ 1 callersMethoddispose
* Destroys the video player and does any necessary cleanup. * * This is especially helpful if you are dynamically adding and removing videos
src/js/player.js:639
↓ 1 callersMethoddispose
* Dispose of the `menu-button` and all child components.
src/js/menu/menu-button.js:240
↓ 1 callersMethoddispose
* Turn off all event polyfills, clear the `Tech`s {@link AudioTrackList}, * {@link VideoTrackList}, and {@link TextTrackList}, and dispose of this
src/js/tech/tech.js:376
↓ 1 callersMethoddocumentFullscreenChange_
* when the document fschange event triggers it calls this
src/js/player.js:2132
↓ 1 callersFunctiondrainQueue
()
docs/legacy-docs/js/index.js:2938
↓ 1 callersFunctioneach
(object, fn)
src/js/utils/obj.js:58
↓ 1 callersFunctionemptyEl
(el)
src/js/utils/dom.js:640
↓ 1 callersMethodenable
* Enable this `ClickableComponent`
src/js/clickable-component.js:176
↓ 1 callersMethodenable
* Enable all controls on the progress control and its children
src/js/control-bar/progress-control/progress-control.js:167
↓ 1 callersMethodenable
* Enable controls for this slider if they are disabled
src/js/slider/slider.js:60
↓ 1 callersMethodenableAudioOnlyUI_
()
src/js/player.js:4577
↓ 1 callersMethodenableTouchActivity
* This function reports user activity whenever touch events happen. This can get * turned off by any sub-components that wants touch events to act
src/js/component.js:1503
↓ 1 callersFunctionendOfMode
(mode, lexeme)
docs/legacy-docs/js/index.js:7784
↓ 1 callersFunctionendWritable
(stream, state, cb)
docs/legacy-docs/js/index.js:5570
↓ 1 callersFunctionexecuteRight
(mws, method, value, terminated)
src/js/tech/middleware.js:233
↓ 1 callersMethodexitFullscreenHelper_
()
src/js/player.js:3084
↓ 1 callersMethodfindBestCandidate_
* Finds the best candidate on the current center position, * the list of candidates, and the specified navigation direction. * * @param {Obje
src/js/spatial-navigation.js:503
↓ 1 callersMethodfindChaptersTrack
* Find the track object that is currently in use by this ChaptersButton * * @return {TextTrack|undefined} * The current track or unde
src/js/control-bar/text-track-controls/chapters-button.js:138
↓ 1 callersFunctionfindMimetype
(player, src)
src/js/utils/mimetypes.js:65
↓ 1 callersFunctionfixLinks
* fix link paths to point to html instead of md
docs/legacy-docs/js/guides.js:63
↓ 1 callersFunctionfixMarkup
(value)
docs/legacy-docs/js/index.js:8031
↓ 1 callersFunctionformatArray
(ctx, value, recurseTimes, visibleKeys, keys)
docs/legacy-docs/js/index.js:7225
↓ 1 callersFunctionformatPrimitive
(ctx, value)
docs/legacy-docs/js/index.js:7201
↓ 1 callersFunctionfromArray
(that, array)
docs/legacy-docs/js/index.js:307
↓ 1 callersFunctionfromArrayBuffer
(that, array)
docs/legacy-docs/js/index.js:329
↓ 1 callersFunctionfromArrayLike
(that, array)
docs/legacy-docs/js/index.js:341
↓ 1 callersFunctionfromBuffer
(that, buffer)
docs/legacy-docs/js/index.js:300
↓ 1 callersFunctionfromJsonObject
(that, object)
docs/legacy-docs/js/index.js:352
↓ 1 callersFunctionfromList
(n, state)
docs/legacy-docs/js/index.js:4772
↓ 1 callersFunctionfromNumber
(that, length)
docs/legacy-docs/js/index.js:257
↓ 1 callersFunctionfromObject
(that, object)
docs/legacy-docs/js/index.js:277
↓ 1 callersFunctionfromString
(that, string, encoding)
docs/legacy-docs/js/index.js:267
↓ 1 callersMethodfullWindowOnEscKey
* Check for call to either exit full window or * full screen on ESC key * * @param {string} event * Event to check for key press
src/js/player.js:3139
↓ 1 callersFunctiongetAncestorData
(parent_class)
docs/legacy-docs/api/js/doc-script.js:599
↓ 1 callersFunctiongetAncestorData
(parent_class)
docs/legacy-docs/api/js/api-docs.js:646
↓ 1 callersFunctiongetClassData
* extracts class items from doc data * @param {array} docData JSON output from JSDoc
docs/legacy-docs/api/assets/create-doc-files.js:60
↓ 1 callersFunctiongetInnerHTMLDescriptor
(tech)
src/js/tech/setup-sourceset.js:132
↓ 1 callersMethodgetIsDisabled
* Decide whether an element is actually disabled or not. * * @function isActuallyDisabled * @param element {Node} * @return {boolean}
src/js/component.js:1828
↓ 1 callersMethodgetIsExpresslyInert
* Decide whether the element is expressly inert or not. * * @see {@link https://html.spec.whatwg.org/multipage/interaction.html#expressly-iner
src/js/component.js:1840
↓ 1 callersMethodgetMenuCaption
* Get the caption for the ChaptersButton based on the track label. This will also * use the current tracks localized kind as a fallback if a label
src/js/control-bar/text-track-controls/chapters-button.js:158
↓ 1 callersFunctiongetMockEscapeEvent
()
test/unit/close-button.test.js:6
↓ 1 callersFunctiongetOrCreateFactory
* { * [playerId]: [[mwFactory, mwInstance], ...] * } * * @private
src/js/tech/middleware.js:262
↓ 1 callersFunctiongetSelectedOptionValue
* Gets the value of the selected <option> element within a <select> element. * * @param {Element} el * the element to look in * * @param
src/js/tracks/text-track-settings.js:213
↓ 1 callersFunctiongetSrcDescriptor
(tech)
src/js/tech/setup-sourceset.js:224
↓ 1 callersFunctiongetSubArray
* get a subset of objects in array of objects * based on some property value * * @param {array} targetArray - array to search * @param {string} ob
docs/legacy-docs/api/assets/create-doc-files.js:10
↓ 1 callersMethodgetTagSettings
* Gets tag settings * * @param {Element} tag * The player tag * * @return {Object} * An object containing all of the
src/js/player.js:5261
↓ 1 callersMethodhandleBlur
* Called when a `MenuItem` loses focus. * * @param {Event} event * The `blur` event that caused this function to be called. * *
src/js/menu/menu.js:158
↓ 1 callersMethodhandleClick
* Event handler that is called when a `ClickableComponent` receives a * `click` or `tap` event. * * @param {Event} event * The `tap
src/js/clickable-component.js:225
↓ 1 callersMethodhandleClick
* Listener for click events on slider, used to prevent clicks * from bubbling up to parent elements like button menus. * * @param {Object}
src/js/slider/slider.js:360
↓ 1 callersMethodhandleDurationchange
* handle a durationchange event on the player * and start/stop tracking accordingly.
src/js/live-tracker.js:108
↓ 1 callersMethodhandleEnded
* Add the vjs-ended class to the element so it can change appearance * * @param {Event} [event] * The event that caused this function
src/js/control-bar/play-toggle.js:130
↓ 1 callersMethodhandleFirstTimeupdate
* handle the first timeupdate on the player if it wasn't already playing * when live tracker started tracking.
src/js/live-tracker.js:159
↓ 1 callersMethodhandleFullscreenChange
* Handles fullscreenchange on the player and change control text accordingly. * * @param {Event} [event] * The {@link Player#fullscree
src/js/control-bar/fullscreen-toggle.js:55
↓ 1 callersMethodhandleHotkeys
* Called when this Player receives a hotkey keydown event. * Supported player-wide hotkeys are: * * f - toggle fullscreen * m
src/js/player.js:3385
↓ 1 callersMethodhandleKeyDown
* Event handler that is called when a `ClickableComponent` receives a * `keydown` event. * * By default, if the key is Space or Enter, it wil
src/js/clickable-component.js:242
↓ 1 callersMethodhandleKeyDown
* When this Component receives a `keydown` event which it does not process, * it passes the event to the Player for handling. * * @param {Ke
src/js/component.js:1358
↓ 1 callersMethodhandleKeyDown
* Called when this Player has focus and a key gets pressed down, or when * any Component of this player receives a key press that it doesn't handle
src/js/player.js:3323
↓ 1 callersMethodhandleKeyDown
* Handle tab, escape, down arrow, and up arrow keys for `MenuButton`. See * {@link ClickableComponent#handleKeyDown} for instances where this is ca
src/js/menu/menu-button.js:300
↓ 1 callersMethodhandleKeyDown
* Handle a `keydown` event on this menu. This listener is added in the constructor. * * @param {KeyboardEvent} event * A `keydown` eve
src/js/menu/menu.js:214
↓ 1 callersMethodhandleKeyDown
* Handle a `keydown` event on the `Slider`. Watches for left, right, up, and down * arrow keys. This function will only be called when the slider h
src/js/slider/slider.js:311
↓ 1 callersMethodhandleLanguagechange
* Handles language change for the player in components. Should be overridden by sub-components. * * @abstract
src/js/component.js:437
↓ 1 callersMethodhandleLateInit_
* This will be triggered if the loadstart event has already fired, before videojs was * ready. Two known examples of when this can happen are: *
src/js/tech/html5.js:448
↓ 1 callersMethodhandleMenuKeyUp
* Handle a `keyup` event on a `MenuButton`. The listener for this is added in * the constructor. * * @param {Event} event * Key pre
src/js/menu/menu-button.js:332
↓ 1 callersMethodhandleMouseDown
* Handle `mousedown` events on the `BigPlayButton`. * * @param {MouseEvent} event * `mousedown` or `touchstart` event that triggered t
src/js/big-play-button.js:100
↓ 1 callersMethodhandleMouseDown
* Handle `mousedown` or `touchstart` events on the `ProgressControl`. * * @param {Event} event * `mousedown` or `touchstart` event tha
src/js/control-bar/progress-control/progress-control.js:202
← previousnext →601–700 of 1,624, ranked by callers