MCPcopy Create free account

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

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

↓ 4 callersMethodupdateTextNode_
* Updates the time display text node with a new time * * @param {number} [time=0] the time to update to * * @private
src/js/control-bar/time-controls/time-display.js:97
↓ 4 callersFunctionurlParse
(url, parseQueryString, slashesDenoteHost)
docs/legacy-docs/js/index.js:6218
↓ 4 callersFunctionutf8ToBytes
(string, units)
docs/legacy-docs/js/index.js:1611
↓ 4 callersFunctionvalidateTarget
(target, obj, fnName)
src/js/mixins/evented.js:97
↓ 4 callersMethodvertical
* Get/set if slider is horizontal for vertical * * @param {boolean} [bool] * - true if slider is vertical, * - false is hori
src/js/slider/slider.js:376
↓ 4 callersMethodvideoHeight
* Get video height * * @return {number} * current video height
src/js/player.js:4829
↓ 3 callersFunction_handleMultipleEvents
* Loops through an array of event types and calls the requested method for each type. * * @param {Function} fn * The event method we want to
src/js/utils/events.js:73
↓ 3 callersFunction_interopRequireDefault
(obj)
docs/legacy-docs/js/index.js:31
↓ 3 callersFunctionaddHeaderContent
* add the class header content
docs/legacy-docs/api/js/doc-script.js:184
↓ 3 callersFunctionaddIndex
* add the side nav
docs/legacy-docs/api/js/doc-script.js:299
↓ 3 callersFunctionbind_
(context, fn, uid)
src/js/utils/fn.js:30
↓ 3 callersMethodcalculateDistance
* Calculate distance for slider * * @param {Event} event * The event that caused this function to run. * * @return {number} *
src/js/slider/slider.js:292
↓ 3 callersMethodcheckMuted
* If the player is muted unmute it.
src/js/control-bar/volume-control/volume-bar.js:107
↓ 3 callersMethodclearTracks
* Clear out a single `TrackList` or an array of `TrackLists` given their names. * * > Note: Techs without source handlers should call this betwe
src/js/tech/tech.js:403
↓ 3 callersMethodcontrolText
* Get or set the localize text to use for the controls on the `ClickableComponent`. * * @param {string} [text] * Control text for elem
src/js/clickable-component.js:147
↓ 3 callersMethodcreateEl
* Create the `TextTrackFieldset`'s DOM element * * @return {Element} * The DOM element that gets created.
src/js/tracks/text-track-fieldset.js:120
↓ 3 callersFunctioncreateTimeRangesObj
* Create a time range object given ranges of time. * * @private * @param {Array} [ranges] * An array of time ranges. * * @return {Ti
src/js/utils/time.js:99
↓ 3 callersMethodcrossOrigin
* Get or set the `Player`'s crossOrigin option. For the HTML5 player, this * sets the `crossOrigin` property on the `<video>` tag to control the CO
src/js/player.js:893
↓ 3 callersMethoddefaultPlaybackRate
(value)
test/unit/tech/tech-faker.js:61
↓ 3 callersMethoddisableInterval_
(e)
src/js/control-bar/progress-control/seek-bar.js:120
↓ 3 callersFunctiondisableOthers
(list, track)
src/js/tracks/audio-track-list.js:20
↓ 3 callersFunctiondisableOthers
(list, track)
src/js/tracks/video-track-list.js:19
↓ 3 callersMethoddisablePictureInPicture
* Get or set disable Picture-in-Picture mode. * * @param {boolean} [value] * - true will disable Picture-in-Picture mode
src/js/player.js:3183
↓ 3 callersMethoddispose
()
src/js/modal-dialog.js:109
↓ 3 callersFunctiondoWrite
(stream, state, writev, len, chunk, encoding, cb)
docs/legacy-docs/js/index.js:5374
↓ 3 callersMethodemitTapEvents
* Emit a 'tap' events when touch event support gets detected. This gets used to * support toggling the controls through a tap on the video. They ge
src/js/component.js:1397
↓ 3 callersFunctionendReadable
(stream)
docs/legacy-docs/js/index.js:4836
↓ 3 callersMethodfillWith
* Fill the modal's content element with arbitrary content. * The content element will be emptied before this change takes place. * * @fires M
src/js/modal-dialog.js:337
↓ 3 callersMethodfindSuitableDOMChild
* Finds a suitable child element within the provided component's DOM element. * * @param {Object} component - The component containing the DOM e
src/js/spatial-navigation.js:360
↓ 3 callersFunctionflow
(stream)
docs/legacy-docs/js/index.js:4690
↓ 3 callersMethodfocus
* Set the focus to the actual button, not to this element
src/js/menu/menu-button.js:280
↓ 3 callersMethodfocusableEls_
* get all focusable elements * * @private
src/js/modal-dialog.js:520
↓ 3 callersMethodfoo
()
test/api/api.js:285
↓ 3 callersFunctionformatError
(value)
docs/legacy-docs/js/index.js:7220
↓ 3 callersFunctionformatProperty
(ctx, value, recurseTimes, visibleKeys, key, array)
docs/legacy-docs/js/index.js:7245
↓ 3 callersFunctionformatValue
(ctx, value, recurseTimes)
docs/legacy-docs/js/index.js:7088
↓ 3 callersFunctiongetExpectedBreakpoints
(o)
test/unit/player-breakpoints.test.js:5
↓ 3 callersFunctiongetPlugin
(name)
src/js/plugin.js:58
↓ 3 callersMethodhandleAction
* Toggles the playback state of the player * This gets called when enter or space is used on the seekbar * * @param {KeyboardEvent} event
src/js/control-bar/progress-control/seek-bar.js:500
↓ 3 callersMethodhandleKeyPress
* Handles `keyup` event on the document or `keydown` event on the `VolumePanel`, * looking for ESC, which hides the `VolumeControl`. * * @par
src/js/control-bar/volume-panel.js:186
↓ 3 callersMethodhandleMouseMove
(e)
src/js/player.js:4389
↓ 3 callersMethodhandleTechDurationChange_
* Fired when the duration of the media resource is first known or changed * * @listens Tech#durationchange * @private
src/js/player.js:1966
↓ 3 callersMethodhandleTechRateChange_
* Retrigger the `ratechange` event that was triggered by the {@link Tech}. * * If there were any events queued while the playback rate was zero,
src/js/player.js:1778
↓ 3 callersFunctionhasOwnProperty
(obj, prop)
docs/legacy-docs/js/index.js:3585
↓ 3 callersFunctionhighlight
(name, value, ignore_illegals, continuation)
docs/legacy-docs/js/index.js:7774
↓ 3 callersMethodisDisposed
* Determine whether or not this component has been disposed. * * @return {boolean} * If the component has been disposed, will be `tru
src/js/component.js:299
↓ 3 callersFunctionisError
(e)
docs/legacy-docs/js/index.js:5672
↓ 3 callersFunctionisRegExp
(re)
docs/legacy-docs/js/index.js:5657
↓ 3 callersFunctionisValidEventType
(type)
src/js/mixins/evented.js:75
↓ 3 callersMethodload
* Begin loading the src data.
src/js/player.js:3757
↓ 3 callersFunctionmiddlewareIterator
(method)
src/js/tech/middleware.js:218
↓ 3 callersFunctionmwFactory
()
test/unit/tech/middleware.test.js:17
↓ 3 callersMethodnextSeekedFromUser
* The next seeked event is from the user. Meaning that any seek * > 2s behind live will be considered behind live for real and * liveTolerance w
src/js/live-tracker.js:212
↓ 3 callersFunctionnormalizeListenArgs
(self, args, fnName)
src/js/mixins/evented.js:165
↓ 3 callersMethodonKeyDown_
* Responds to keydown events for spatial navigation and media control. * * Determines if spatial navigation or media control is active and handl
src/js/spatial-navigation.js:101
↓ 3 callersMethodoverrideNativeAudioTracks
* Attempt to force override of native audio tracks. * * @param {boolean} override - If set to true native audio will be overridden, * otherwi
src/js/tech/tech.js:926
↓ 3 callersMethodoverrideNativeVideoTracks
* Attempt to force override of native video tracks. * * @param {boolean} override - If set to true native video will be overridden, * otherwi
src/js/tech/tech.js:936
↓ 3 callersFunctionpad
(n)
docs/legacy-docs/js/index.js:7413
↓ 3 callersFunctionpercentify
(time, end)
src/js/control-bar/progress-control/load-progress-bar.js:12
↓ 3 callersMethodplaybackRates
* Get possible playback rates * * @return {Array} * All possible playback rates
src/js/control-bar/playback-rate-menu/playback-rate-menu-button.js:112
↓ 3 callersMethodplayed
* Get a TimeRange object representing the current ranges of time that the user * has played. * * @return {TimeRange} * A time rang
src/js/player.js:2510
↓ 3 callersFunctionprocessBuffer
()
docs/legacy-docs/js/index.js:7860
↓ 3 callersMethodrefocusComponent
* Focus the last focused component saved before blur on player.
src/js/spatial-navigation.js:547
↓ 3 callersMethodremoveTrackElement_
* Remove a {@link HtmlTrackElement} from the `HtmlTrackElementList` * * @param {HtmlTrackElement} trackElement * The track element to
src/js/tracks/html-track-element-list.js:95
↓ 3 callersMethodrequestAnimationFrame
* Queues up a callback to be passed to requestAnimationFrame (rAF), but * with a few extra bonuses: * * - Supports browsers that do not suppo
src/js/component.js:1694
↓ 3 callersMethodseekable
* Get the TimeRanges of the media that are currently available * for seeking to. * * @see [Seekable Spec]{@link https://html.spec.whatwg.org/
src/js/player.js:2696
↓ 3 callersMethodsetCurrentTime
(value)
test/unit/tech/tech-faker.js:82
↓ 3 callersMethodsetPlaybackRate
(value)
test/unit/tech/tech-faker.js:68
↓ 3 callersMethodsetPoster
(val)
test/unit/tech/tech-faker.js:38
↓ 3 callersFunctionsourcesetLoad
(tech)
src/js/tech/setup-sourceset.js:21
↓ 3 callersMethodsrc
* Get or set the video source. * * @param {Tech~SourceObject|Tech~SourceObject[]|string} [source] * A SourceObject, an array of Source
src/js/player.js:3663
↓ 3 callersMethodstop
* Stops the spatial navigation by removing the keydown event listener from the video container. * Also sets the `isListening_` flag to false.
src/js/spatial-navigation.js:89
↓ 3 callersMethodstopTracking
* stop tracking live playback
src/js/live-tracker.js:219
↓ 3 callersMethodstopTrackingCurrentTime
* Stop the interval function created in {@link Tech#trackCurrentTime} so that the * `timeupdate` event is no longer triggered. * * @listens {
src/js/tech/tech.js:362
↓ 3 callersMethodstopTrackingProgress
* Turn off the polyfill for `progress` events that was created in * {@link Tech#manualProgressOn} * Stop manually tracking progress events by cl
src/js/tech/tech.js:305
↓ 3 callersFunctiontag
(node)
docs/legacy-docs/js/index.js:7509
↓ 3 callersFunctiontestRe
(re, lexeme)
docs/legacy-docs/js/index.js:7513
↓ 3 callersFunctionthrottle
(fn, wait)
src/js/utils/fn.js:63
↓ 3 callersMethodtrackLive_
* all the functionality for tracking when seek end changes * and for tracking how far past seek end we should be
src/js/live-tracker.js:65
↓ 3 callersMethodunloadTech_
* Unload and dispose of the current playback {@link Tech}. * * @private
src/js/player.js:1325
↓ 3 callersFunctionunpipe
()
docs/legacy-docs/js/index.js:4528
↓ 3 callersMethodupdateCurrentBreakpoint_
* Change breakpoint classes when the player resizes. * * @private
src/js/player.js:4945
↓ 3 callersMethodupdateForTrack
* Add an {@link TextTrack} to to the {@link Tech}s {@link TextTrackList}. * * @param {TextTrack|TextTrack[]} tracks * Text track objec
src/js/tracks/text-track-display.js:488
↓ 2 callersFunction_cleanUpEvents
* Clean up the listener cache and dispatchers * * @param {Element|Object} elem * Element to clean up * * @param {string} type * Ty
src/js/utils/events.js:25
↓ 2 callersFunctionadapt
* Bias adaptation function as per section 3.4 of RFC 3492. * http://tools.ietf.org/html/rfc3492#section-3.4 * @priva
docs/legacy-docs/js/index.js:3233
↓ 2 callersFunctionaddEventListener
()
test/unit/tracks/track-list.test.js:8
↓ 2 callersFunctionaddMembersContent
* add the member content
docs/legacy-docs/api/js/doc-script.js:424
↓ 2 callersMethodaddRemoteTextTrack
* Creates a remote text track object and returns an html track element. * * > Note: This can be an emulated {@link HTMLTrackElement} or a native
src/js/tech/tech.js:776
↓ 2 callersMethodaddTechControlsListeners_
* Set up click and touch listeners for the playback element * * - On desktops: a click on the video itself will toggle playback * - On mobile
src/js/player.js:1409
↓ 2 callersFunctionafterWrite
(stream, state, finished, cb)
docs/legacy-docs/js/index.js:5438
↓ 2 callersFunctionappendContent
(el, content)
src/js/utils/dom.js:719
↓ 2 callersFunctionappendWrapper
(appendFn)
src/js/tech/setup-sourceset.js:167
↓ 2 callersFunctionarrayIndexOf
(arr, val, byteOffset)
docs/legacy-docs/js/index.js:626
↓ 2 callersFunctionasciiWrite
(buf, string, offset, length)
docs/legacy-docs/js/index.js:688
↓ 2 callersMethodaspectRatio
* A getter/setter for the `Player`'s aspect ratio. * * @param {string} [ratio] * The value to set the `Player`'s aspect ratio to. *
src/js/player.js:1067
↓ 2 callersFunctionautoSetupTimeout
* Wait until the page is loaded before running autoSetup. This will be called in * autoSetup if `hasLoaded` returns false. * * @param {number} wait
src/js/setup.js:72
↓ 2 callersFunctionbase64ToBytes
(str)
docs/legacy-docs/js/index.js:1720
↓ 2 callersMethodbindFunctionsToSelectsAndButtons
()
src/js/tracks/text-track-settings.js:334
↓ 2 callersMethodbuffered
* Get a TimeRange object with an array of the times of the video * that have been downloaded. If you just want the percent of the * video that's
src/js/player.js:2677
↓ 2 callersMethodbuffered
* Get and create a `TimeRange` object for buffering. * * @return {TimeRange} * The time range object that was created.
src/js/tech/tech.js:283
← previousnext →301–400 of 1,624, ranked by callers