Link to home
Start Free TrialLog in
Avatar of qeng
qeng

asked on

VBA Syntax to Position Windows Media Player on Screen when called from a Word document

Background
- Using Windows 2010 in a SharePoint 2013 environment
- Using VBA macro to trigger short 'how-to' video clips from custom tabs in Word
- Wanting to control the location of the Windows Media Player on the page
- I have control over the format of the video clips I want to show (e.g. I can create them in other video formats if needed)

VBA Code used:

Sub PlayClip()
   ActiveDocument.FollowHyperlink Address:="file://myfilereference.wmv"
End Sub

Problems
- Video is slow to load
- The Windows Media Player's (WMP) position is set by default to be close to the upper left hand corner of the Word document

Questions
- Is there a better way of playing these video clips from a Word Document
- How do I position the WMP on the page
ASKER CERTIFIED SOLUTION
Avatar of darbid73
darbid73
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial