vot.js - v2.4.12
Preparing search index...
@vot.js/ext
VideoHelper
IgnHelper
IgnHelper
Class IgnHelper
Hierarchy (
View Summary
)
BaseHelper
IgnHelper
Index
Constructors
constructor
Properties
API_
ORIGIN
extra
Info
fetch
language
origin
referer
service?
video?
Methods
get
Video
Data
get
Video
Data
By
Next
get
Video
Data
By
Source
get
Video
Id
return
Base
Data
Constructors
constructor
new
IgnHelper
(
__namedParameters
?:
VOTTypes
.
BaseHelper
.
BaseHelperOpts
,
)
:
VideoHelper
.
IgnHelper
.
IgnHelper
Parameters
__namedParameters
:
VOTTypes
.
BaseHelper
.
BaseHelperOpts
= {}
Returns
VideoHelper
.
IgnHelper
.
IgnHelper
Properties
API_
ORIGIN
API_ORIGIN
:
string
= window.location.origin
extra
Info
extraInfo
:
boolean
fetch
fetch
:
FetchFunction
language
language
:
string
origin
origin
:
string
referer
referer
:
string
Optional
service
service
?:
VOTTypes
.
ServiceType
.
ServiceConf
<
VOTTypes
.
ServiceType
.
VideoService
>
Optional
video
video
?:
HTMLVideoElement
Methods
get
Video
Data
getVideoData
(
videoId
:
string
)
:
Promise
<
undefined
|
{
url
:
string
}
>
Parameters
videoId
:
string
Returns
Promise
<
undefined
|
{
url
:
string
}
>
get
Video
Data
By
Next
getVideoDataByNext
(
videoId
:
string
,
)
:
|
undefined
|
{
duration
:
undefined
;
host
:
VOTTypes
.
ServiceType
.
VideoService
;
url
:
string
;
videoId
:
string
;
}
|
{
description
:
string
;
duration
:
number
;
title
:
string
;
url
:
string
}
Parameters
videoId
:
string
Returns
|
undefined
|
{
duration
:
undefined
;
host
:
VOTTypes
.
ServiceType
.
VideoService
;
url
:
string
;
videoId
:
string
;
}
|
{
description
:
string
;
duration
:
number
;
title
:
string
;
url
:
string
}
get
Video
Data
By
Source
getVideoDataBySource
(
videoId
:
string
,
)
:
|
undefined
|
{
url
:
string
}
|
{
duration
:
undefined
;
host
:
VOTTypes
.
ServiceType
.
VideoService
;
url
:
string
;
videoId
:
string
;
}
Parameters
videoId
:
string
Returns
|
undefined
|
{
url
:
string
}
|
{
duration
:
undefined
;
host
:
VOTTypes
.
ServiceType
.
VideoService
;
url
:
string
;
videoId
:
string
;
}
get
Video
Id
getVideoId
(
url
:
URL
)
:
Promise
<
undefined
|
string
>
Parameters
url
:
URL
Returns
Promise
<
undefined
|
string
>
return
Base
Data
returnBaseData
(
videoId
:
string
,
)
:
|
undefined
|
{
duration
:
undefined
;
host
:
VOTTypes
.
ServiceType
.
VideoService
;
url
:
string
;
videoId
:
string
;
}
Parameters
videoId
:
string
Returns
|
undefined
|
{
duration
:
undefined
;
host
:
VOTTypes
.
ServiceType
.
VideoService
;
url
:
string
;
videoId
:
string
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
API_
ORIGIN
extra
Info
fetch
language
origin
referer
service
video
Methods
get
Video
Data
get
Video
Data
By
Next
get
Video
Data
By
Source
get
Video
Id
return
Base
Data
vot.js - v2.4.12
Loading...