amp-kaltura-player

Edit on Github
Open in Playground

Introduction

Embed Kaltura videos in your AMP HTML files.

Setup

Import the amp-kaltura-player component in the header.

<script async custom-element="amp-kaltura-player" src="https://cdn.ampproject.org/v0/amp-kaltura-player-0.1.js"></script>

Basic Usage

Embed videos hosted on Kaltura via the data-uiconf, data-partner, and data-entryid attributes. We recommend using the responsive layout for videos. The data-param-* attributes will be added as key/value pairs to the query string in the video player's embed iframe, and can be used to pass ad parameters to Kaltura's video player, for example.

Example

<amp-kaltura-player data-uiconf="33502051"
  data-partner="1281471"
  data-entryid="1_3ts1ms9c"
  data-param-streamerType="auto"
  layout="responsive"
  width="720"
  height="480"></amp-kaltura-player>