Skip to content

Commit f47ce19

Browse files
committed
Reset to main
1 parent e5c77f8 commit f47ce19

File tree

1 file changed

+8
-8
lines changed
  • src/connections/sources/catalog/libraries/website/plugins/youtube

1 file changed

+8
-8
lines changed

src/connections/sources/catalog/libraries/website/plugins/youtube/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: analytics.js YouTube Plugin
33
hidden: true
44
---
55

6-
With the analytics.js YouTube Plugin, you can collect YouTube player events into the Segment ecosystem.
6+
With the analytics.js YouTube Plugin you can collect YouTube player events into the Segment ecosystem.
77

88
The Segment YouTube Plugin uses the following Google APIs:
99
- [YouTube IFrame player API](https://developers.google.com/youtube/iframe_api_reference#Getting_Started){:target="_blank”}: Controls the video (play, pause, stop).
@@ -16,15 +16,15 @@ To begin, create a new project in the Google Developer Console, then create a ne
1616
> warning "Secure your API keys"
1717
> You can [secure your API keys](https://cloud.google.com/docs/authentication/api-keys#securing){:target="_blank”} by adding API key restrictions, deleting unused API keys, and periodically rotating your keys.
1818
19-
## Getting started
19+
## Getting Started
2020

2121
After you've generated the API key:
2222

2323
1. Enable a new plugin.
2424

2525
- Navigate to **Connections > Sources** and choose the source you want to connect the YouTube plugin to. Go to the **Settings** tab of your source and select **Plugins**. You can enable the YouTube plugin from this menu:
2626

27-
![Screenshot of the plugins setting screen](./images/youtube-vimeo-plugins-beta-2021-06-04.png)
27+
![the plugins setting screen](./images/youtube-vimeo-plugins-beta-2021-06-04.png)
2828

2929
**Note:** Only JavaScript sources support plugins.
3030

@@ -48,7 +48,7 @@ var player;
4848

4949
The plugin listens to the YouTube player for events, and fires the corresponding [Segment Video Spec](/docs/connections/spec/video/) events on analytics.js.
5050

51-
## Supported events
51+
## Supported Events
5252
The plugin tracks the following [Segment Video Spec](/docs/connections/spec/video/) events:
5353

5454
Event | Details
@@ -60,17 +60,17 @@ Video Playback Buffer Started/Completed | When playback starts and finishes buff
6060
Video Playback Seek Started/Completed | When a user manually seeks a certain position of the content or ad in the playback.
6161
Video Content Started/Completed | When a video content segment starts and completes playing within a playback. <br><br>- If playing a playlist, these events get fired for each individual video.
6262

63-
## Supported properties
64-
The plugin automatically attaches the following [Segment Video Spec](/docs/connections/spec/video/) to [supported events](#supported-events):
63+
## Supported Properties
64+
The plugin automatically attaches the following [Segment Video Spec](/docs/connections/spec/video/) to the above events:
6565

66-
**'Playback' events**
66+
**'Playback' Events**
6767
- Total Length
6868
- Position
6969
- Quality
7070
- Video Player
7171
- Sound
7272

73-
**'Content' events**
73+
**'Content' Events**
7474
- Title
7575
- Description
7676
- Keywords

0 commit comments

Comments
 (0)