Skinning the VLC-Player ActiveX Object?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Bruttosozialprodukt
Posts: 463
Joined: 24 Jan 2014, 22:28

Skinning the VLC-Player ActiveX Object?

25 Apr 2014, 04:12

It's about the VLC embedding into the AHK GUI as mentioned in this thread: http://www.autohotkey.com/board/topic/7 ... plication/

I need some help creating a new skin for the object.

About the default UI:
-The seek bar does not move/change or anything.
-The times (currenttime/endtime) are missing.
-The UI looks super cheap and bad.

Here are some screenshots:
Windowmode: Mouse was moved so that the controls showed up.
Windowmode: Mouse wasn't moved in a while so that the controls hid.
Fullscreen: Mouse was moved so that the controls showed up.
Fullscreen: Mouse wasn't moved in a while so that the controls hid.

Here is the code if you wanna try it yourself:
(You need to have VLC installed on your computer.)

Code: Select all

Gui Add, ActiveX, xm w640 h360 vVlcObj, VideoLAN.VLCPlugin.2
Gui Show

videoUrl := "http://playertest.longtailvideo.com/sintel-480.mp4"
VlcObj.playlist.add(videoUrl,"","""""")
VlcObj.playlist.play()
Return

GuiClose:
  ExitApp
Return
My problems:
-I don't know how to permanently hide the controlbars (windowmode and fullscreen).
-I don't know how I could add custom controls as overlay. (Overlaying multiple GUI controls always results in a buggy mess in AHK.)
-I'll have to include a ton of images to the project (play/pause/stop.. buttons, seekbar... and the same for the fullscreen mode). How can I put my images into one dll and load them from there into the GUI?

My ideas to solve the problems:
-Ignore the default controlbar because it's gonna be overlayed with another one anyway.
-Use GDI+ to create the image overlays.
-Somehow hack into the UI to change it.
-Use the actual VLC-Player's skin elements.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: mikeyww, ReyAHK and 458 guests