Lesson1 Ebook Academy

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
anmldr
Posts: 459
Joined: Tue Sep 11, 2012 11:13 pm

Lesson1 Ebook Academy

Post by anmldr » Fri Dec 19, 2014 7:49 am

on openCard of the intro card, I can hear but not see the video. What does this mean? Why does the audio portion of it play and not the visual portion play?

I don't usually put folders for development on my desktop but I did in this instance because there was a path in the code that pointed to the desktop. The names of the folders are the same and the location is the same. (Code is the same too...)

Linda

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

Re: Lesson1 Ebook Academy

Post by Simon » Fri Dec 19, 2014 2:50 pm

Hi Linda,
This is a bug that has been reported as fixed in 6.7 and 7.0 but I'm seeing the same as you with those versions, maybe try one of the latest RC's
Works fine in 6.6.5

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

anmldr
Posts: 459
Joined: Tue Sep 11, 2012 11:13 pm

Re: Lesson1 Ebook Academy

Post by anmldr » Fri Dec 19, 2014 2:54 pm

Great! I am glad that I am not misunderstanding the code.

Happy Holidays Everyone,
Linda
Last edited by anmldr on Fri Dec 19, 2014 8:57 pm, edited 1 time in total.

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

Re: Lesson1 Ebook Academy

Post by Simon » Fri Dec 19, 2014 2:56 pm

Here is the bug report
http://quality.runrev.com/show_bug.cgi?id=13776
Not sure which versions it's actually fixed in.

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

anmldr
Posts: 459
Joined: Tue Sep 11, 2012 11:13 pm

Re: Lesson1 Ebook Academy

Post by anmldr » Fri Dec 19, 2014 8:56 pm

On other thing....
In the pdf file for Lesson 1, on page 12, it has these instructions.

Open the Code Editor for the Index card by selecting Card Script from the Object Menu and update the openCard handler

Code: Select all

on openCard
if the environment is "mobile" then
send "playMobileVideo" to me in 0 milliseconds else
play videoClip (specialfolderpath("desktop")&"/BitterRevenge/Video/Intro.mp4")
end if
end openCard
Is this supposed to be in the card script for the "Index" card or better yet, the "Intro" card since the video is supposed to play in the Intro card?

Linda

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

Re: Lesson1 Ebook Academy

Post by Simon » Fri Dec 19, 2014 9:33 pm

Hi Lida,
I don't have that pdf but that is the card script for the Intro card yes.
Not the Index card.

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

anmldr
Posts: 459
Joined: Tue Sep 11, 2012 11:13 pm

Re: Lesson1 Ebook Academy

Post by anmldr » Sat Dec 20, 2014 6:17 am

Simon wrote: maybe try one of the latest RC's
Works fine in 6.6.5
You can see a portion of the video in 6.6.5 but not as demo'd in the Lesson. I guess properties of the player need to be changed to make the video the same size as the card.

Linda

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

Re: Lesson1 Ebook Academy

Post by Simon » Sat Dec 20, 2014 6:36 am

Hi Linda,
All I used was the same code you posted for the Intro card.
The video resized itself to fit the card.

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

ericleesmith
Posts: 10
Joined: Mon Jan 05, 2015 11:28 pm

Re: Lesson1 Ebook Academy

Post by ericleesmith » Tue Jan 06, 2015 5:46 am

Hi Simon,

I'm using version 7.0.1-rc 1 and it still only plays the sound and not the video. Any recommendations? I've tried using a player and that works, sort of, but I can't get the "On playStopped" handler to work. Instead the system hangs and I must force quit. I can't find a command that will enable the player to say when it's done playing.

Eric

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

Re: Lesson1 Ebook Academy

Post by Simon » Tue Jan 06, 2015 6:08 am

Hi Eric,
You can try it with version 6.6.5
http://downloads.livecode.com/livecode/

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

ericleesmith
Posts: 10
Joined: Mon Jan 05, 2015 11:28 pm

Re: Lesson1 Ebook Academy

Post by ericleesmith » Tue Jan 06, 2015 11:34 pm

Hi Simon,

I downloaded the version you recommended, but it won't open my 7.0.1 file, so I will need to start over from scratch. I think I'll just skip the page. A pity though, I hope you get a version working soon.

Eric

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

Re: Lesson1 Ebook Academy

Post by Simon » Tue Jan 06, 2015 11:36 pm

Hi Eric,
In ver 7 use Save As...
That will allow you to save your stack in a legacy format and open it in 6.6.5

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

ericleesmith
Posts: 10
Joined: Mon Jan 05, 2015 11:28 pm

Re: Lesson1 Ebook Academy

Post by ericleesmith » Fri Jan 09, 2015 5:42 pm

Hi Simon,
The choices I have on Save As are 5.5, 2.7, and 2.4 only.
Eric

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

Re: Lesson1 Ebook Academy

Post by Simon » Fri Jan 09, 2015 8:25 pm

Hi Eric,
Just save as 5.5.
This is not the same as the version number of liveCode that you are using but I believe it is the file format that it's saved in. errr... just save in 5.5 and open in 6.x :)

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

ericleesmith
Posts: 10
Joined: Mon Jan 05, 2015 11:28 pm

Re: Lesson1 Ebook Academy

Post by ericleesmith » Sun Jan 11, 2015 10:02 pm

HI Simon,

Thanks for the advice. I'll wait until the bug is fixed.

Eric

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”