<onclick> toggle zoom or stretch to 16:9 ?
#1
Hi,

I'm trying to add to OSD menu direct button for my wife to stretch the film to 16:9 (in case it is in 4:3 format - random situation)

unfortunately it looks it is a problem for me.

I have found in keymaps: AspectRatio    Toggle through the various aspect ratio modes (Normal is the preferred option). 
but     <onclick>AspectRatio</onclick> does nothing

for toggle on keybord it is Z key.  but I do not know how to send the Z keypress from onclick

last option I wanted to at least activate directly the "view mode" windowid, but I did not found the number for that. (only <onclick>ActivateWindow(osdvideosettings)</onclick> , but not  "view mode" )

Please does anyone has got some tip/trick how to complete this task?
best way would be <onclick>Stretch16:9</onclick>  somehow....
Reply
#2
you need to use the action function and send the command to the correct window: <onclick>Action(AspectRatio,fullscreenvideo)</onclick>
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Splendid, it just works  Smile 

I you have saved me a lot of time.

Thank you very, very much.
Reply

Logout Mark Read Team Forum Stats Members Help
<onclick> toggle zoom or stretch to 16:9 ?0