Hi,
While testing the below code in corona simulator,video is not playing just it hang the simulator.
local function onComplete(event)
print(“end”)
return true
end
media.playVideo( “video1.mp4” , system.TemporaryDirectory , true, onComplete )
Thanks
Hi,
While testing the below code in corona simulator,video is not playing just it hang the simulator.
local function onComplete(event)
print(“end”)
return true
end
media.playVideo( “video1.mp4” , system.TemporaryDirectory , true, onComplete )
Thanks
Are you using Windows or OS-X for Corona SDK?
Rob
Mac OS-X
Same for me as well. Device works fine, simulator does not.
https://docs.coronalabs.com/api/library/media/playVideo.html
Read the Gotcha’s. It’s not supported on Windows or OS-X, so it’s not available in the simulator.
Rob
This used to work. It was part of our regression scripts for our game across all the devices supported int he simulator. Did to think to look if the gotchas had been modified…
Apple deprecated a library that API depended on. We removed it several daily builds back.
Are you using Windows or OS-X for Corona SDK?
Rob
Mac OS-X
Same for me as well. Device works fine, simulator does not.
https://docs.coronalabs.com/api/library/media/playVideo.html
Read the Gotcha’s. It’s not supported on Windows or OS-X, so it’s not available in the simulator.
Rob
This used to work. It was part of our regression scripts for our game across all the devices supported int he simulator. Did to think to look if the gotchas had been modified…
Apple deprecated a library that API depended on. We removed it several daily builds back.