---
title: "Hugo Video Shortcode for Kinescope | Kinescope"
description: "Embed Kinescope videos and playlists in Hugo sites and docs with a kinescope shortcode: responsive, lazy-loaded, with start time and fragment options."
url: https://kinescope.com/integrations/hugo
---

# Kinescope for Hugo

A kinescope shortcode puts the Kinescope player into Hugo sites and documentation. One line in your Markdown renders a responsive, lazy-loaded player for a video or a whole playlist.

[Start for free](https://app.kinescope.io/user/create?lang=en)[Shortcode docs](https://docs.kinescope.com/integrations/integration-with-hugo/)

## They left Vimeo, Kaltura and Mux

Every number is what they saved against the platform they left.

-    [![EBAC](https://kinescope.com/images/cases/ebac.svg)16 TB moved off Kaltura in about two weeks With Kinescope we get a convenient API, a human touch, stable performance, and fair prices. We worked out the cost up front, and on our volumes it came out about 8× cheaper than Kaltura Denis Korovkin, LMS team lead](https://kinescope.com/blog/kinescope-x-ebac)
-    [![Conted Tech](https://kinescope.com/images/cases/conted-tech.webp)−75% off the video hosting bill after Vimeo](https://kinescope.com/blog/kinescope-x-conted-tech)
-    [![Proz Educação](https://kinescope.com/images/cases/proz.webp)5× lower video costs than on Vimeo](https://kinescope.com/blog/kinescope-x-proz)
-    [![JoJoschool](https://kinescope.com/images/cases/jojoschool.svg)€10,000+ a year saved against Vimeo’s quote Vimeo suddenly told us we had to pay 20× more. With Kinescope we save at least €10,000 a year — and get more stability for free… Mathijs de Ruiter, Co-founder](https://kinescope.com/blog/kinescope-x-jojoschool)
-    [![Ada](https://kinescope.com/images/cases/ada.svg)−60% off the video hosting bill after Mux Kinescope’s affordable, scalable, and accessible video solution has been a game-changer, empowering us to deliver world-class education… Eriky Kunitake, Head of Business & Operations](https://kinescope.com/blog/kinescope-x-ada)
-    [![Stairway Foundation](https://kinescope.com/images/cases/stairway.webp)9M+ children reached by the films …reinvest our resources into other matters, like the direct work with children in our shelter… Ysrael C. Diloy, Child Protection Specialist](https://kinescope.com/blog/kinescope-x-stairway)

[All customer stories](https://kinescope.com/blog?tag=Cases)

## Add the shortcode to your Hugo site

Copy the shortcode template from the docs once, then use it in any Markdown page.

Set it up once

1\. Create layouts/shortcodes/kinescope.html in your project, or in themes/your-theme/layouts/shortcodes/.
2\. Copy the shortcode template from the Kinescope docs into it.

Use it in Markdown

1\. Put the shortcode where the video should go, with the video URL or ID.
2\. Build the site: the shortcode renders an iframe that adapts to the container width and loads lazily.

![Code editor: New file in layouts/shortcodes creates kinescope.html, the shortcode template is pasted, Saved](https://kinescope.com/images/integrations/cards/tab-hugo-setup.svg)

![Kinescope catalog Cohort 12: the menu of the video Lesson 4 · Functions opens, Copy link is pressed, Link copied](https://kinescope.com/images/integrations/cards/tab-copylink.svg)

Set it up once

1\. Create layouts/shortcodes/kinescope.html in your project, or in themes/your-theme/layouts/shortcodes/.
2\. Copy the shortcode template from the Kinescope docs into it.

![Code editor: New file in layouts/shortcodes creates kinescope.html, the shortcode template is pasted, Saved](https://kinescope.com/images/integrations/cards/tab-hugo-setup.svg)

Use it in Markdown

1\. Put the shortcode where the video should go, with the video URL or ID.
2\. Build the site: the shortcode renders an iframe that adapts to the container width and loads lazily.

![Kinescope catalog Cohort 12: the menu of the video Lesson 4 · Functions opens, Copy link is pressed, Link copied](https://kinescope.com/images/integrations/cards/tab-copylink.svg)

## What your Hugo pages get

### Start time and fragments

seek sets the start time in seconds and duration the length of the fragment, right in the shortcode.

![Kinescope player: the fragment from 1:00 to 1:30 is marked on the timeline, the lesson plays from 1:00 and stops at 1:30](https://kinescope.com/images/integrations/cards/params-v.svg)

### Videos and playlists

Pass a video URL or ID, or a playlist URL (/pl/…) or type="pl" with the playlist ID.

![Kinescope player playlist Python basics: Lesson 2 · Variables is pressed and opens in the Kinescope player, where a teacher starts talking](https://kinescope.com/images/integrations/cards/playlist-v.svg)

### Analytics for every video

Views, retention and engagement for each video embedded in your docs. More on [video analytics](https://kinescope.com/products/video-analytics).

![Kinescope analytics: Views, Unique viewers and Average percentage viewed count up, the retention curve draws from left to right](https://kinescope.com/images/integrations/cards/stats-v.svg)

## Add your first video to Hugo for free

Upload a video to Kinescope and drop the shortcode into a Markdown page. No credit card required.

[Start for free](https://app.kinescope.io/user/create?lang=en)[Shortcode docs](https://docs.kinescope.com/integrations/integration-with-hugo/)

## FAQ

Can’t find the answer you need? Check out our [Shortcode template](https://docs.kinescope.com/integrations/integration-with-hugo/).

In layouts/shortcodes/kinescope.html in the project root, or in themes/your-theme/layouts/shortcodes/kinescope.html. The template is in the Kinescope docs.

Yes: pass a playlist URL (https://kinescope.io/pl/…) or type="pl" with the playlist ID.

Yes, with width and height. Without them the player adapts to the container width at 16:9, and ratio sets another aspect ratio.

Yes: seek sets the start time in seconds and duration the length of the fragment, for example seek="60" duration="30".

## Put video into your Hugo docs in one line.

Free to start, then from €10/month. No credit card required.

[Start for free](https://app.kinescope.io/user/create?lang=en)[All integrations](https://kinescope.com/integrations)
