Control add-in Microsoft.Dynamics.Nav.Client.VideoPlayer
- App
- System Application
- Versions
- 24-26, not in 28
- Obsolete
- Pending 24.0, seen from 24. Replaced with VideoPlayer addin.
Versions171819202122232425262728
Source in 26
src/System Application/App/ControlAddIns/src/MicrosoftDynamicsNavClientVideoPlayer.ControlAddin.al64 lines, Copyright (c) Microsoft Corporation. MIT
#if not CLEAN24
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
/// <summary>
/// MSN video player
/// </summary>
#pragma warning disable AA0247
controladdin "Microsoft.Dynamics.Nav.Client.VideoPlayer"
{
ObsoleteState = Pending;
ObsoleteTag = '24.0';
ObsoleteReason = 'Replaced with VideoPlayer addin.';
RequestedHeight = 500;
RequestedWidth = 100;
VerticalStretch = true;
HorizontalStretch = true;
Scripts = 'Resources\VideoPlayer\js\VideoPlayer.js';
StartupScript = 'Resources\VideoPlayer\js\Startup.js';
StyleSheets = 'Resources\VideoPlayer\stylesheets\VideoPlayer.css';
/// <summary>
/// Raised when addin is ready
/// </summary>
event AddInReady();
/// <summary>
/// Used to set the attribute to control how video is played
/// </summary>
/// <param name="AttributeName">
/// The name of the attribute
/// </param>
/// <param name="AttributeValue">
/// Value of the attribute
/// </param>
procedure SetFrameAttribute(AttributeName: text; AttributeValue: Text);
/// <summary>
/// Removes specified attribute
/// </summary>
/// <param name="AttributeName">
/// The name of the attribute
/// </param>
procedure RemoveAttribute(AttributeName: Text);
/// <summary>
/// Set prefered video width
/// </summary>
/// <param name="VideoWidth">
/// Width of the video
/// </param>
procedure SetWidth(VideoWidth: Integer);
/// <summary>
/// Set Video Height
/// </summary>
/// <param name="videoHeight">Video Height</param>
procedure SetHeight(VideoHeight: Integer);
}
#pragma warning restore AA0247
#endif