Set intro skip time
curl --request POST \
--url https://api.videobase.com/v1/videos/skip-intro \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"id": "a1b2c3d4e5f6"
}
'const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: 'a1b2c3d4e5f6'})
};
fetch('https://api.videobase.com/v1/videos/skip-intro', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.videobase.com/v1/videos/skip-intro"
payload = { "id": "a1b2c3d4e5f6" }
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "a1b2c3d4e5f6",
"updated": true
}{
"message": "File not found",
"status": 500
}Videos
Set intro skip time
Sets the number of seconds the player should skip at the start of the video. Omit seconds or set it to 0 to disable intro skipping.
POST
/
v1
/
videos
/
skip-intro
Set intro skip time
curl --request POST \
--url https://api.videobase.com/v1/videos/skip-intro \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '
{
"id": "a1b2c3d4e5f6"
}
'const options = {
method: 'POST',
headers: {'X-Api-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: 'a1b2c3d4e5f6'})
};
fetch('https://api.videobase.com/v1/videos/skip-intro', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.videobase.com/v1/videos/skip-intro"
payload = { "id": "a1b2c3d4e5f6" }
headers = {
"X-Api-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "a1b2c3d4e5f6",
"updated": true
}{
"message": "File not found",
"status": 500
}Authorizations
ApiKeyHeaderApiKeyQuery
Recommended. Your 16-character Videobase API key.
Body
application/json