XML::WMM::ASX 0.30 review

Download
by rbytes.net on

XML::WMM::ASX is a very simple OO interface to create Windows Media Metafile ASX. SYNOPSIS use XML::WMM::ASX $asx = ne

License: Perl Artistic License
File size: 3K
Developer: Chicheng Zhang
0 stars award from rbytes.net

XML::WMM::ASX is a very simple OO interface to create Windows Media Metafile ASX.

SYNOPSIS

use XML::WMM::ASX
$asx = new XML::WMM::ASX;

This simple module allows you to create ASX file.

METHODS

The following methods are available:

$asx = XML::WMM::ASX->new

The constructor returns a new ASX object.

$asx->header()

The asx header, you may set different modes: $asx->header(previewmode=>1).

$asx->startentry()

Create entry element.

$asx->endentry()

Create entry footer.

$asx->end()

Return ASX footer.

$asx->ref(path=>$URL)

Reference to external asx files.

$asx->logo(path=>$path)

The Logo element specifies the URL for a graphic file that is associated with an ASX or Entry element (a show or clip). These graphic files are displayed in the player as they are defined by the Logo style attributes. The style attribute can value of either ICON or MARK.

$asx->banner(path=>$path, moreinfo=>$url, abstract=>$text)

A Banner element defines a URL to a graphic file that will appear in the display panel beneath the video content. Windows Media Player reserves a space 32 pixels high by 194 pixels wide (the banner bar) for the graphic. If the graphic defined in the URL is smaller than that, it displays at its original size.

$asx->base(path=>$path)

The Base element defines a URL string appended to (the front of) URL-flip URLs sent to the client.

$asx->duration(value=>$time)

The Value attribute for the Duration element defines the length of time a stream is to be rendered by the client. It is possible to set the Value attribute to a length of time that exceeds the end of the content stream, in which case the stream terminates normally.

$asx->previewduration(value=>$time)

The PreviewDuration element defines the length of time the clip defined in the associated Entry or Ref element is played when the client is in Preview mode. If PreviewDuration is associated with the ASX element, the time value applies to all clips in the metafile.

$asx->starttime(value=>$time)

The StartTime element defines a time index from which Windows Media Player will start rendering the stream. The StartTime element can be used only with on-demand content that has been indexed.

$asx->moreinfo(path=>$path)

The MoreInfo element adds hyperlinks to areas of the Windows Media Player interface.

$asx->startmarker(value=>$value)

See description of endmarker.

$asx->endmarker(value=>$value)

The EndMarker element defines the named or numeric marker index where the player is to stop rendering the stream defined in the associated Entry or Ref element. An associated element is the parent element of an element.

$asx->startrepeat(value=>$counter)

The default count value is two. Please note this method must be used in pair with endrepeat.

Requirements:
Perl

XML::WMM::ASX 0.30 search tags