我想设置视频播放器的宽度和高度。
这是我的代码。
put the text of fld "txt_width" into w_value
put the text of fld "txt_height" into h_value
set the width of player ID idplayer of stack stackname to w_value
set the height of player ID idplayer of stack stackname to h_value
我在opencard上设置了自动播放。在自动播放视频之前。宽度和高度正常。打开卡片和视频后播放。视频的宽度和高度调整为原始值。
我该怎么办?
答案 0 :(得分:0)
尝试将player对象的lockLocation设置为true以停止播放器自动调整大小;
set the lockLocation of player id idPlayer to true