Page 1 of 1
Lesson1 Ebook Academy
Posted: Fri Dec 19, 2014 7:49 am
by anmldr
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
Re: Lesson1 Ebook Academy
Posted: Fri Dec 19, 2014 2:50 pm
by Simon
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
Re: Lesson1 Ebook Academy
Posted: Fri Dec 19, 2014 2:54 pm
by anmldr
Great! I am glad that I am not misunderstanding the code.
Happy Holidays Everyone,
Linda
Re: Lesson1 Ebook Academy
Posted: Fri Dec 19, 2014 2:56 pm
by Simon
Here is the bug report
http://quality.runrev.com/show_bug.cgi?id=13776
Not sure which versions it's actually fixed in.
Simon
Re: Lesson1 Ebook Academy
Posted: Fri Dec 19, 2014 8:56 pm
by anmldr
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
Re: Lesson1 Ebook Academy
Posted: Fri Dec 19, 2014 9:33 pm
by Simon
Hi Lida,
I don't have that pdf but that is the card script for the Intro card yes.
Not the Index card.
Simon
Re: Lesson1 Ebook Academy
Posted: Sat Dec 20, 2014 6:17 am
by anmldr
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
Re: Lesson1 Ebook Academy
Posted: Sat Dec 20, 2014 6:36 am
by Simon
Hi Linda,
All I used was the same code you posted for the Intro card.
The video resized itself to fit the card.
Simon
Re: Lesson1 Ebook Academy
Posted: Tue Jan 06, 2015 5:46 am
by ericleesmith
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
Re: Lesson1 Ebook Academy
Posted: Tue Jan 06, 2015 6:08 am
by Simon
Hi Eric,
You can try it with version 6.6.5
http://downloads.livecode.com/livecode/
Simon
Re: Lesson1 Ebook Academy
Posted: Tue Jan 06, 2015 11:34 pm
by ericleesmith
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
Re: Lesson1 Ebook Academy
Posted: Tue Jan 06, 2015 11:36 pm
by Simon
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
Re: Lesson1 Ebook Academy
Posted: Fri Jan 09, 2015 5:42 pm
by ericleesmith
Hi Simon,
The choices I have on Save As are 5.5, 2.7, and 2.4 only.
Eric
Re: Lesson1 Ebook Academy
Posted: Fri Jan 09, 2015 8:25 pm
by Simon
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
Re: Lesson1 Ebook Academy
Posted: Sun Jan 11, 2015 10:02 pm
by ericleesmith
HI Simon,
Thanks for the advice. I'll wait until the bug is fixed.
Eric