3,851 bytes added
, 08:03, 6 September 2009
<noinclude>{{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}</noinclude>
{{TOCright}}
= Description =
[[Image:activity-smile.svg.png]]
Smile is an implementation of the open source Ambulant SMIL 3.0 player. It is capable of playing a wide variety of media including text, images,
audio and video clips. More importantly, it can play complex multimedia presentations defined by a W3C standard SMIL 3.0 file. One important application
is to 'read aloud' children's picture stories with a controlled vocabulary. The SMIL3 script will show an illustration, play the recorded audio track reading the text, and display highlighted text synchronized with the audio track.
=Playing Media from the Journal Activity=
[[Image:Select fall98 in journal.png|thumb|right|300px|alt=Select from Journal activity|Select from Journal activity]]
[[Image:Select_smile_in_properties_window.png|thumb|right|300px|alt=Select Smile in properties window|Next, select Smile from menu]]
It is possible to play media files directly from the Journal Activity. However, Smile is not the default player for any of the media
formats. Therefore it is necessary to click on the arrow to the right of the media entry to see the properties page. It is then necessary to
select Smile on the drop down menu of the toolbar.
This does not apply to smxo bundles. The Smile activity is the default in this case. Bundle entries are shown with the Smile icon. It is
only necessary to double-click on the entry to play the bundle.
=Selecting Media from the Toolbar=
[[Image:Smile chooser.png|thumb|right|300px|alt=Choosing from the Toolbar|Choosing from the toolbar]]
[[Image:Cloud.png|thumb|right|300px|alt=Image displayed on the playerscreen|Image (png) displayed on the playerscreen]]
If the Smile activity is launched from the home view, the toolbar default to the Select tab. Click on the journal icon for a list of
media files which can be played by Smile. Double-click on an entry to play it. If a usb pendrive is mounted, it's icon will also show on
the Select toolbar. Click on it to show a list of playable files on that drive. Double-click on an entry to play it.
=Supported Media=
*text: text/plain
*images: png jpg bmp gif tiff svg
*audio: ogg mp3 wav wma
*video: ogg mpg avi wmv
=Application/x-smile (.smxo) Bundles=
The Smile activity supports a bundle (mime_type: applicaton/x-smile) with the extension .smxo. The bundle is a zip file containing a .smil
file defining the presentation and the media files needed by the presentation. The bundle can be played from the Journal or by selection from
the toolbar.
=To Do=
==Video playback==
The current version does not play video back correctly. The playback freezes and then advances when the mouse is moved. This appears to
be a problem with the redraw request in the gtk event loop. This also applies to playback of multimedia bundles (e.g. showing images with an
audio background).
==Controls==
In the current version, the stop control does not work. The pause control stops play but play cannot be restarted. Once a playback has begun,
it can only be replayed by selecting the media again.
==Media==
The current version does not support mp4 or mov (Quicktime).
=Links=
[http://activities.sugarlabs.org Smile activity]<br>
[http://git.sugarlabs.org/projects/smile source]<br>
[http://wiki.laptop.org/go/Projects/Smile project]<br>
For more information about Ambulant, see the [http://www.ambulantplayer.org the Ambulant] website.
Ambulant has already been incorporated in the DAISY project's
[http://www.daisy.org Amis 3], [http://www.daisy.org/news/newsletters/planet-2009-05.php#a2 news]