The impression.players namespace contains classes to display specific storyboard types.
There are two types of players in the impression.players namespace, rendering players and face-based players.
Rendering players, as their name implies, render all content on a display object called a rendering surface. Rendering players use styles to customize the rendered content. Face-based players are for storyboard types where there are more possible options for rendering the content than the class can practically manage. For example, consider a simple multiple-choice text storyboard. Possible options include individual text formatting and positioning options for the question, answer, and distractors; selection and evaluation mechanisms; feedback information; placement of supporting materials; and more. Instead of forcing the shell implementer to choose from a limited subset of options, the face-based players require the implementer to develop a face—a custom, shell-specific display object that specifies appearance and behavior standards for the given storyboard type.
Face-based players encapsulate all of the abstract logic required to manipulate the storyboard, and minimize the amount of effort required to build a face. Most face-based players are designed to work with a number of types of data, meaning that you can use the same player class for multiple storyboard types. For example, you can use the MultipleChoicePlayer class for both Multiple-Choice Text and Multiple-Choice Graphics storyboard types.
Class | Description | |
---|---|---|
BasePlayer | The BasePlayer class supports the display of storyboards that do not require a rendering surface or student interaction. | |
CanvasElement | The CanvasElement class represents an individual display element on a Canvas. | |
CanvasElementActionTypes | The CanvasElementActionTypes class defines known values for the ActionType persisted property of a CanvasElement. | |
CanvasElementDisplayTypes | The CanvasElementDisplayTypes class defines known values for the DisplayType persisted property of a CanvasElement. | |
CanvasElementShapeTypes | The CanvasElementShapeTypes class defines known values for the ShapeType persisted property of a CanvasElement. | |
CanvasElementStates | The CanvasElementStates class defines possible display states for a CanvasElement. | |
CanvasPlayer | The CanvasPlayer class manages the display of Canvas storyboards. | |
FlashObjectPlayer | The FlashObjectPlayer class displays a single .SWF file. | |
MatchingPlayer | The MatchingPlayer class supports playback of matching type storyboards, including matching text to text, matching text to graphics, matching graphics to text, and matching graphics to graphics. | |
MatchingQuestionDetails | The MatchingQuestionDetails class provides detailed information about a single question in a matching-type storyboard. | |
MatchingResponseDetails | The MatchingResponseDetails class provides detailed information about a single response (answer or distractor) in a matching-type storyboard. | |
MatchingSummary | The MatchingSummary class provides aggregate information about a matching-type storyboard. | |
MenuPlayer | The MenuPlayer class supports playback of menu type storyboards. | |
MultipleChoicePlayer | The MultipleChoicePlayer class supports playback of multiple-choice type storyboards, including multiple-choice text and multiple-choice graphics. | |
MultipleSelectPlayer | The MultipleSelectPlayer class supports playback of multiple-choice/multiple-select type storyboards, including those with text or graphic responses. | |
QuestionStatusTypes | The QuestionStatusTypes class defines known values for the status persisted property of a matching storyboard. | |
RenderingPlayer | The RenderingPlayer class is the base class for all players that render content on a surface. | |
RTFPlayer | The RTFPlayer class manages the display of RichText storyboards. | |
SimulationPlayer | The SimulationPlayer supports playback of simulation storyboards. | |
SWFVideoPlayer | The SWFVideoPlayer supports playback of Flash .SWF animations. | |
VideoPlayerStatusTypes | The VideoPlayerStatusTypes class defines values for the status property of the SWFVideoPlayer object. |