# Skip Intro Button
ByteArk Player can show a Skip Intro button that lets viewers skip the intro and jump to the main content. Enable it by setting skipIntroButton in options.
# Skip Intro Button display

# Options
| Name | Type | Required | Description |
|---|---|---|---|
| skipIntroButton | Object | No | Skip Intro button configuration |
| skipIntroButton.startAt | Number | Yes | Time (seconds) when the button appears |
| skipIntroButton.endAt | Number | Yes | Time (seconds) when the button disappears |
| skipIntroButton.skipTo | Number | Yes | Time (seconds) to jump to when clicked |
# Example
<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div id="video-player"></div>
<script src="https://byteark-sdk.cdn.byteark.com/player/v2/byteark-player.min.js"></script>
<script>
var player = bytearkPlayer('video-player', {
fluid: true,
skipIntroButton: {
startAt: 10,
endAt: 30,
skipTo: 60,
},
sources: [{
title: 'Big Buck Bunny',
src: 'https://byteark-playertzxedwv.stream-playlist.byteark.com/streams/TZyZheqEJUwC/playlist.m3u8',
type: 'application/x-mpegURL'
}]
});
</script>
</body>
</html>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25