Evening everyone
Simple question again I'm sure, but there we go:
Could someone tell me how / if you can manipulate where the player object goes on the screen on an android device?
I can see how you change the size, but not the position. I was thinking I could put the code inside a container and then move that around as I liked.
Any help gratefully received,
Kind regards
Paul
player object on android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: player object on android
Hi Paul,
there is no "player" object on the mobile platform, so what do you mean with "player"?
Do you use:
Or
?
I think only with "mobilecontrolcreate" you have full control about where the video will play.
Best
Klaus
there is no "player" object on the mobile platform, so what do you mean with "player"?
Do you use:
Code: Select all
...
play video "path/to/video.mp4"
...
Code: Select all
...
mobilecontrolcreate "player","my_player"
...
I think only with "mobilecontrolcreate" you have full control about where the video will play.
Best
Klaus
-
- Posts: 58
- Joined: Sat Jun 15, 2019 10:09 am
Re: player object on android
Hi Klaus
Sorry, yes I meant mobilecontrolcreate.
It works well, but it doesn't seem possible to choose where to locate it on the card.
Kind regards
Paul
Sorry, yes I meant mobilecontrolcreate.
It works well, but it doesn't seem possible to choose where to locate it on the card.
Kind regards
Paul
Re: player object on android
So something like:
does not work as exspected?
Code: Select all
...
put 100,100,600,400 into tRect
mobilecontrolset "my_player", "rect", tRect
...
-
- Posts: 58
- Joined: Sat Jun 15, 2019 10:09 am
Re: player object on android
Thanks v much Klaus