This code was working perfectly, and suddenly it is not working! thia is from Solar2d’s website … my code is similar also not working
local
video = native.newVideo( display.contentCenterX, display.contentCenterY, 640, 360 )
local
function
videoListener( event )
print
(
"Event phase: "
.. event.phase )
if
event.errorCode
then
native.showAlert(
"Error!"
, event.errorMessage, {
"OK"
} )
end
end
-- Load a remote video
video:
load
(
"https://coronalabs.com/video/bbb/BigBuckBunny_640x360.m4v"
, media.RemoteSource )
-- Add video event listener
video:addEventListener(
"video"
, videoListener )
-- Play video
video:play()