Audio class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:29

Description

The Audio element allows rendering an audio DataContent attribute as a flash player control. The eventual audio thumbnail and the audio itself must be provided through the bindable parameters ThumbnailId and AudioId. The flash player can be configured through the bindable parameter Parameters.

http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4WebUIWinUIEmulationAudioClassTopic.html

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

For the list of properties and methods, please see:

http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4WebUIWinUIEmulationAudioClassTopic_members+.html

Example

<CellTemplate ObjectTypeName="audio">

  <xp:StackPanel Orientation="Vertical" HorizontalAlignment="Center" Margin="0,1,0,1">

    <l:InfoPopup 

                         InfoId="{Binding Path=[folderObject.id]}" 

                         DirectoryStyleName="{Binding ObjectType.Name}">

                    <l:Audio 

                                 MaxHeight="90" 

                                 MaxWidth="90" 

                                 AudioId="{Binding Path=[audio.audioPreview.id]}" 

                                 Parameters="autostart=false&amp;fullscreen=false&amp;skin=simple.swf" />

     </l:InfoPopup>

   </xp:StackPanel>

</CellTemplate>

More examples

<l:Audio HorizontalAlignment="Center"

<l:Audio Margin="0,6,6,6" Grid.Row="1" Height="18" Width="80" VerticalAlignment="Top" HorizontalAlignment="Center" AudioId="{Binding Path=[audioCaption.ref.data.id]}"/>

<l:Audio MaxHeight="90" MaxWidth="90" AudioId="{Binding Path=[audio.audioPreview.id]}" Parameters="autostart=false&amp;fullscreen=false&amp;skin=simple.swf" />

<l:Audio Width="{Binding Path=CurrentDetail, RelativeSource={RelativeSource AncestorType={x:Type l:ShellResultView}}}"

<l:Audio.ToolTip>

See also

Image

Video