---
title: TargetVideo AMP implementation
description: The TargetVideo AMP component enables publishers to embed fast-loading, AMP-compliant video players in AMP HTML pages and WordPress sites.
---

[Skip to content](https://helpdesk.target-video.com/hc/en-us/articles/208121795-targetvideo-amp-embed-code#main-content)

[More support](https://helpdesk.target-video.com/kb-tickets/new?hsLang=en)

[![TargetVideo Logo](https://helpdesk.target-video.com/hs-fs/hubfs/targetvideo_logo_standalone_dark-3.png?width=300&height=49&name=targetvideo_logo_standalone_dark-3.png)](https://target-video.com/)

Open main navigation

Close main navigation

- [More support](https://helpdesk.target-video.com/kb-tickets/new)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [TargetVideo Knowledge Base](https://helpdesk.target-video.com/?hsLang=en)
2. [Content Management](https://helpdesk.target-video.com/content-management?hsLang=en)
3. [Embedding](https://helpdesk.target-video.com/content-management?hsLang=en#embedding)

# TargetVideo AMP implementation

## The TargetVideo AMP component enables publishers to embed fast-loading, AMP-compliant video players in AMP HTML pages and WordPress sites.

#### **What is AMP?**

Google’s Accelerated Mobile Pages (AMP) is a new specification for publishers to serve consumers fast loading pages on the mobile web by controlling the way page elements load. AMP accelerates page load by only executing portions of the page when they come into view or are clicked by the user.

#### **TargetVideo AMP Component**

To ensure TargetVideo Players load quickly under the new Google AMP spec, we've created a TargetVideo Player component for AMP HTML.

TargetVideo’s AMP component is a different player embed code that we’re offering for use in AMP HTML pages, should customers wish to support the initiative. We made the AMP HTML component available to ensure that the player is compatible with the AMP specification and that any page where it is featured will be understood by Google as being AMP-compliant.

AMP HTML includes an `amp-target-video-player` component which allows publishers to embed TargetVideo Players within AMP HTML documents.

#### **Setup**

First, add this script tag to the head of the AMP HTML document.

```
<script src="https://cdn.ampproject.org/v0/amp-target-video-player-0.1.js" async type="text/javascript"></script>
```

#### **Basic Usage**

Then add the `amp-target-video-player` element to the page.

 

A responsive TargetVideo video will render in your AMP HTML page.

```
 <amp-target-video-player data-partner="PARTNER_ID" data-player="PLAYER_ID" data-video="VIDEO_ID" layout="responsive" width="480" height="270"> </amp-target-video-player>
```

 

#### **How to integrate with WordPress?**

As WordPress currently does not have support for AMP pages out of the box, AMP page implementation is done via a plugin. The TargetVideo WordPress plugin is made to work with the following plugins:

- Automattic's AMP plugin - [https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/)
- Amp for WP - [https://wordpress.org/plugins/accelerated-mobile-pages/](https://wordpress.org/plugins/accelerated-mobile-pages/)

TargetVideo player shortcode will automatically detect if the AMP plugin is present and enabled and behave appropriately when an AMP post gets called, TargetVideo's player shortcode implementation will automatically render the appropriate TargetVideo AMP component inside the AMP post.

To implement TargetVideo AMP players for WordPress just upgrade to the latest [TargetVideo WordPress Plugin](https://wordpress.org/plugins/brid-video-easy-publish/) and you are good to go!

#### **Advertising**

Advertising including pre-rolls, mid-rolls and post-rolls work in players used in AMP.

- [Video Player](https://helpdesk.target-video.com/video-player?hsLang=en#main-content)

    - [Player Templates](https://helpdesk.target-video.com/video-player?hsLang=en#player-templates)
    - [General Settings](https://helpdesk.target-video.com/video-player?hsLang=en#general-settings)
    - [Amplify Engagement](https://helpdesk.target-video.com/video-player?hsLang=en#amplify-engagement)
    - [Sticky Player](https://helpdesk.target-video.com/video-player?hsLang=en#sticky-player)
    - [Looks and Skins](https://helpdesk.target-video.com/video-player?hsLang=en#looks-and-skins)
    - [Frame](https://helpdesk.target-video.com/video-player?hsLang=en#frame)
    - [Share Options](https://helpdesk.target-video.com/video-player?hsLang=en#share-options)
    - [Ads](https://helpdesk.target-video.com/video-player?hsLang=en#ads)
    - [Plugins](https://helpdesk.target-video.com/video-player?hsLang=en#plugins)
    - [Event Callbacks](https://helpdesk.target-video.com/video-player?hsLang=en#event-callbacks)
    - [Advanced Player Configuration](https://helpdesk.target-video.com/video-player?hsLang=en#advanced-player-configuration)
- [Outstream Ad Units](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#main-content)

    - [Ad Unit Templates](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#ad-unit-templates)
    - [In-content Ad Unit General Settings](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#in-content-ad-unit-general-settings)
    - [In-content Ad Unit Sticky Feature](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#in-content-ad-unit-sticky-feature)
    - [In-content Ad Unit - Ads](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#in-content-ad-unit-ads)
    - [In-slide Ad Unit General Settings](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#in-slide-ad-unit-general-settings)
    - [In-slide Ad Unit - Ads](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#in-slide-ad-unit-ads)
    - [Event callbacks](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#event-callbacks)
    - [Plugins](https://helpdesk.target-video.com/outstream-ad-units?hsLang=en#plugins)
- [Monetization](https://helpdesk.target-video.com/monetization?hsLang=en#main-content)

    - [Ad Sources](https://helpdesk.target-video.com/monetization?hsLang=en#ad-sources)
    - [Ad Schedules](https://helpdesk.target-video.com/monetization?hsLang=en#ad-schedules)
- [Content Management](https://helpdesk.target-video.com/content-management?hsLang=en#main-content)

    - [Video Management](https://helpdesk.target-video.com/content-management?hsLang=en#video-management)
    - [Video Import](https://helpdesk.target-video.com/content-management?hsLang=en#video-import)
    - [Playlists Management](https://helpdesk.target-video.com/content-management?hsLang=en#playlists-management)
    - [Embedding](https://helpdesk.target-video.com/content-management?hsLang=en#embedding)
    - [Livestream](https://helpdesk.target-video.com/content-management?hsLang=en#livestream)
    - [OTT Application](https://helpdesk.target-video.com/content-management?hsLang=en#ott-application)
    - [Syndication](https://helpdesk.target-video.com/content-management?hsLang=en#syndication)
    - [Digital Rights Management](https://helpdesk.target-video.com/content-management?hsLang=en#digital-rights-management)
    - [Content Units](https://helpdesk.target-video.com/content-management?hsLang=en#content-units)
    - [Content Matching](https://helpdesk.target-video.com/content-management?hsLang=en#content-matching)
- [General](https://helpdesk.target-video.com/general?hsLang=en#main-content)

    - [Site Administration](https://helpdesk.target-video.com/general?hsLang=en#site-administration)
    - [User Administration](https://helpdesk.target-video.com/general?hsLang=en#user-administration)
    - [Announcements](https://helpdesk.target-video.com/general?hsLang=en#announcements)
    - [FAQs](https://helpdesk.target-video.com/general?hsLang=en#faqs)
- [Billing](https://helpdesk.target-video.com/billing?hsLang=en#main-content)

    - [Payment](https://helpdesk.target-video.com/billing?hsLang=en#payment)
    - [Bandwidth](https://helpdesk.target-video.com/billing?hsLang=en#bandwidth)
- [Advertising, Reports & Analytics](https://helpdesk.target-video.com/advertising-reports-analytics?hsLang=en#main-content)

    - [Ads Playback & Troubleshooting](https://helpdesk.target-video.com/advertising-reports-analytics?hsLang=en#ads-playback-troubleshooting)
    - [Reports & Analytics](https://helpdesk.target-video.com/advertising-reports-analytics?hsLang=en#reports-analytics)
    - [Pre Bidding](https://helpdesk.target-video.com/advertising-reports-analytics?hsLang=en#pre-bidding)
    - [Contextual Ads Targeting](https://helpdesk.target-video.com/advertising-reports-analytics?hsLang=en#contextual-ads-targeting)
    - [Premium Demand Program](https://helpdesk.target-video.com/advertising-reports-analytics?hsLang=en#premium-demand-program)
- [Platform Updates](https://helpdesk.target-video.com/platform-updates?hsLang=en#main-content)

    - [TargetVideo Platform Release 8.0](https://helpdesk.target-video.com/platform-updates?hsLang=en#targetvideo-platform-release-8-0)
- [TargetVideo WP Plugin](https://helpdesk.target-video.com/targetvideo-wp-plugin?hsLang=en)
- [FAQs](https://helpdesk.target-video.com/faqs?hsLang=en)

[![TargetVideo Logo](https://helpdesk.target-video.com/hs-fs/hubfs/targetvideo_logo_standalone_dark-3.png?width=300&height=49&name=targetvideo_logo_standalone_dark-3.png "TargetVideo Logo")](https://target-video.com)

Koppstrasse 16, 81379, Munich, Germany

<https://www.linkedin.com/company/targetvideo-gmbh/> <https://www.instagram.com/wearetargetvideo> <https://www.facebook.com/bridtv/> <https://www.twitter.com/bridtv>

Copyright © 2025, TargetVideo GmbH