YouTube Player Component

Overview

The value proposition of this component is pretty wide-spread. Any interface that requires the inclusion of video could benefit, especially with YouTube being the largest platform for video on the internet today. Interfaces can be built that provide embedded videos to help provide information to a user that may not be available outside of the video, or information that is more easily disseminated through a video format. This could help with the education of users, for example, you could require users to complete a task that shows an intro to Appian before they are able to get access to the rest of an Appian application.

A new function, youtubePlayer(), will be added to interface components after the plugin is installed. Simply placing this component into an Appian interface with a videoId that points to a YouTube video will allow for displaying that video on an Appian interface.

Key Features & Functionality

The youtubePlayer() function accepts many inputs, including typical interface component inputs like 'label', 'labelPosition', 'instructions', 'helpTooltip', 'disabled', 'validations', 'height', and 'showWhen'. There are also many video-player focused inputs that allow for manipulation of the video being embedded into the interface. These inputs include 'videoId', 'startAt', 'endAt', 'refreshCount', 'playerState', and 'currentTime'. Using some of these inputs can allow for tracking of how long the video has been played, which could be used to make sure a user has seen a video. The demo application included with this submission does this by splitting a video up into sections and asking the user to complete a quiz question for each section of a video that was watched. After installing the demo application, there will be an action called 'YouTube Player Demo: Learn How to Cook the Perfect Steak' that any member of the group 'MYT All Users' should be able to open.

Anonymous