Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
aspectRatio
BSTR aspectRatio()
Returns video aspect ratio.
LuaCOM examples:
com_obj.aspectRatio
com_obj:getaspectRatio()
if (VlcPlayer) then
local Video = VlcPlayer:getvideo()
if(Video) then
Video.setaspectRatio("16:9")
end
end
Video object
readonly properties
vlc.video.width: returns the horizontal size of the video
vlc.video.height: returns the vertical size of the video
read/write properties
vlc.video.fullscreen: when set to true the video will be displayed in fullscreen mode, when set to false the video will be shown inside the video output size. The property takes a boolean as input.
vlc.video.aspectRatio: get and set the aspect ratio to use in the video screen. The property takes a string as input value. Typical values are: "1:1", "4:3", "16:9", "16:10", "221:100" and "5:4"
vlc.video.subtitle: (supported in vlc version > 0.8.6a) get and set the subtitle track to show on the video screen. The property takes an integer as input value [1..65535]. If subtitle track is set to 0, the subtitles will be disabled. If set to a value outside the current subtitle tracks range, then it will return -1 and display an error message.
vlc.video.teletext: (supported in vlc version >= 0.9.0) get and set teletext page to show on the video stream. This will only work if a teletext elementary stream is available in the video stream. The property takes an integer as input value [0..999] for indicating the teletext page to view, setting the value to 0 means hide teletext. On error it will return -1 and display an error message.
methods
vlc.video.toggleFullscreen(): toggle the fullscreen mode based on the previous setting
vlc.video.toggleTeletext(): (supported in vlc version >= 0.9.0) toggle the teletext page to overlay transparent or not, based on the previous setting
if you don't tell us what you want to do ...........
How can we help you
The ActiveX plugin does not integrate with VLC, I am using the latest version of VLC, in the example in the photo it works fine but not for me. What could it be?
VlcPlayer = ActiveX.QueryInterface("Plugin1");
if (VlcPlayer) then
Dialog.Message("","THIS NOT WORK")
VlcPlayer:setVolume(100)
VlcPlayer:setToolbar(true)
end
Comment