Questions API – Feature Types

This Demo shows the different Feature Types which are available in the Questions API. These are generally used as stimulus for questions.

Feature Types Demos

Audio Player

Example (Block Player)


<span class="learnosity-feature" data-type="audioplayer" data-src="audio-source.mp3" data-waveform="//assets.learnosity.com/demos/docs/waveform.png"></span>

Example (Bar Player)


<span class="learnosity-feature" data-type="audioplayer" data-player="bar" data-src="audio-source.mp3"></span>

Example (Minimal Player)


<span class="learnosity-feature" data-type="audioplayer" data-player="minimal" data-src="audio-source.mp3"></span>

Video Player

Example (with embedded youtube video)


<span class="learnosity-feature" data-type="videoplayer" data-src="https://www.youtube.com/watch?v=OqsLA2U3d54&list=UU5m6XDcZUU2GCX4uQQSxBVg"></span>

Calculator

Example (Basic)



<span class="learnosity-feature" data-type="calculator"></span>

Example (Scientific)



<span class="learnosity-feature" data-type="calculator" data-mode="scientific"></span>

Image Tool

Example (Protractor)

<span class="learnosity-feature" data-type="imagetool" data-image="protractor"></span>

Example (Ruler 6 inches)

<span class="learnosity-feature" data-type="imagetool" data-image="ruler-6-inches"></span>

Example (Ruler 15 cm with button to launch)

<span class="learnosity-feature" data-type="imagetool" data-image="ruler-15-cm" data-button="true"></span>

Formula Input

Example (Basic)

<span class="learnosity-feature" data-type="formulainput"></span>

Example (Initial value)

<span class="learnosity-feature" data-type="formulainput" data-value="\frac{x}{y}"></span>

Example (Updating input value)

<span class="learnosity-feature" data-type="formulainput" data-input=".math-receiver"></span>
<input class="math-receiver"></input>