These are kind of a newbie questions:
When playing video, does it always slide into the frame from the side? is there no way to make the video appear by fade or crossfade?
I'm still not sure how to set the video controls to false. For example, in your "Streaming Video" template, what command would I add and in which part of the code?
display.setStatusBar( display.HiddenStatusBar )
local posterFrame = display.newImage( "Default.png" )
function posterFrame:tap( event )
msg.text = "Video Done" media.playVideo( "http://www.anscamobile.com/video/Corona-iPhone.m4v", media.RemoteSource, true )
end
--
local isSimulator = "simulator" == system.getInfo("environment")
--
if isSimulator then
msg = display.newText( "No Video on Simulator!", 0, 60, "Verdana-Bold", 22 )
else
msg = display.newText( "Tap to start video", 0, 60, "Verdana-Bold", 22 )
posterFrame:addEventListener( "tap", posterFrame ) -- add Tap listener
end
msg.x = display.contentWidth/2 -- center title
msg:setTextColor( 0,0,255 )