Is it posible to play the vedios in navision form

Naidu.G
Member Posts: 31
Hi Experts,
i am using the 'Windows Media Player'.MediaPlayer automation server. In this i am usingopen method to open the audio file and vedio files. But the audio file is open and playing but the vedio file is not playing what's the reason i am not able to know and how we can play the vedio files in navison form using automation server.
Thanks & Regards,
Naidu.
](*,)
i am using the 'Windows Media Player'.MediaPlayer automation server. In this i am usingopen method to open the audio file and vedio files. But the audio file is open and playing but the vedio file is not playing what's the reason i am not able to know and how we can play the vedio files in navison form using automation server.
Thanks & Regards,
Naidu.
](*,)
0
Comments
-
May be that the player needs some window to play the video. May be you can set the automation to open own window for the video. May be it is not possible under NAV. But these are just tips what can be the problem...0
-
First be sure, that you have the correct codec.
Second try this.Name DataType Subtype Length WindowsMediaPlayer Automation 'Windows Media Player'.WindowsMediaPlayer if isclear(WindowsMediaPlayer) then create(WindowsMediaPlayer); WindowsMediaPlayer.openPlayer('C:\Temp\Down\brain_colin27T1.avi');
RegardsDo you make it right, it works too!0 -
Hi garak,
i created the variable like
Name DataType Subtype Length
WindowsMediaPlayer Automation 'Windows Media Player'.WindowsMediaPlayer
But it show the error like
The variable WindowsMediaPlayer :: CURRENTPLA is defiend more than once.
An Example could be: 'File' exists as both a data type and a global variable.
here i created only one variable.
Thanks & Regards,
Naidu. ](*,)0 -
1) Try to use shorter variable name
2) Try to define it as local variable0 -
Create the Variable local.Do you make it right, it works too!0
-
Thanks for Reply kine & garak.
but i want to open the vedio in navision form ok i will try that. what's the difference between the local variable and global variable in this situation. In here we are not create windowsmediaplayer variable more than once but it show the error more than one variable is created that means is it posible to use the windowsmideaplayer variable without create the variable.
Thanks & Regards,
Naidu. ](*,)0 -
It is problem of variable name and max. length which is used in NAV... it behaves differently when defined as local and global...
To be able to play the video in NAV form you will need to somehow get the NAV window handle etc. and it is not possible without creating special DLL for that...0 -
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions