Jump to content
Sign in to follow this  
mnchartier

Slider for current position Win Media Player

Recommended Posts

mnchartier

I am working on a script that combines wmv files and allows a user to mark them and export the marked sections and burn it to cd. I am able to play the WMV file in the GUI with Windows Media Player but the controls do not function on the window. Seeing who is using this I would rather use the controls built into media player is there a way to enable them. Here is what I have for the player function.

Func _LoadCase($url)
    $oRPEvt = ObjEvent($oRP,"MediaPlayer_")
    With $oRP
        .fullScreen = True
        .windowlessVideo = False
        .stretchToFit = True
        .URL = $url
        .enableContextMenu = True
        .enabled = True
        .Controls.currentPosition = 0
        .uiMode = "full"
        .settings.autostart = True
        .settings.mute = False
        .settings.volume = 50
        .settings.Balance = 0
        .enableContextMenu = True
    EndWith
EndFunc

I enabled the context menu on it but that is not working either. I am using OnEvents for the GUI incase that helps with the problem.

Edited by mnchartier

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.