| Docs Help
  AppSource  
Docs  /  NAVAX Help Builder  /  Write Help  /  Extended

 Videos


2023/12/29 • 2 min. to read
Videos can be linked either indirectly via navax.app or directly (not recommended). Example indirect link:
<video16x9 "TODO_VideoID"></video16x9>
Example direct link:
<iframe16x9 "https://www.youtube.com/embed/nqM79hlHuOs"></iframe16x9>
A direct link to the video has some disadvantages.
  • If the video is updated, or if a newer video is uploaded to youtube, the link must be updated in all places.
  • If the video is linked in the AL Code (e.g. Assisted Setup), the link can only be changed with a new release.
To avoid these problems, videos should instead be linked indirectly via navax.app with the AppID and a so-called VideoID. Indirect video links can be added using the _Video16x9 (16x9 format) and _Video4x3 (4x3 format) snippets. The current video link is stored in a database on navax.app. This also ensures that the videos in the application (e.g. Assisted Setup) match the videos in the online help. Further details (access data etc.) have to be coordinated with the NAVAX App Team.

Tip

The VideoID can also be used or specified in AL Code (e.g. in Assisted Setup).
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Assisted Setup", 'OnRegister', '', true, true)]
local procedure NVXYZ_AssistedSetup_OnRegister()
var
    AssistedSetup: Codeunit "Assisted Setup";
    AssistedSetupGroup: Enum "Assisted Setup Group";
    VideoCategory: Enum "Video Category";
    AppInfo: ModuleInfo;
    CurrentGlobalLanguage: Integer;
    AssistantNameTxt: Label 'Abracadabra Setup', Comment = 'DEU="Abracadabra-Einrichtung"';
    DescriptionTxt: Label 'Set up the general settings and defaults for Abracadabra.', Comment = 'DEU="Richten Sie die allgemeinen Einstellungen und Vorgaben für Abracadabra ein."';
    LanguageTxt: Label 'en', Comment = 'DEU="de"';
begin
    NavApp.GetCurrentModuleInfo(AppInfo);
    CurrentGlobalLanguage := GlobalLanguage();
    AssistedSetup.Add(
        AppInfo.Id(),
        Page::"NVXYZ Setup",
        AssistantNameTxt,
        AssistedSetupGroup::GettingStarted,
        'https://www.navax.app/video.php?AppID=NVXYZ&VideoID=Setup&L=' + LanguageTxt,
        VideoCategory::GettingStarted,
        'https://www.navax.app/contextSensitiveHelpUrl.php?AppID=NVXYZ&ObjID=Setup&L=' + LanguageTxt,
        DescriptionTxt);
    GlobalLanguage(Language.GetDefaultApplicationLanguageId());
    AssistedSetup.AddTranslation(Page::"NVXYZ Setup", Language.GetDefaultApplicationLanguageId(), AssistantNameTxt);
    GlobalLanguage(CurrentGlobalLanguage);        
end;

Snippets

The following snippets are available:
SnippetCode/Result
_Video16x9
<video16x9 "TODO_VideoID"></video16x9>
Result:
_Video4x3
<video4x3 "TODO_VideoID"></video4x3>
Result:


Submit feedback for
DE|EN Imprint