Goodmorning all,
i'm working with the wmp activex that is in the list but i can't find anyware a full list of commands; i know how to do some things in example play, pause, stop, get file duration, get position of play, mute, set volume, set balance, loop...but i'm SURE 100% there are other commands i would like a link for full list of commands or just how to change the Width and Height of the video / change rate [i would like to NOT FOLLOW ASPECT RATIO, but use my personalized aspect ratio] is this possible?
Thanks for have read
The msdn library should list all the available commands and properties: LINK
Reference. Hi Eve!!
Marked.
My favorite redneck. Howdy, Jim.
Hiya BDBF!
Thanks so much sViz! That's what i was searching for!
I have test the settings and controls, most of them in the list work; but when testing the Media section the command "control..currentMedia" do not exists so i can't get/set video aspect ratio, so under desktopx is impossible to retrive/set aspect ratio of a video?
Ps: i would like to stretch the video on the object dimensions [i know this function would be really important for various project; in example making a video player]
the only command that seems to do what i'm searching is ".stretchToFit" but it does opposition of what needs, because it fit the video only if the OBJECT is larger than video, and anyway it keep the aspect ratio
Here are the commands that i've tested and works, are followed with a short description [i've write this because i can't find nowhere that some one did this].
[control that is used in activex is the "player" string that you find on coding elsewhere]
control.uimode = noone / mini / full - change the type of controlling the object
control.cdromCollection = read only - didn't actually find what is that used for
control.enabled = True / False - read / write [only when loading the url i think] set if the control is enabled or disabled
control.Close - should quit the playback [should be like using the X icon on windows media player] it doesn't seems to work
control.ClosedCaption - didn't find out what it does and testing in various ways it doesn't work
control.Controls.play() - play
control.Controls.pause() - pause
control.Controls.step(k) - go to the "k" frame and pause [where k is a number between 0 or 1 and Total number of frames in video]
control.Controls.fastForward() - start the video fast speed on normal direction
control.Controls.fastReverse() - start the video fast speed on reverse direction
control.controls.getAudioLanguageDescription(k) - get the description for the audio lenguage in the index [and K is the number of lenguage in the index, for example 1=english 2=italian 3=french etc..]
control.controls.getAudioLanguageDescription(k) - Retrives the LCID for a specific K audio lenguage [k is the number in the index] - didnt tested it
control.controls.getLanguageName(k) - should retrive the K language name in the index
control.controls.playItem(k) - let the current K item to start playing, or resume play if paused
control.controls.previous() - play previous item in playlist
control.controls.next() - play next item in playlist
control.controls.audioLanguageCount() - read only - retrive the number of languages
control.controls.currentAudioLanguage(K) - read/write - retrive and set the current audio language
control.controls.currentAudioLanguageIndex() - retrive the current audio language as index [1,2,3 etc]
The list is big i will add other commands when i test them, maybe some one could help to check witch command work and witch not
I don't really use any of the more advanced commands, so I've never looked into them. You could start a page/tutorial at the Wincustomize Wiki - LINK - , if you like. Others would be able to update it as well.
Yes i could do it maybe with the post i've write before, in my opinion this activex is one of the most important since we could create our video player and customize it [or also add it in a project; but some commands like change aspect ratio, change subtitles are important we can't make a video player without them]
When i will have write it i will add the link in this topic
What about this VIDEOCAP software, on of my clients using it about 3 years allrdy and he satisfied with that sw. Its easy for use, i am not good dev. but i know how to work on it. Maybie it will be of help for you.
There are many great features available to you once you register, including:
Sign in or Create Account