Page 1 of 1

exporting bug

Posted: Mon Apr 22, 2013 6:54 pm
by margu
when i save the the application as standalone the video that s plays on fullscreen when i test the app isn't on fullscreen.
this appear in an angle of the screen.
how to fix?

Re: exporting bug

Posted: Mon Apr 22, 2013 7:00 pm
by Mark
Hi,

Which platform are you creating a standalone for? What do you test on?

Do you mean that the movie appears in a corner of the screen or is the movie rotated?

How did you import or otherwise include the movie in your standalone?

Best,

Mark

Re: exporting bug

Posted: Mon Apr 22, 2013 7:49 pm
by margu
Mark wrote:Hi,

Which platform are you creating a standalone for? What do you test on?

Do you mean that the movie appears in a corner of the screen or is the movie rotated?

How did you import or otherwise include the movie in your standalone?

Best,

Mark
i create standalone for win linux and mac, but i only opened it on a mac.
when i use the application in livecode the video is in fullscreen but in standalone it isn't.
it is in a corner of the screen.
i imported it by clicking file>import as control>video

Re: exporting bug

Posted: Mon Apr 22, 2013 8:00 pm
by Mark
Hi,

Videos imported as control are slightly unreliable. It is better to import videos as referenced control. Importing as referenced control is the same as creating a player control and setting its filename to the path to your video file. You can set the rect of the player control, which allows you to determine exactly where to display the video on your screen, e.g.

Code: Select all

set the rect of player 1 to the rect of this card
Kind regards,

Mark

Re: exporting bug

Posted: Mon Apr 22, 2013 8:29 pm
by margu
sorry, but doesn't work

Re: exporting bug

Posted: Mon Apr 22, 2013 9:19 pm
by Mark
Hi,

You will need to provide a little more information about what you tried and what goes wrong. If you get any error messages post them here. If you see unexpected behaviour, describe it.

Kind regards,

Mark

Re: exporting bug

Posted: Mon Apr 22, 2013 10:04 pm
by margu
ok i fixed it.
but i have one more question.
how to do that when the video finish a new card will open?

Re: exporting bug

Posted: Mon Apr 22, 2013 10:07 pm
by Simon
Look up "playerFinished" in the dictionary.

Simon

Re: exporting bug

Posted: Mon Apr 22, 2013 10:15 pm
by margu
i've written on player:

Code: Select all

on playerfinished
   open card id 1030
end playerfinished
but doesn't work

Re: exporting bug

Posted: Mon Apr 22, 2013 10:34 pm
by Simon
maybe you don't have a card id 1030

Re: exporting bug

Posted: Mon Apr 22, 2013 10:40 pm
by Mark
Hi,

PlayerFinished works on iOS and Android, not on desktop platforms. Try the playStopped message. (I know this is confusing, because there is playStopped, playerFinished, playerStopped and play stop, just to name a few).

Best,

Mark

Re: exporting bug

Posted: Tue Apr 23, 2013 2:59 pm
by margu
Mark wrote:Hi,

PlayerFinished works on iOS and Android, not on desktop platforms. Try the playStopped message. (I know this is confusing, because there is playStopped, playerFinished, playerStopped and play stop, just to name a few).

Best,

Mark
thank you very much!!!
now all works correctly