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
-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.