AnnMedia Object

Summary

Defines a media (audio or video) source.

Syntax

JavaScript Syntax
function lt.Annotations.Core.AnnMedia 
TypeScript Syntax
class lt.Annotations.Core.AnnMedia() 

Remarks

The AnnMedia class defines a (audio or video) media source. The design of this object follows HTML 5 video and audio tags. The class contains the following properties:

Property Description
Source1 The URL to the main media file. The LEADTOOLS annotations is designed to work similar to HTML 5 video or audio tag. The automation will try to play this source, if it fails, the first alternate source at Source2 will be tried. If that fails, the second alternate source at Source2 will be tried. For more information, refer to the HTML 5 video tag.
Type1 The media type for Source1. Similar to HTML 5 media type for the HTML 5 video tag. Media types are currently not used by LEADTOOLS.
Source2 The URL to the first alternate media file.
Type2 The media type for Source2.
Source3 The URL to the second alternate media file.
Type3 The media type for Source3.
Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly