Commit 03549640 authored by Katie Laverty's avatar Katie Laverty

Updated the documentation for Player

parent 2d0a55ec
...@@ -298,9 +298,14 @@ ...@@ -298,9 +298,14 @@
<code> <code>
Source Source
</code> </code>
property, which can be set in the Designer or in the Blocks Editor. The length of property, which can be set in the Designer or in the Blocks Editor. To use a Player for
streaming, set the
<code>
Source
</code>
inside the Blocks Editor to a text block with the URL. The length of
time for a vibration is specified in the Blocks Editor in milliseconds (thousandths time for a vibration is specified in the Blocks Editor in milliseconds (thousandths
of a second). of a second). The volume should be an integer between 0 and 100.
</p> </p>
<p> <p>
See See
...@@ -322,6 +327,22 @@ ...@@ -322,6 +327,22 @@
Properties Properties
</h3> </h3>
<dl> <dl>
<dt>
<code>
IsLooping
</code>
</dt>
<dd>
If set, the media is looping.
</dd>
<dt>
<code>
IsPlaying
</code>
</dt>
<dd>
Whether the media is playing.
</dd>
<dt> <dt>
<code> <code>
Source Source
...@@ -330,6 +351,14 @@ ...@@ -330,6 +351,14 @@
<dd> <dd>
Audio or video file associated with this player. Audio or video file associated with this player.
</dd> </dd>
<dt>
<code>
Volume
</code>
</dt>
<dd>
A number between 0 and 100.
</dd>
</dl> </dl>
<h3> <h3>
Methods Methods
...@@ -368,6 +397,19 @@ ...@@ -368,6 +397,19 @@
Activate the phone's vibration motor for the given number of milliseconds. Activate the phone's vibration motor for the given number of milliseconds.
</dd> </dd>
</dl> </dl>
<h3>
Events
</h3>
<dl>
<dt>
<code>
Completed()
</code>
</dt>
<dd>
Media has finished playing.
</dd>
</dl>
<h2 id="Sound"> <h2 id="Sound">
Sound Sound
</h2> </h2>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment