MCPcopy Create free account

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

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

↓ 2 callersFunctionparseHeaders
(res)
docs/legacy-docs/js/index.js:2691
↓ 2 callersFunctionparseOptionValue
* Get the actual value of an option. * * @param {string} value * The value to get * * @param {Function} [parser] * Optional fu
src/js/tracks/text-track-settings.js:187
↓ 2 callersFunctionpassFail
(assert, fn, descriptor, passes, failures)
test/unit/utils/obj.test.js:12
↓ 2 callersMethodpause
* Pauses the spatial navigation functionality. * This method sets a flag that can be used to temporarily disable the navigation logic.
src/js/spatial-navigation.js:182
↓ 2 callersMethodplaybackRateSupported
* Get whether playback rates is supported by the tech * and an array of playback rates exists * * @return {boolean} * Whether chan
src/js/control-bar/playback-rate-menu/playback-rate-menu-button.js:125
↓ 2 callersFunctionprefinish
(stream, state)
docs/legacy-docs/js/index.js:5550
↓ 2 callersMethodpreselectTrack
* Preselect a track following this precedence: * - matches the previously selected {@link TextTrack}'s language and kind * - matches the previousl
src/js/tracks/text-track-display.js:173
↓ 2 callersMethodpressButton
* Put the current `MenuButton` into a pressed state.
src/js/menu/menu-button.js:383
↓ 2 callersFunctionprocessLexeme
(buffer, lexeme)
docs/legacy-docs/js/index.js:7883
↓ 2 callersMethodproxyNativeTracksForType_
* Proxy native track list events for the given type to our track * lists if the browser we are playing in supports that type of track list. *
src/js/tech/html5.js:267
↓ 2 callersFunctionreStr
(re)
docs/legacy-docs/js/index.js:7664
↓ 2 callersFunctionreadableAddChunk
(stream, state, chunk, encoding, addToFront)
docs/legacy-docs/js/index.js:4084
↓ 2 callersMethodremoveChild
* Remove a child `Component` from this `Component`s list of children. Also removes * the child `Component`s element from this `Component`s element.
src/js/component.js:695
↓ 2 callersMethodremoveCurrentBreakpoint_
* Removes the current breakpoint. * * @private
src/js/player.js:4981
↓ 2 callersMethodremoveListenersAddedOnMousedownAndTouchstart
* Cleanup listeners after the user finishes interacting with the progress controls
src/js/control-bar/progress-control/progress-control.js:184
↓ 2 callersMethodremoveRemoteTextTrack
* Remove a remote text track from the remote `TextTrackList`. * * @param {TextTrack} track * `TextTrack` to remove from the `TextTrack
src/js/tech/tech.js:801
↓ 2 callersMethodremoveTechControlsListeners_
* Remove the listeners used for click and tap controls. This is needed for * toggling to controls disabled, where a tap/touch should do nothing.
src/js/player.js:1434
↓ 2 callersFunctionremoveType
(el, t)
src/js/utils/events.js:370
↓ 2 callersFunctionrender
(event)
docs/legacy-docs/js/index.js:7626
↓ 2 callersMethodrenderModalComponents
(player)
src/js/tracks/text-track-settings.js:296
↓ 2 callersMethodreportUserActivity
* Report user activity * * @param {Object} event * Event object
src/js/player.js:4310
↓ 2 callersMethodresetCache_
* Resets the internal cache object. * * Using this function outside the player constructor or reset method may * have unintended side-effects
src/js/player.js:2272
↓ 2 callersFunctionresetFormatTime
()
src/js/utils/time.js:213
↓ 2 callersMethodresetPlaybackRate_
* Reset Playback ratio
src/js/player.js:3860
↓ 2 callersMethodresetVolumeBar_
* Reset Volume bar
src/js/player.js:3868
↓ 2 callersMethodreset_
* Stop tracking, and set all internal variables to * their initial value.
src/js/live-tracker.js:188
↓ 2 callersMethodseekable
()
test/unit/tech/tech.test.js:556
↓ 2 callersMethodseeking
()
test/unit/tech/tech.test.js:559
↓ 2 callersFunctionselectStream
()
docs/legacy-docs/js/index.js:7589
↓ 2 callersMethodsetDefaults
* Sets all `<select>` elements to their default values.
src/js/tracks/text-track-settings.js:401
↓ 2 callersFunctionsetFormatTime
(customImplementation)
src/js/utils/time.js:206
↓ 2 callersMethodsetPlaysinline
* A method to set or unset the 'playsinline' <video> attribute. * * @abstract
src/js/tech/tech.js:916
↓ 2 callersMethodsetValues
* Sets text track settings from an object of values. * * @param {Object} values * An object with config values parsed from the DOM or
src/js/tracks/text-track-settings.js:392
↓ 2 callersFunctionsingleFinish
(playValue, assertName)
test/unit/play.test.js:34
↓ 2 callersFunctionstartNewMode
(mode, lexeme)
docs/legacy-docs/js/index.js:7864
↓ 2 callersMethodstartTracking
* start tracking live playback
src/js/live-tracker.js:130
↓ 2 callersMethodstartTracking
()
src/js/tracks/text-track.js:373
↓ 2 callersMethodstopTracking
()
src/js/tracks/text-track.js:380
↓ 2 callersFunctionstubbedSourceHandler
(handler)
test/unit/tech/tech.test.js:17
↓ 2 callersMethodsupportsFullScreen
* Check if current tech can support native fullscreen * (e.g. with built in controls like iOS) * * @return {boolean} * if native f
src/js/player.js:2920
↓ 2 callersMethodtoggleTracking
* start/stop tracking
src/js/live-tracker.js:115
↓ 2 callersMethodupdate
* An {@link EventTarget~EventListener} for {@link Player#posterchange} events. * * @listens Player#posterchange * * @param {Event} [event]
src/js/poster-image.js:103
↓ 2 callersMethodupdate
* Update the PlaybackRateMenuItem when the playbackrate changes. * * @param {Event} [event] * The `ratechange` event that caused this
src/js/control-bar/playback-rate-menu/playback-rate-menu-item.js:67
↓ 2 callersMethodupdate
* Updates the position of the tooltip relative to the `VolumeBar` and * its content text. * * @param {Object} rangeBarRect * The `C
src/js/control-bar/volume-control/volume-level-tooltip.js:61
↓ 2 callersMethodupdate
* Update the progress bar of the `Slider`. * * @return {number} * The percentage of progress the progress bar represents as a *
src/js/slider/slider.js:240
↓ 2 callersMethodupdateARIAAttributes
* Update ARIA accessibility attributes * * @param {Event} [event] * The `volumechange` event that caused this function to run. *
src/js/control-bar/volume-control/volume-bar.js:150
↓ 2 callersMethodupdateDisplay
* Update the displayed {@link TextTrack} when either a {@link Player#texttrackchange}, * a {@link Player#fullscreenchange}, a {@link Player#useract
src/js/tracks/text-track-display.js:276
↓ 2 callersMethodupdateDom_
* Updates the DOM based on the component's state object.
src/js/title-bar.js:49
↓ 2 callersMethodupdateLabel
* Update button label when rate changed * * @param {Event} [event] * The event that caused this function to run. * * @listens Pl
src/js/control-bar/playback-rate-menu/playback-rate-menu-button.js:157
↓ 2 callersMethodupdateLiveEdgeStatus
* Update the state of this button if we are at the live edge * or not
src/js/control-bar/seek-to-live.js:65
↓ 2 callersMethodupdateShowing
* Check the duration to see if the LiveDisplay should be showing or not. Then show/hide * it accordingly * * @param {Event} [event] *
src/js/control-bar/live-display.js:77
↓ 2 callersMethodupdateTime
* Updates the position of the time tooltip relative to the `SeekBar`. * * @param {Object} seekBarRect * The `ClientRect` for the {@lin
src/js/control-bar/progress-control/time-tooltip.js:147
↓ 2 callersMethodupdateVisibility
* Hide playback rate controls when they're no playback rate options to select * * @param {Event} [event] * The event that caused this
src/js/control-bar/playback-rate-menu/playback-rate-menu-button.js:141
↓ 2 callersMethoduserSeek_
* Prevent liveThreshold from causing seeks to seem like they * are not happening from a user perspective. * * @param {number} ct *
src/js/spatial-navigation.js:170
↓ 2 callersFunctionutf8Slice
(buf, start, end)
docs/legacy-docs/js/index.js:787
↓ 2 callersFunctionvalidateEventType
(type, obj, fnName)
src/js/mixins/evented.js:119
↓ 2 callersFunctionvalidateListener
(listener, obj, fnName)
src/js/mixins/evented.js:141
↓ 2 callersFunctionvalidateMenuEventListeners
* A reusable collection of assertions.
test/unit/menu.test.js:203
↓ 2 callersMethodversion
* Get the version of the plugin that was set on <pluginName>.VERSION
src/js/plugin.js:228
↓ 2 callersFunctionwriteDouble
(buf, value, offset, littleEndian, noAssert)
docs/legacy-docs/js/index.js:1399
↓ 2 callersFunctionwriteFloat
(buf, value, offset, littleEndian, noAssert)
docs/legacy-docs/js/index.js:1383
↓ 1 callersFunctionLogByTypeFactory
(name, log, styles)
src/js/utils/create-logger.js:23
↓ 1 callersFunction_interopRequireDefault
(obj)
docs/legacy-docs/js/home.js:4
↓ 1 callersMethodaddChild
* Add a child `Component` inside the current `Component`. * * @param {string|Component} child * The name or instance of a child to add
src/js/component.js:611
↓ 1 callersMethodaddEventListenerForItem
* Add event listeners to the {@link MenuItem}. * * @param {Object} component * The instance of the `MenuItem` to add listeners to.
src/js/menu/menu.js:52
↓ 1 callersFunctionaddEventedCallback
(target, callback)
src/js/mixins/evented.js:54
↓ 1 callersFunctionaddFooter
* add the page footer
docs/legacy-docs/js/guides.js:91
↓ 1 callersMethodaddWebVttScript_
* Emulate TextTracks using vtt.js if necessary * * @fires Tech#vttjsloaded * @fires Tech#vttjserror
src/js/tech/tech.js:602
↓ 1 callersFunctionafterTransform
(stream, er, data)
docs/legacy-docs/js/index.js:4973
↓ 1 callersMethodapplyInitTime_
* Apply the value of initTime stored in cache as currentTime. * * @private
src/js/player.js:2586
↓ 1 callersFunctionarrayToHash
(array)
docs/legacy-docs/js/index.js:7077
↓ 1 callersFunctionasciiSlice
(buf, start, end)
docs/legacy-docs/js/index.js:879
↓ 1 callersFunctionasciiToBytes
(str)
docs/legacy-docs/js/index.js:1695
↓ 1 callersFunctionassertEncoding
(encoding)
docs/legacy-docs/js/index.js:5931
↓ 1 callersFunctionbase64Slice
(buf, start, end)
docs/legacy-docs/js/index.js:779
↓ 1 callersFunctionbase64Write
(buf, string, offset, length)
docs/legacy-docs/js/index.js:696
↓ 1 callersFunctionbase64clean
(str)
docs/legacy-docs/js/index.js:1586
↓ 1 callersFunctionbasicToDigit
* Converts a basic code point into a digit/integer. * @see `digitToBasic()` * @private * @param {Nu
docs/legacy-docs/js/index.js:3198
↓ 1 callersFunctionbinarySlice
(buf, start, end)
docs/legacy-docs/js/index.js:888
↓ 1 callersFunctionbinaryWrite
(buf, string, offset, length)
docs/legacy-docs/js/index.js:692
↓ 1 callersFunctionblockLanguage
(block)
docs/legacy-docs/js/index.js:7522
↓ 1 callersMethodblur
* Remove the focus from this component
src/js/component.js:1347
↓ 1 callersMethodbufferedEnd
* Get the ending time of the last buffered time range * This is used in the progress bar to encapsulate all time ranges. * * @return {number}
src/js/player.js:2792
↓ 1 callersMethodbufferedPercent
* Get the percentage of the current video that is currently buffered. * * @return {number} * A number from 0 to 1 that represents the
src/js/tech/tech.js:295
↓ 1 callersMethodbuildCSSClass
* Builds the default DOM `className`. * * @return {string} * The DOM `className` for this object.
src/js/clickable-component.js:169
↓ 1 callersMethodbuildCSSClass
* Return CSS class including position classes * * @return {string} CSS class list
src/js/transient-button.js:66
↓ 1 callersMethodbuildCSSClass
* Builds the default DOM `className`. * * @return {string} * The DOM `className` for this object.
src/js/modal-dialog.js:123
↓ 1 callersMethodbuildCSSClass
* Builds the default DOM class name. Should be overridden by sub-components. * * @return {string} * The DOM class name for this objec
src/js/component.js:837
↓ 1 callersMethodbuildCSSClass
* Builds the default DOM `className`. * * @return {string} * The DOM `className` for this object.
src/js/control-bar/time-controls/duration-display.js:52
↓ 1 callersMethodbuildCSSClass
* Builds the default DOM `className`. * * @return {string} * The DOM `className` for this object.
src/js/control-bar/spacer-controls/spacer.js:20
↓ 1 callersMethodbuildCSSClass
* Builds the default DOM `className`. * * @return {string} * The DOM `className` for this object.
src/js/control-bar/spacer-controls/custom-control-spacer.js:20
↓ 1 callersFunctionbuildClassName
(prevClassName, currentLang, resultLang)
docs/legacy-docs/js/index.js:8044
↓ 1 callersFunctionbuildSideNav
()
docs/legacy-docs/js/guides.js:27
↓ 1 callersMethodbuildWrapperCSSClass
* Allow sub components to stack CSS class names for the wrapper element * * @return {string} * The constructed wrapper DOM `className
src/js/menu/menu-button.js:184
↓ 1 callersFunctionbyteLength
(string, encoding)
docs/legacy-docs/js/index.js:483
↓ 1 callersMethodcalculateDistance_
* Calculates the distance between two points, adjusting the calculation based on * the specified navigation direction. * * @param {Object} ce
src/js/spatial-navigation.js:597
↓ 1 callersMethodcanPlaySource
* Check if the tech can support the given source * * @param {Object} srcObj * The source object * @param {Object} options *
src/js/tech/tech.js:981
↓ 1 callersMethodcancelAnimationFrame
* Cancels a queued callback passed to {@link Component#requestAnimationFrame} * (rAF). * * If you queue an rAF callback via {@link Component#
src/js/component.js:1776
↓ 1 callersMethodcancelVideoFrameCallback
* A fallback implementation of cancelVideoFrameCallback * * @param {number} id id of callback to be cancelled
src/js/tech/tech.js:889
↓ 1 callersFunctioncheckMuteSupport
(self, player)
src/js/control-bar/volume-control/check-mute-support.js:16
← previousnext →501–600 of 1,624, ranked by callers