0
我使用android創建玩家。如何在Livecode上播放Android視頻時設置全屏?
此代碼我的卡上:
on opencard
--start videomobile
if the environment is "mobile"then
mobileControlCreate "player","videoControl"
mobileControlSet "videoControl","filename","assets/player/vdo.mp4"
mobileControlSet "videoControl","preserveAspect",true
mobileControlSet "videoControl","showController",true
mobileControlSet "videoControl","visible",true
mobileControlSet "videoControl","rect",the rect of player ID 1004
end if
--end videomobile
end opencard
當我我的設備上進行測試。該視頻已顯示和播放。但它不像iOS上的全屏。
我該怎麼辦?
好主意。謝謝 – KemChat