Giter VIP home page Giter VIP logo

custom-elements-video-xapi's Introduction

Custom Elements Video XAPI

Quickstart

First Time

git clone [email protected]:garajo/custom-elements-video-xapi.git
cd custom-elements-video-xapi
npm install
npm run build

Run hot loading dev environment

Use this when you're writing new happy code!

afterwards

npm run dev

visit localhost:5001 in your browser

Run preview server

npm start

visit localhost:5001 in your browser

Motivations and Features

Custom Elements

An emerging W3C standard is in using custom elements. Custom elements allow HTML authors to add additional functionality using HTML tags beyound the standardized tagname set. I think this would be beneficial in getting content authors for ID to use web standards for their instructional design or elearning implementations. This implementation currently starts with several custom elements to allow content authors to change properties of the application and create new video-quiz applications.

ref: https://github.com/garajo/custom-elements-video-xapi/blob/master/public/index.html#L33

<!-- change youtube video id -->
<video-quiz-xapi videoid="ItZN6o0ylao" >
...
</video-quiz-xapi>
>
<!-- define video sections -->
<!-- TODO: revise and connect "play video section" to work with video sections -->
<data-json>
  [{
    "starttime": "0:18",
    "endtime": "0:29",
    "sectionTitle": "Doctype",
    "contentIndex": 1
  }, ...]
<data-json>
<!-- holds custom element questions such as true/false and multiple choice -->
<quiz-collection answerid="se98aoeu" title="Be an HTML expert!" >
  <!-- <true-false /> -->
</quiz-collection>
<!-- create a true/false question -->
<true-false >
  The <code>Doctype</code> tag is a signal to the browser to run traditional HTML
</true-false>
<multiple-choice id="q3" mctype="multi-select" >
  <p>Which are standard element of html?</p>
  <mc-option value="head" >
    head
  </mc-option>
  <mc-option value="body" >
    body
  </mc-option>
</multiple-choice>

Grading

A flow and server is provided to save answers and grade quiz attempts.

gified

XAPI

The primary objective associated with xapi is in defining a recipe/profile, that would be generic however not yet defined in the profiles registry or the xapi-authored-profiles. The intent is to develop an elearning UI application that has a standardized profile structure not yet addressed by either registry. By including an assessment piece, the quiz collection, it can be made to represent an atomic elearning implementation with a standardized vocabulary for learning analysis.

Profiles are critical in that they define how the data should be parametized, which is invaluable for development and learning analysis, especially when involving machine learning interpretations. Various interpretation of the same actions and activities make it much harder for machine-applied analyis, because additional (neural-network) layers would have to be applied to differentiate or assimilate. Having recipes pre-defined should facilitate data mining of XAPI.

For now, only launched is recorded. When you have launched the webpage, check out https://xapi.com/wp-content/assets/ClientPrototypes/StatementViewer/index.html to see your xapi statement.

Svelte

The svelte framework is a new paradigm of JavaScript, that is proving itself to be much faster that current popular frameworks using runtime JS such as React, Angular, and others. https://www.stefankrause.net/wp/?p=431 . Svelte compiles to native JS, HTML, and CSS, eliminating runtime JS processes to speed things up. However, React is also doing work on this paradigm and would go faster. https://twitter.com/trueadm/status/1002812303824314369

custom-elements-video-xapi's People

Contributors

garajo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.