Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/18148764734/YunKePlayer
/ functions
Functions
379 in github.com/18148764734/YunKePlayer
⨍
Functions
379
◇
Types & classes
117
↓ 65 callers
Function
$
( desc?: string, props?: DOMProps, children?: string | Array<Node> )
src/utils/domUtils.ts:64
↓ 61 callers
Method
emit
(event: string, ...args: any[])
src/class/BaseEvent.ts:10
↓ 56 callers
Method
on
(event: string, cb: Function)
src/class/BaseEvent.ts:19
↓ 50 callers
Function
addClass
(dom: Element, classNames: Array<string>)
src/utils/domUtils.ts:119
↓ 50 callers
Function
createSvg
(d?: string, viewBox = '0 0 24 24')
src/utils/domUtils.ts:178
↓ 31 callers
Method
forEach
(cb: (value: T, index: number) => void)
src/danmaku/utils/PriorityQueue.ts:55
↓ 21 callers
Method
get
(url: string, options: AxiosOptions)
src/utils/net.ts:16
↓ 19 callers
Function
storeControlComponent
(item: ComponentItem)
src/utils/store.ts:26
↓ 14 callers
Function
removeClass
(dom: Element, classNames: Array<string>)
src/utils/domUtils.ts:128
↓ 12 callers
Method
push
(data: T)
src/danmaku/utils/PriorityQueue.ts:31
↓ 9 callers
Function
includeClass
(dom: Element, className: string)
src/utils/domUtils.ts:137
↓ 9 callers
Method
start
()
src/mp4/index.d.ts:106
↓ 9 callers
Method
stop
()
src/mp4/index.d.ts:107
↓ 7 callers
Function
computeAngle
(dx: number, dy: number)
src/utils/math.ts:12
↓ 7 callers
Method
initBaseSubsettingsItem
()
src/component/ToolBar/BottomBar/parts/Subsettings/parts/SubsettingsBase.ts:24
↓ 6 callers
Method
error
(e)
src/mp4/net/DownLoader.ts:142
↓ 6 callers
Function
getDOMPoint
(dom: HTMLElement)
src/utils/domUtils.ts:11
↓ 6 callers
Method
pause
()
src/danmaku/Danmaku.ts:67
↓ 5 callers
Method
dispose
()
src/component/Toast/Toast.ts:44
↓ 5 callers
Function
formatTime
(seconds: number)
src/utils/math.ts:4
↓ 5 callers
Method
pop
()
test/Heap.js:47
↓ 4 callers
Method
add
(value)
test/Heap.js:37
↓ 4 callers
Method
adjustRem
(width: number = 600)
src/page/player.ts:484
↓ 4 callers
Method
appendBuffer
添加缓冲段,并返回下一次开始时间是什么时候
src/mp4/index.d.ts:92
↓ 4 callers
Method
flush
()
src/mp4/index.d.ts:108
↓ 4 callers
Method
mountComponent
( id: string, component: ComponentItem, options?: RegisterComponentOptions )
src/page/player.ts:519
↓ 4 callers
Method
parent
* @description 返回索引为index的元素的父节点 * @param {number} index * @returns {number}
test/Heap.js:18
↓ 4 callers
Method
registerSubsettingsItem
(item: SubsettingsItem)
src/component/ToolBar/BottomBar/parts/Subsettings/parts/SubsettingsBase.ts:40
↓ 4 callers
Method
render
()
src/danmaku/Danmaku.ts:143
↓ 4 callers
Method
setChunkStart
(_start: number)
src/mp4/net/DownLoader.ts:72
↓ 4 callers
Method
setInterval
(_timeout: number)
src/mp4/net/DownLoader.ts:78
↓ 4 callers
Method
unmountComponent
(id: string)
src/page/player.ts:623
↓ 3 callers
Function
createSvgs
(d: string[], viewBox = '0 0 24 24')
src/utils/domUtils.ts:194
↓ 3 callers
Function
getExtension
(url: string)
src/utils/getExtension.ts:6
↓ 3 callers
Method
isStopped
()
src/mp4/net/DownLoader.ts:92
↓ 3 callers
Method
left
(index)
test/Heap.js:22
↓ 3 callers
Method
registerContextMenu
( content: string | HTMLElement, click?: (item: ContextMenuItem, e?: Event) => any )
src/component/ContextMenu/ContextMenu.ts:52
↓ 3 callers
Function
regxMatch
(str: string)
test/domUtils.spec.ts:3
↓ 3 callers
Method
resume
()
src/mp4/net/DownLoader.ts:47
↓ 3 callers
Method
setChunkSize
(_size: number)
src/mp4/net/DownLoader.ts:67
↓ 3 callers
Method
setPaused
(val: boolean)
src/danmaku/Danmaku.ts:399
↓ 3 callers
Method
splice
(index: number, number: number)
src/danmaku/utils/PriorityQueue.ts:41
↓ 3 callers
Method
stop
(recorder: MediaRecorder)
src/component/ToolBar/BottomBar/parts/VideoShot.ts:137
↓ 3 callers
Method
swap
(a,b)
test/Heap.js:30
↓ 2 callers
Method
add
(data: T)
src/danmaku/utils/PriorityQueue.ts:19
↓ 2 callers
Method
addData
(data: any)
src/danmaku/Danmaku.ts:108
↓ 2 callers
Method
addLoading
()
src/component/Loading/Loading.ts:46
↓ 2 callers
Function
addZero
(num: number)
src/utils/math.ts:1
↓ 2 callers
Method
adjustMediaSize
()
src/page/player.ts:495
↓ 2 callers
Method
adjustSubtitleStyle
(subtitle: Subtitles)
src/component/Subtitle/Subtitle.ts:74
↓ 2 callers
Method
createSuccessToast
()
src/component/ToolBar/BottomBar/parts/VideoShot.ts:159
↓ 2 callers
Method
hideToolBar
()
src/component/ToolBar/ToolBar.ts:68
↓ 2 callers
Method
hideToolBar
()
src/component/TopBar/TopBar.ts:105
↓ 2 callers
Function
isNative
(Ctor: any)
src/utils/nextTick.ts:1
↓ 2 callers
Method
load
(config: XHRConfig)
src/mp4/net/XHRLoader.ts:8
↓ 2 callers
Method
onSeeked
(e: Event)
src/danmaku/DanmakuController.ts:255
↓ 2 callers
Method
open
()
src/danmaku/Danmaku.ts:337
↓ 2 callers
Method
registerSubsettingsBase
( baseCons: SubsettingsBaseConstructor | SubsettingsBase )
src/component/ToolBar/BottomBar/parts/Subsettings/SubSetting.ts:95
↓ 2 callers
Method
removeDataFromTrack
(data: DanmakuData)
src/danmaku/Danmaku.ts:258
↓ 2 callers
Method
removeLoading
()
src/component/Loading/Loading.ts:52
↓ 2 callers
Method
replaceIcon
(icon: Element)
src/component/ToolBar/BottomBar/parts/Options.ts:104
↓ 2 callers
Method
resume
()
src/danmaku/Danmaku.ts:75
↓ 2 callers
Method
right
(index)
test/Heap.js:26
↓ 2 callers
Method
seek
(time: number, b: boolean)
src/mp4/index.d.ts:109
↓ 2 callers
Method
setCallback
设置请求成功拿到数据时的回调函数
src/mp4/net/DownLoader.ts:83
↓ 2 callers
Method
setDanmakuFail
()
src/danmaku/DanmakuController.ts:129
↓ 2 callers
Method
setDanmakuSuccess
()
src/danmaku/DanmakuController.ts:144
↓ 2 callers
Method
setUrl
(_url: string)
src/mp4/net/DownLoader.ts:57
↓ 2 callers
Method
shift
()
src/danmaku/utils/PriorityQueue.ts:37
↓ 2 callers
Method
use
* @description 注册对应的组件 * @param plugin
src/page/player.ts:685
↓ 1 callers
Method
addBuffer
根据传入的媒体轨道的类型构建对应的SourceBuffer, 编码方式和对应的解码规范是一一对应的,尽管可能不是使用相同的字符串来表示它们
src/mp4/MediaPlayer.ts:115
↓ 1 callers
Method
addDataToTrack
(data: DanmakuData)
src/danmaku/Danmaku.ts:220
↓ 1 callers
Method
attachSource
(url: string)
src/page/player.ts:391
↓ 1 callers
Method
captureStream
(fps?: number)
src/class/HTMLMediaElementWithCaputreStream.ts:11
↓ 1 callers
Method
checkFullScreenMode
()
src/page/player.ts:515
↓ 1 callers
Function
checkIsMouseInRange
( parent: HTMLElement, topChild: HTMLElement, bottom: number, pageX: number, pageY: number
src/utils/domUtils.ts:24
↓ 1 callers
Method
clear
()
src/danmaku/utils/PriorityQueue.ts:47
↓ 1 callers
Method
close
()
src/danmaku/Danmaku.ts:324
↓ 1 callers
Function
compareVersion
(newV, oldV)
script/compare.mjs:4
↓ 1 callers
Method
createInProgressToast
()
src/component/ToolBar/BottomBar/parts/VideoShot.ts:147
↓ 1 callers
Function
deploy
()
script/deploy.mjs:78
↓ 1 callers
Function
enterFull
(el: FullHTMLElement)
src/utils/full.ts:9
↓ 1 callers
Function
exitFull
()
src/utils/full.ts:23
↓ 1 callers
Method
getFile
* @description 发送网络请求,请求对应的媒体文件 * @returns
src/mp4/net/DownLoader.ts:123
↓ 1 callers
Method
getVideoInfo
()
src/page/player.ts:673
↓ 1 callers
Function
gitAdd
()
script/deploy.mjs:10
↓ 1 callers
Function
gitCommit
()
script/deploy.mjs:23
↓ 1 callers
Function
gitPush
()
script/deploy.mjs:50
↓ 1 callers
Method
hideComponent
(id: string)
src/page/player.ts:596
↓ 1 callers
Method
init
()
src/page/player.ts:87
↓ 1 callers
Method
init
()
src/component/Mobile/MobileVolume.ts:32
↓ 1 callers
Method
init
()
src/component/Toast/Toast.ts:20
↓ 1 callers
Method
init
()
src/component/ToolBar/ToolBar.ts:31
↓ 1 callers
Method
init
()
src/component/ToolBar/BottomBar/Controller.ts:37
↓ 1 callers
Method
init
()
src/component/ToolBar/BottomBar/parts/ScreenShot.ts:31
↓ 1 callers
Method
init
()
src/component/ToolBar/BottomBar/parts/DurationShow.ts:28
↓ 1 callers
Method
init
()
src/component/ToolBar/BottomBar/parts/PicInPic.ts:22
↓ 1 callers
Method
init
()
src/component/ToolBar/BottomBar/parts/PlayButton.ts:30
↓ 1 callers
Method
init
()
src/component/ToolBar/BottomBar/parts/FullPage.ts:24
↓ 1 callers
Method
init
()
src/component/ToolBar/BottomBar/parts/Volume.ts:28
next →
1–100 of 379, ranked by callers