vot.js - v2.4.12
Preparing search index...
@vot.js/node
VideoHelper
IgnHelper
IgnHelper
Class IgnHelper
Hierarchy (
View Summary
)
BaseHelper
IgnHelper
Index
Constructors
constructor
Properties
API_
ORIGIN
extra
Info
fetch
language
origin
referer
service?
Methods
get
Video
Data
get
Video
Data
By
Icms
get
Video
Data
By
Next
get
Video
Data
By
Script
Data
get
Video
Id
return
Base
Data
Constructors
constructor
new
IgnHelper
(
__namedParameters
?:
BaseHelperOpts
<
VOTTypes
.
ServiceType
.
ServiceConf
>
,
)
:
VideoHelper
.
IgnHelper
.
IgnHelper
Parameters
__namedParameters
:
BaseHelperOpts
<
VOTTypes
.
ServiceType
.
ServiceConf
>
= {}
Returns
VideoHelper
.
IgnHelper
.
IgnHelper
Properties
API_
ORIGIN
API_ORIGIN
:
string
= "https://example.com"
extra
Info
extraInfo
:
boolean
fetch
fetch
:
FetchFunction
language
language
:
string
origin
origin
:
string
referer
referer
:
string
Optional
service
service
?:
VOTTypes
.
ServiceType
.
ServiceConf
Methods
get
Video
Data
getVideoData
(
videoId
:
string
,
)
:
Promise
<
|
undefined
|
{
isStream
:
boolean
;
title
:
string
;
url
:
string
}
|
{
description
:
string
;
title
:
string
;
url
:
string
}
|
{
duration
:
undefined
;
host
:
VideoService
;
url
:
string
;
videoId
:
string
}
,
>
Parameters
videoId
:
string
Returns
Promise
<
|
undefined
|
{
isStream
:
boolean
;
title
:
string
;
url
:
string
}
|
{
description
:
string
;
title
:
string
;
url
:
string
}
|
{
duration
:
undefined
;
host
:
VideoService
;
url
:
string
;
videoId
:
string
}
,
>
get
Video
Data
By
Icms
getVideoDataByIcms
(
doc
:
Dom
)
:
{
isStream
:
boolean
;
title
:
string
;
url
:
string
}
Parameters
doc
:
Dom
Returns
{
isStream
:
boolean
;
title
:
string
;
url
:
string
}
get
Video
Data
By
Next
getVideoDataByNext
(
doc
:
Dom
,
)
:
{
description
:
string
;
duration
:
number
;
title
:
string
;
url
:
string
}
Parameters
doc
:
Dom
Returns
{
description
:
string
;
duration
:
number
;
title
:
string
;
url
:
string
}
get
Video
Data
By
Script
Data
getVideoDataByScriptData
(
doc
:
Dom
,
)
:
{
description
:
string
;
title
:
string
;
url
:
string
}
Parameters
doc
:
Dom
Returns
{
description
:
string
;
title
:
string
;
url
:
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
:
VideoService
;
url
:
string
;
videoId
:
string
}
Parameters
videoId
:
string
Returns
|
undefined
|
{
duration
:
undefined
;
host
:
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
Methods
get
Video
Data
get
Video
Data
By
Icms
get
Video
Data
By
Next
get
Video
Data
By
Script
Data
get
Video
Id
return
Base
Data
vot.js - v2.4.12
Loading...