AnnMedia Object

Summary

Defines a media (audio or video) source.

Syntax
TypeScript
JavaScript
function lt.Annotations.Engine.AnnMedia 
class lt.Annotations.Engine.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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.