2014-05-12 46 views
0

我想設置我的視頻播放器的寬度和高度。我無法設置視頻播放器的寬度和高度 - livecode

在這裏我的代碼。

  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.Before自動播放video.Width和高度是working.After opencard和視頻play.Width和視頻的高度調整到原來的。

我該怎麼辦?

+0

你可以在這裏添加什麼代碼? – cracker

回答

0

嘗試將播放器對象的lockLocation設置爲true以停止播放器自動調整大小;

set the lockLocation of player id idPlayer to true 
相關問題