Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.35 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.35 KB

Youtube element

This KC custom element allows you to add various types of youtube video url, it extracts and stores the video id for your apps and shows the video.

screenshot

Setup

  1. Deploy the code to a secure public host
  2. Follow the instructions in the Kentico Kontent documentation to add the element to a content model.
    • The Hosted code URL is where you deployed to in step 1
    • Pass the necessary parameters as directed in the JSON Parameters configuration section of this readme.

Deploying

Netlify has made this easy. If you click the deploy button below, it will guide you through the process of deploying it to Netlify and leave you with a copy of the repository in your GitHub account as well.

Deploy to Netlify

Configuration

You can specify the Parameters {JSON} part of the configuration to configure the default state or a lable. Possible configurations:

{
    "width": 800,
    "height": 600
}