---
title: Skinning Lectora’s New HTML5-based Media Player
description: Wendy Miller explains how to skin the new HTML5-based media player in Lectora 16.1 and also how to retrofit your old Flash-based media player skins
image: https://blog.elblearning.com/hubfs/Imported_Blog_Media/blog_wendyhtml5media.png
---

[![ELB-Learning_Logo_ColorRGB-white-text-1](https://blog.elblearning.com/hubfs/ELB-Learning_Logo_ColorRGB-white-text-1.png) ](https://elblearning.com/)

![Skinning Lectora’s New HTML5-based Media Player](https://blog.elblearning.com/hubfs/Imported_Blog_Media/blog_wendyhtml5media.png)

# Skinning Lectora’s New HTML5-based Media Player

 by [Wendy Miller](https://blog.elblearning.com/author/lectorawendy) | May 5, 2016

[![Skinning Lectora’s New HTML5-based Media Player](https://blog.elblearning.com/hs-fs/hubfs/Imported_Blog_Media/blog_wendyhtml5media.png?width=640&height=193&name=blog_wendyhtml5media.png)](https://blog.elblearning.com/hubfs/Imported_Blog_Media/blog_wendyhtml5media.png)

Something many of our users have been asking for in recent months is the ability to run video and audio media via HTML5 rather than with a Flash-based media player, as well as the ability to use Closed Captioning with media on mobile devices. Our developers listened and have made this wish come true with the release of Lectora® 16.1. The new HTML5 media player is also coming to Lectora Online very soon!

The new player is based on the open-source MediaElement.js architecture. For you coders out there, you can find more information and resources at [http://mediaelementjs.com/](http://mediaelementjs.com/) or the MediaElement Github at [https://github.com/johndyer/mediaelement](https://github.com/johndyer/mediaelement).

For those of you who have taken the time in the past to create your own media player skins, you will need to adapt to a new way of developing them. The new skins consist of a sprite sheet (a collection of skin elements all contained within a single .png image file) and a .css (Cascading Style Sheet) file.

**Example of a Sprite Sheet for the Greentea Skin**

[![example of a sprite sheet](https://blog.elblearning.com/hs-fs/hubfs/Imported_Blog_Media/greentea.png?width=120&height=150&name=greentea.png)](https://blog.elblearning.com/hubfs/Imported_Blog_Media/greentea.png)

But first, let me say that if you’ve developed skins for the old Flash-based media player, they will no longer work in Lectora 16.1. However, you should not have to start over from scratch to rebuild them. You can take the individual skin elements from the old style skins and turn them into a sprite sheet. Then, follow the rest of the instructions here for developing a CSS skin file.

You can turn your skin elements into a sprite sheet either in an image editing application, or you can use one of the free online sprite sheet, plus CSS, generators. Here are a few that seem to work well.

[http://zerosprites.com/](http://zerosprites.com/) (This one is my favorite because it also creates a table of the sprite data.)

[http://spritegen.website-performance.org/](http://spritegen.website-performance.org/)

[http://css.spritegen.com/](http://css.spritegen.com/)

In addition to creating a sprite sheet, these generators will also produce a CSS file from which you can acquire the X,Y coordinates and width and height of the elements within the sprite sheet. (This CSS file is NOT your skin CSS file. It just contains information about the sprite sheet itself.) You will need this data to specify the individual elements of your sprite sheet within the skin CSS file.

If you are creating your own sprite sheet in an image editing application, then I highly recommend that you determine the X,Y coordinates and width and height of each element and make a list of these before attempting to edit the skin CSS file. Here is an example from the sprite sheet above.

**Example of Sprite Data in a Table**

| **Skin Image** | **X,Y position** | **Width** | **Height** |
| --- | --- | --- | --- |
| Background image | 0, 0 | 120 | 30 |
| Play button | 0, 30 | 30 | 30 |
| Play hover button | 30, 30 | 30 | 30 |
| Pause button | 60, 30 | 30 | 30 |
| Pause hover button | 90, 30 | 30 | 30 |
| Fullscreen button | 0, 60 | 30 | 30 |
| Fullscreen hover button | 30, 60 | 30 | 30 |
| Unfullscreen button | 60, 60 | 30 | 30 |
| Unfullscreen hover button | 90, 60 | 30 | 30 |
| Mute button | 0, 90 | 30 | 30 |
| Mute hover button | 30, 90 | 30 | 30 |
| Unmute button | 60, 90 | 30 | 30 |
| Unmute hover button | 90, 90 | 30 | 30 |
| TimeHandle | 40, 120 | 6 | 21 |
| Captions button | 0, 120 | 40 | 30 |

 

As for the skin CSS file, download the following as an example.

[Download Now](https://public.trivantis.com/Lectora/greentea.css.zip)

In this CSS example, you would need to change every instance of the word “greentea” to the name of your own skin .css file. For example, if your skin .css file is called myskin.css, you would change every instance of “greentea” to “myskin”. You also need to adjust all of the property references to the X, Y coordinates and width and height of the elements in your sprite sheet using the CSS you generated from one of the sprite sheet generators or from the list you created by hand. **Important:** Be sure that the name of the CSS file and the name of the sprite sheet match. So if your CSS file is named “myskin.css”, your sprite sheet needs to be named “myskin.png”*.*

Once you have your sprite sheet and edited CSS skin file, you need to zip these two files together. The resulting .zip file *is* the importable skin file. To import the skin, double-click on the video or audio file for which you want to apply the skin. This will cause Lectora to switch to the media file’s **Properties** tab. On the Properties tab, click the **Controller** button in the **Playback Options** group to open the **Controller menu**.

**Properties Ribbon for a Video Object**

[![VideoProperties](https://blog.elblearning.com/hs-fs/hubfs/Imported_Blog_Media/VideoProperties.png?width=841&height=139&name=VideoProperties.png)](https://blog.elblearning.com/hubfs/Imported_Blog_Media/VideoProperties.png)

You will see an option all the way at the bottom of the Controller menu called **Manage Custom Skins**.

**Manage Custom Skins Option on Controller Menu**

[![ManageCustomSkins](https://blog.elblearning.com/hs-fs/hubfs/Imported_Blog_Media/ManageCustomSkins.png?width=352&height=188&name=ManageCustomSkins.png)](https://blog.elblearning.com/hubfs/Imported_Blog_Media/ManageCustomSkins.png)

Click Manage Custom Skins to open its dialog. Then, click the **Import skin** button and locate your skin file. After importing the *myskin*.zip file, click **OK**.

**Manage Custom Skins Dialog**

[![ManageCustomSkinsDialog](https://blog.elblearning.com/hs-fs/hubfs/Imported_Blog_Media/ManageCustomSkinsDialog.png?width=297&height=321&name=ManageCustomSkinsDialog.png)](https://blog.elblearning.com/hubfs/Imported_Blog_Media/ManageCustomSkinsDialog.png)

Now click on the Controller button again and scroll to the bottom of the menu. Here you will see the name of the skin that you imported.

**Your Imported Custom Skin Shown in the Controller Menu**

[![ControllerMenuWithCustomSkin](https://blog.elblearning.com/hs-fs/hubfs/Imported_Blog_Media/ControllerMenuWithCustomSkin.png?width=352&height=196&name=ControllerMenuWithCustomSkin.png)](https://blog.elblearning.com/hubfs/Imported_Blog_Media/ControllerMenuWithCustomSkin.png)

With the video or audio file still selected, choose your new custom skin to apply it. You will notice that a message now appears on the media file that says, “Custom skin. View in Run or Preview mode.” To test your custom skin, the page does need to be running in a browser or in Run Mode. 

This sample is not the only way to design a skin. If you are skilled with CSS, you can develop your skins any way you like! An easy way for Lectora desktop users to get started with creating your own skins is to begin by modifying one of the existing skins that is built into Lectora 16.1. You can find these within your Lectora installation in the **Support Files > MediaPlayer > Skins** directory. Copy the skin you want to modify to a location outside of the installation, rename it, and modify it to your heart’s desire.

For Lectora desktop users, imported custom skins will be stored in Lectora’s installation Program Data folder. This is generally at the root of your hard drive at **Program Data > Trivantis > Lectora Inspire/Publisher 16 > CustomSkins**

**Note:** Custom skins can be used with embedded media and streaming media hosted on your own web server. However, they cannot be used with media hosted on YouTube as this service uses its own controller.

For more information about creating custom media player skins, visit the Lectora Information Center located in the Help menu within Lectora and search for “custom skins.”

[instructional design-](https://blog.elblearning.com/tag/instructional-design), [Blog-](https://blog.elblearning.com/tag/blog), [Lectora Resources-](https://blog.elblearning.com/tag/lectora-tips), [how to-](https://blog.elblearning.com/tag/how-to), [eLearning Development Tips-](https://blog.elblearning.com/tag/elearning-development-tips)

### Related Posts

[![Learning Lab LIVE: Building Faster with Lectora Library Objects](https://blog.elblearning.com/hs-fs/hubfs/Recap%201-27-26_Learning%20Lab%20LIVE-Building%20Faster%20with%20Lectora%20Library%20Objects_Blog%20Featured%20Image%20800x500.png?width=388&name=Recap%201-27-26_Learning%20Lab%20LIVE-Building%20Faster%20with%20Lectora%20Library%20Objects_Blog%20Featured%20Image%20800x500.png) ](https://blog.elblearning.com/learning-lab-live-building-faster-with-lectora-library-objects)

[Learning Lab LIVE: Building Faster with Lectora Library Objects](https://blog.elblearning.com/learning-lab-live-building-faster-with-lectora-library-objects)

[![The Secret to Humanized Instructional Story Design (with No Fluff)](https://blog.elblearning.com/hs-fs/hubfs/Recap%207-31-2025_Blog%20Featured%20Image%20800x500.png?width=388&name=Recap%207-31-2025_Blog%20Featured%20Image%20800x500.png) ](https://blog.elblearning.com/how-story-based-learning-transforms-training-insights-from-instructional-story-design)

[The Secret to Humanized Instructional Story Design (with No Fluff)](https://blog.elblearning.com/how-story-based-learning-transforms-training-insights-from-instructional-story-design)

[![Meet Your Learning Design Assistant: Lectora Library Objects](https://blog.elblearning.com/hs-fs/hubfs/Meet%20Your%20Learning%20Design%20Assistant%20Recap%207-17-25_Blog%20Featured%20Image%20800x500.png?width=388&name=Meet%20Your%20Learning%20Design%20Assistant%20Recap%207-17-25_Blog%20Featured%20Image%20800x500.png) ](https://blog.elblearning.com/meet-your-learning-design-assistant-lectora-library-objects)

[Meet Your Learning Design Assistant: Lectora Library Objects](https://blog.elblearning.com/meet-your-learning-design-assistant-lectora-library-objects)

[![Transform PowerPoint and Video into Trackable eLearning with Lectora](https://blog.elblearning.com/hs-fs/hubfs/Recap%206-26-25_Blog%20Featured%20Image%20800x500.png?width=388&name=Recap%206-26-25_Blog%20Featured%20Image%20800x500.png) ](https://blog.elblearning.com/transform-powerpoint-and-video-into-trackable-elearning-with-lectora)

[Transform PowerPoint and Video into Trackable eLearning with Lectora](https://blog.elblearning.com/transform-powerpoint-and-video-into-trackable-elearning-with-lectora)

[![What are ARIA Tags and Why Should I Care?](https://blog.elblearning.com/hs-fs/hubfs/Recap%20blog_5-15-25_What%20are%20ARIA%20Tags_Blog%20Featured%20Image%20800x500-1.png?width=388&name=Recap%20blog_5-15-25_What%20are%20ARIA%20Tags_Blog%20Featured%20Image%20800x500-1.png) ](https://blog.elblearning.com/what-are-aria-tags-and-why-should-i-care)

[What are ARIA Tags and Why Should I Care?](https://blog.elblearning.com/what-are-aria-tags-and-why-should-i-care)

[![Beyond Engagement: Designing for Action, Not Just Awareness](https://blog.elblearning.com/hs-fs/hubfs/4-10-25_BeyondDesigning_Blog%20Featured%20Image%20800x500.png?width=388&name=4-10-25_BeyondDesigning_Blog%20Featured%20Image%20800x500.png) ](https://blog.elblearning.com/beyond-engagement-designing-for-action-not-just-awareness)

[Beyond Engagement: Designing for Action, Not Just Awareness](https://blog.elblearning.com/beyond-engagement-designing-for-action-not-just-awareness)

- [**
  
  Facebook
  
  
  
  ](http://www.facebook.com/sharer.php?u=https://blog.elblearning.com/skinning-lectoras-new-html5-based-media-player%2F&t=Skinning%20Lectora’s%20New%20HTML5-based%20Media%20Player)
- [**
  
  Twitter
  
  
  
  ](http://twitter.com/share?text=Skinning%20Lectora’s%20New%20HTML5-based%20Media%20Player&url=https://blog.elblearning.com/skinning-lectoras-new-html5-based-media-player)
- [**
  
  Pinterest
  
  
  
  ](http://pinterest.com/pin/create/button/?url=https://blog.elblearning.com/skinning-lectoras-new-html5-based-media-player&media=https://f.hubspotusercontent30.net/hubfs/5108583/Imported_Blog_Media/blog_wendyhtml5media.png&description=Skinning%20Lectora’s%20New%20HTML5-based%20Media%20Player)
- [**
  
  LinkedIn
  
  
  
  ](http://www.linkedin.com/shareArticle?mini=true&url=https://blog.elblearning.com/skinning-lectoras-new-html5-based-media-player%2F&title=Skinning%20Lectora’s%20New%20HTML5-based%20Media%20Player)
- [**
  
  Gmail
  
  
  
  ](https://mail.google.com/mail/u/0/?view=cm&fs=1&su=Skinning%20Lectora’s%20New%20HTML5-based%20Media%20Player&body=https://blog.elblearning.com/skinning-lectoras-new-html5-based-media-player%2F&ui=2&tf=1)
- [**
  
  reddit
  
  
  
  ](http://www.reddit.com/submit?url=https://blog.elblearning.com/skinning-lectoras-new-html5-based-media-player%2F&title=Skinning%20Lectora’s%20New%20HTML5-based%20Media%20Player)

© 2025 ELB Learning. All rights reserved.  | [ Terms of Use](https://www.elblearning.com/legal/terms-of-use)  |  [Privacy Policy ](https://www.elblearning.com/legal/privacy-policy)|  [Legal Notices](https://www.elblearning.com/legal/legal-notices)