Beta 8 Movie bug

3 replies [Last post]
jason_ether_123
User offline. Last seen 25 weeks 3 days ago. Offline
Joined: 19 Mar 2010

I am having an issue when playing a movie in Beta 8. I have a button that when clicked plays a movie. The code is seen below. The bug occurs when I click done on the movie to return to the app. The movie closes and the app is displayed, but the watch movie button is still in the over position and the app appears frozen.

This is only in beta 8. When I publish the same code in Beta 7 everything works perfectly.

local Watch_Video = function (event)
media.playVideo("intro_physio.m4v", true)
end

movie_button = ui.newButton{
default = "small_button.png",
over = "small_button_down.png",
onRelease = Watch_Video,
text = "Watch the video",
textColor = { 255, 255, 255, 255 },
font = "Arial",
size = 16,
offsetX = 6
}

(using iPod touch 3rd gen 8gig)

Replies

Tom
User offline. Last seen 1 hour 38 min ago. Offline
Ansca Staff
Joined: 13 Jul 2010

This is a known bug that occurred when we moved to IOS 4 builds. The video player is handled differently in IOS 4 and couldn't be completely fixed before we had to release Beta 8.

-Tom

tetu
User offline. Last seen 5 days 13 hours ago. Offline
Joined: 3 May 2010

Tom,

i think it's the ui button class that causes the problem in Beta 8, and not the video player
in the button events folder of sample code, the ui class is missing

Tom
User offline. Last seen 1 hour 38 min ago. Offline
Ansca Staff
Joined: 13 Jul 2010

Can you try the code with Corona 2.0 and see if it's fixed?

Thanks,
-Tom

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.