MCPcopy Create free account

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

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

↓ 2 callersFunctionbufferedPercent
(buffered, duration)
src/js/utils/buffer.js:21
↓ 2 callersMethodcanPlaySource
(srcObj)
test/unit/tech/tech-faker.js:177
↓ 2 callersFunctioncanPlayType
()
test/unit/tech/tech.test.js:19
↓ 2 callersFunctioncheckIEEE754
(buf, value, offset, ext, max, min)
docs/legacy-docs/js/index.js:1374
↓ 2 callersFunctionclassHasMembers
(member)
docs/legacy-docs/api/js/doc-script.js:319
↓ 2 callersFunctionclassHasMembers
(member)
docs/legacy-docs/api/js/api-docs.js:353
↓ 2 callersFunctioncleanup
()
docs/legacy-docs/js/index.js:4461
↓ 2 callersFunctionclearBuffer
(stream, state)
docs/legacy-docs/js/index.js:5458
↓ 2 callersFunctionclearObj
(obj)
test/unit/videojs-hooks.test.js:7
↓ 2 callersFunctioncontainsRulesFromStyle
(el)
test/unit/utils/dom.test.js:808
↓ 2 callersMethodcreateControlTextEl
* Create a control text element on this `ClickableComponent` * * @param {Element} [el] * Parent element for the control text. *
src/js/clickable-component.js:118
↓ 2 callersMethodcreateEl
* Create the `ModalDialog`'s DOM element * * @return {Element} * The DOM element that gets created.
src/js/modal-dialog.js:96
↓ 2 callersMethodcreateEl
* Create the `Component`s DOM element. * * @param {string} [tagName] * Element's DOM node type. e.g. 'div' * * @param {Object} [
src/js/component.js:358
↓ 2 callersMethodcreateEl
* Create the `PosterImage`s DOM element. * * @return {Element} * The element that gets created.
src/js/poster-image.js:50
↓ 2 callersMethodcreateEl
* Create the `Player`'s DOM element. * * @return {Element} * The DOM element that gets created.
src/js/player.js:710
↓ 2 callersFunctioncreateMemberItem
(classData, member)
docs/legacy-docs/api/js/doc-script.js:462
↓ 2 callersFunctioncreateMemberItem
(classData, member)
docs/legacy-docs/api/js/api-docs.js:496
↓ 2 callersMethodcreateModal
* Creates a simple modal dialog (an instance of the {@link ModalDialog} * component) that immediately overlays the player with arbitrary * conte
src/js/player.js:4925
↓ 2 callersFunctioncreateNativeMediaError
(code, message)
test/unit/media-error.test.js:14
↓ 2 callersFunctioncreatePluginFactory
(name, PluginSubClass)
src/js/plugin.js:154
↓ 2 callersFunctioncreateQuerier
* Creates functions to query the DOM using a given method. * * @private * @param {string} method * The method to create the query with.
src/js/utils/dom.js:103
↓ 2 callersMethodcurrentDimensions
* Get an object that contains computed width and height values of the * component's element. * * Uses `window.getComputedStyle`. * * @r
src/js/component.js:1263
↓ 2 callersMethoddefaultPlaybackRate
* Gets or sets the current default playback rate. A default playback rate of * 1.0 represents normal speed and 0.5 would indicate half-speed playba
src/js/player.js:4535
↓ 2 callersFunctiondefineLazyProperty
(obj, key, getValue, setter = true)
src/js/utils/obj.js:180
↓ 2 callersMethoddescription
* Returns the description string for this modal. Primarily used for * accessibility. * * @return {string} * The localized or raw d
src/js/modal-dialog.js:144
↓ 2 callersFunctiondigitToBasic
* Converts a digit/integer into a basic code point. * @see `basicToDigit()` * @private * @param {Nu
docs/legacy-docs/js/index.js:3222
↓ 2 callersMethoddimension
* Get or set width or height of the `Component` element. This is the shared code * for the {@link Component#width} and {@link Component#height}.
src/js/component.js:1154
↓ 2 callersMethoddoReset_
()
src/js/player.js:3784
↓ 2 callersFunctionemitReadable_
(stream)
docs/legacy-docs/js/index.js:4368
↓ 2 callersMethodempty
* Empties the content element. This happens anytime the modal is filled. * * @fires ModalDialog#beforemodalempty * @fires ModalDialog#modalem
src/js/modal-dialog.js:393
↓ 2 callersMethodemulateTextTracks
* Emulate texttracks *
src/js/tech/tech.js:661
↓ 2 callersMethodenable
()
src/js/control-bar/progress-control/seek-bar.js:387
↓ 2 callersMethodenableInterval_
()
src/js/control-bar/progress-control/seek-bar.js:112
↓ 2 callersMethodenablePosterModeUI_
()
src/js/player.js:4665
↓ 2 callersMethodenabled
* Are controls are currently enabled for this progress control. * * @return {boolean} * true if controls are enabled, false otherwise
src/js/control-bar/progress-control/progress-control.js:129
↓ 2 callersMethodenabled
* Are controls are currently enabled for this slider or not. * * @return {boolean} * true if controls are enabled, false otherwise
src/js/slider/slider.js:53
↓ 2 callersMethodenterFullWindow
* When fullscreen isn't supported we can stretch the * video container to as wide as the browser will let us. * * @fires Player#enterFullWind
src/js/player.js:3109
↓ 2 callersMethodexitFullWindow
* Exit full window * * @fires Player#exitFullWindow
src/js/player.js:3156
↓ 2 callersMethodfakeSourceset
()
test/unit/tech/tech-faker.js:103
↓ 2 callersMethodfill
* Fill the modal's content element with the modal's "content" option. * The content element will be emptied before this change takes place.
src/js/modal-dialog.js:323
↓ 2 callersFunctionfindPosition
(el)
src/js/utils/dom.js:504
↓ 2 callersFunctionfinishMaybe
(stream, state)
docs/legacy-docs/js/index.js:5557
↓ 2 callersFunctionfirstSourceWatch
(tech)
src/js/tech/setup-sourceset.js:157
↓ 2 callersFunctionfixEvent
(event)
src/js/utils/events.js:89
↓ 2 callersFunctionfixSource
* Checks src mimetype, adding it when possible * * @param {Tech~SourceObject} src * The src object to check * @return {Tech~SourceObject}
src/js/utils/filter-source.js:58
↓ 2 callersFunctionflatten
(className, str)
docs/legacy-docs/js/index.js:7684
↓ 2 callersFunctionforEach
(xs, f)
docs/legacy-docs/js/index.js:3842
↓ 2 callersFunctionfromTypedArray
(that, array)
docs/legacy-docs/js/index.js:317
↓ 2 callersFunctiongetCSSPositionValue
* Converts the CSS top/right/bottom/left property numeric value to string in pixels. * * @param {number} position * The CSS top/right/bottom
src/js/tracks/text-track-display.js:94
↓ 2 callersMethodgetChildById
* Returns the child `Component` with the given `id`. * * @param {string} id * The id of the child `Component` to get. * * @retur
src/js/component.js:490
↓ 2 callersMethodgetCurrentTime_
* Get the value of current time but allows for smooth scrubbing, * when player can't keep up. * * @return {number} * The current t
src/js/control-bar/progress-control/seek-bar.js:232
↓ 2 callersFunctiongetDescriptor
(priority, prop)
src/js/tech/setup-sourceset.js:115
↓ 2 callersMethodgetEventHash
* Each event triggered by plugins includes a hash of additional data with * conventional properties. * * This returns that object or mutates
src/js/plugin.js:244
↓ 2 callersFunctiongetItemLabels
()
test/unit/control-bar/playback-rate-menu/playback-rate-menu-button.test.js:56
↓ 2 callersMethodgetPluginVersion
* Gets a plugin's version, if available * * @param {string} name * The name of a plugin. * * @return {string} *
src/js/plugin.js:431
↓ 2 callersMethodgetSkipBackwardTime
()
src/js/control-bar/skip-buttons/skip-backward.js:28
↓ 2 callersMethodgetSkipForwardTime
()
src/js/control-bar/skip-buttons/skip-forward.js:28
↓ 2 callersMethodhandleKeyDown
* Keydown handler. Attached when modal is focused. * * @listens keydown
src/js/modal-dialog.js:469
↓ 2 callersMethodhandleMouseDown
()
src/js/player.js:4399
↓ 2 callersMethodhandleMouseDown
* Handle `mousedown` or `touchstart` events on the `VolumeControl`. * * @param {Event} event * `mousedown` or `touchstart` event that
src/js/control-bar/volume-control/volume-control.js:94
↓ 2 callersMethodhandleMouseLeave
* Handle `mouseleave` for `MenuButton`. * * @param {Event} event * The `mouseleave` event that caused this function to be called. *
src/js/menu/menu-button.js:272
↓ 2 callersMethodhandleMouseMove
* Handle the `mousemove`, `touchmove`, and `mousedown` events on this `Slider`. * The `mousemove` and `touchmove` events will only only trigger thi
src/js/slider/slider.js:199
↓ 2 callersMethodhandleMouseOver
* This gets called when a `VolumePanel` gains hover via a `mouseover` event. * Turns on listening for `mouseover` event. When they happen it * c
src/js/control-bar/volume-panel.js:157
↓ 2 callersMethodhandleMouseUp
* Handle `mouseup` or `touchend` events on the `Slider`. * * @param {MouseEvent} event * `mouseup` or `touchend` event that triggered
src/js/slider/slider.js:211
↓ 2 callersMethodhandlePause
* Add the vjs-paused class to the element so it can change appearance. * * @param {Event} [event] * The event that caused this functio
src/js/control-bar/play-toggle.js:114
↓ 2 callersMethodhandlePendingSeek_
* Handles pending seek time when `disableSeekWhileScrubbingOnSTV` is enabled. * * @param {number} stepAmount - The number of seconds to step (po
src/js/control-bar/progress-control/seek-bar.js:455
↓ 2 callersMethodhandlePictureInPictureEnabledChange
* Enables or disables button based on availability of a Picture-In-Picture mode. * * Enabled if * - `player.options().enableDocumentPictureIn
src/js/control-bar/picture-in-picture-toggle.js:85
↓ 2 callersMethodhandlePlay
* Add the vjs-playing class to the element so it can change appearance. * * @param {Event} [event] * The event that caused this functi
src/js/control-bar/play-toggle.js:98
↓ 2 callersMethodhandleSrc_
* Executes source setting and getting logic * * @param {Tech~SourceObject|Tech~SourceObject[]|string} [source] * A SourceObject, an ar
src/js/player.js:3554
↓ 2 callersMethodhandleSubmenuKeyDown
* Handle a `keydown` event on a sub-menu. The listener for this is added in * the constructor. * * @param {Event} event * Key press
src/js/menu/menu-button.js:360
↓ 2 callersMethodhandleTechPosterChange_
* Some techs (e.g. YouTube) can provide a poster source in an * asynchronous way. We want the poster component to use this * poster source so th
src/js/player.js:4096
↓ 2 callersFunctionhighlightAuto
(text, languageSubset)
docs/legacy-docs/js/index.js:7997
↓ 2 callersFunctionhowMuchToRead
(n, state)
docs/legacy-docs/js/index.js:4171
↓ 2 callersFunctionindexOf
(xs, x)
docs/legacy-docs/js/index.js:2649
↓ 2 callersFunctioninherit
(parent, obj)
docs/legacy-docs/js/index.js:7542
↓ 2 callersMethodinitChildren
* Add and initialize default child `Component`s based upon options.
src/js/component.js:734
↓ 2 callersFunctioninspect
(obj, opts)
docs/legacy-docs/js/index.js:6995
↓ 2 callersFunctionisBoolean
(arg)
docs/legacy-docs/js/index.js:5622
↓ 2 callersFunctionisDate
(d)
docs/legacy-docs/js/index.js:5667
↓ 2 callersFunctionisDefined
* tests for all the ways a variable might be undefined or not have a value * @param {*} x the variable to test * @return {Boolean} true if v
docs/legacy-docs/js/guides.js:20
↓ 2 callersFunctionisEl
(value)
src/js/utils/dom.js:71
↓ 2 callersFunctionisNonBlankString
* Detect if a value is a string with any non-whitespace characters. * * @private * @param {string} str * The string to check * * @retur
src/js/utils/dom.js:24
↓ 2 callersFunctionisNotHighlighted
(language)
docs/legacy-docs/js/index.js:7518
↓ 2 callersFunctionisNumber
(arg)
docs/legacy-docs/js/index.js:2272
↓ 2 callersFunctionkMaxLength
()
docs/legacy-docs/js/index.js:215
↓ 2 callersFunctionkeys
(object)
src/js/utils/obj.js:45
↓ 2 callersMethodlabel
* Returns the label string for this modal. Primarily used for accessibility. * * @return {string} * the localized or raw label of thi
src/js/modal-dialog.js:133
↓ 2 callersMethodlistenForUserActivity_
* Listen for user activity based on timeout value * * @private
src/js/player.js:4383
↓ 2 callersFunctionloadTrack
(src, track)
src/js/tracks/text-track.js:76
↓ 2 callersMethodmanualAutoplay_
* Handle autoplay string values, rather than the typical boolean * values that should be handled by the tech. Note that this is not * part of an
src/js/player.js:1508
↓ 2 callersFunctionmapDomain
* A simple `Array#map`-like wrapper to work with domain name strings or email * addresses. * @private
docs/legacy-docs/js/index.js:3112
↓ 2 callersFunctionmarkPluginAsActive
(player, name)
src/js/plugin.js:72
↓ 2 callersFunctionneedFinish
(stream, state)
docs/legacy-docs/js/index.js:5543
↓ 2 callersFunctionnewGUID
()
src/js/utils/guid.js:27
↓ 2 callersFunctionnodeStream
(node)
docs/legacy-docs/js/index.js:7554
↓ 2 callersFunctionnormalizeId
(id)
src/js/video.js:60
↓ 2 callersFunctionoff
(elem, type, fn)
src/js/utils/events.js:352
↓ 2 callersFunctionon
(elem, type, fn)
src/js/utils/events.js:266
↓ 2 callersMethodoverrideNative_
* Attempt to force override of tracks for the given type * * @param {string} type - Track type to override, possible values include 'Audio',
src/js/tech/html5.js:218
↓ 2 callersFunctionparseCues
(srcContent, track)
src/js/tracks/text-track.js:28
← previousnext →401–500 of 1,624, ranked by callers