buttonMore = widget.newButton{
defaultFile=“buttonMoreRed.png”,
onRelease = moreWorld ------ Here I tell the button that onRelease, perferm this “moreWorld” function
}
buttonMore.x = 700
buttonMore.y = 400
Then in the function with the name “moreWorld”
local function moreWorld()
media.playVideo (“julio.mov”, true) --------- Here I tell the “media” to play the Video (I have the name of the video
return true --------- and it’s a .mov file, and the “true” means that people can see the
end --------- video controls.
------------------ IT WORKS! -------------
The only thing I’m missing is that now I have to wait until the video it’s finish.
I don’t see any button to go “back” If people don’t want to see the whole video, they are stuck.
How do I get the “done” button, or the “back” button?
buttonMore = widget.newButton{
defaultFile=“buttonMoreRed.png”,
onRelease = moreWorld ------ Here I tell the button that onRelease, perferm this “moreWorld” function
}
buttonMore.x = 700
buttonMore.y = 400
Then in the function with the name “moreWorld”
local function moreWorld()
media.playVideo (“julio.mov”, true) --------- Here I tell the “media” to play the Video (I have the name of the video
return true --------- and it’s a .mov file, and the “true” means that people can see the
end --------- video controls.
------------------ IT WORKS! -------------
The only thing I’m missing is that now I have to wait until the video it’s finish.
I don’t see any button to go “back” If people don’t want to see the whole video, they are stuck.
How do I get the “done” button, or the “back” button?
After loading the video onto my iPad, I start the video and notice the word “Done” in the upper corner of the screen. It must be part of the native player.
There’s no need to add a “Done” button. It does it automatically.
After loading the video onto my iPad, I start the video and notice the word “Done” in the upper corner of the screen. It must be part of the native player.
There’s no need to add a “Done” button. It does it automatically.