This component displays a single course item or activity without its associated adornments, including attachments and dropbox controls. (ActivityPlayer is a similar component that shows the adornments.)
EnrollmentIdStringIdentifies the enrollment to view. The enrollment implies a course and section.
ItemIdStringIdentifies the item or activity to display.
ExtraStringPasses extra URL data to the player for the item or activity. Extra URL data consists of a bar-separated list of name/value pairs in the following format:


The players for the following item types accept extra URL data:
  • Assessment
    autostart (Boolean)
    Set to true to skip the summary page and automatically start the exam. Default value is false.
    questionid (String)
    ID of the question to use for the assessment. To preview the entire work flow of a question, and application can set autostart to true and set the questionid to the desired question.
  • Blog or Journal
    initialid (String)
    ID of the the post to initially show.
    authorid (String>
    Enrollment id of the user who posted the post initially.
    commentid (String)
    ID of the comment post to show.
  • Discussion
    groupid (String)
    ID of the group to initially show.
    initialid (String)
    ID of the post to initially show or highlight.
  • Homework
    group (Int)
    Zero based index of the question group to use for the action.
    action (String)
    To start a question group set to active. To review a question group set to review. The default value is none.
  • RssFeed
    initialindex (Int)
    Index of the initial article to select and display. If not value is supplied, the component selects the first article.
    listonly (Boolean)
    Whether to show only the RSS list and not the preview pane. Default value is false.
    showsummaries (Boolean)
    Whether to show the summaries for posts by default. Default value is false.
  • Wiki
    groupid (String)
    ID of the group to initially show.
    readonly (Int)
    Specify the number 1 to force the view to be non-editable.
    slug (String)
    Slug, or identifier, of the wiki page to initially show.
See Also