exporting bug

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
margu
Posts: 15
Joined: Sat Apr 20, 2013 12:59 pm

exporting bug

Post by margu » Mon Apr 22, 2013 6:54 pm

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?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: exporting bug

Post by Mark » Mon Apr 22, 2013 7:00 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

margu
Posts: 15
Joined: Sat Apr 20, 2013 12:59 pm

Re: exporting bug

Post by margu » Mon Apr 22, 2013 7:49 pm

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

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: exporting bug

Post by Mark » Mon Apr 22, 2013 8:00 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

margu
Posts: 15
Joined: Sat Apr 20, 2013 12:59 pm

Re: exporting bug

Post by margu » Mon Apr 22, 2013 8:29 pm

sorry, but doesn't work

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: exporting bug

Post by Mark » Mon Apr 22, 2013 9:19 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

margu
Posts: 15
Joined: Sat Apr 20, 2013 12:59 pm

Re: exporting bug

Post by margu » Mon Apr 22, 2013 10:04 pm

ok i fixed it.
but i have one more question.
how to do that when the video finish a new card will open?

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: exporting bug

Post by Simon » Mon Apr 22, 2013 10:07 pm

Look up "playerFinished" in the dictionary.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

margu
Posts: 15
Joined: Sat Apr 20, 2013 12:59 pm

Re: exporting bug

Post by margu » Mon Apr 22, 2013 10:15 pm

i've written on player:

Code: Select all

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

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: exporting bug

Post by Simon » Mon Apr 22, 2013 10:34 pm

maybe you don't have a card id 1030
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: exporting bug

Post by Mark » Mon Apr 22, 2013 10:40 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

margu
Posts: 15
Joined: Sat Apr 20, 2013 12:59 pm

Re: exporting bug

Post by margu » Tue Apr 23, 2013 2:59 pm

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

Post Reply