local path = “/storage/extSdCard/Contact.mp4”
local onComplete = function( event )
– print( “video session ended” )
– end
– media.playVideo(path,true, onComplete )-----------------like this pls reply me.Just say possible or not
local path = “/storage/extSdCard/Contact.mp4”
local onComplete = function( event )
– print( “video session ended” )
– end
– media.playVideo(path,true, onComplete )-----------------like this pls reply me.Just say possible or not
Unfortunately no. We don’t provide an API that gives you direct file access.
However, you can use our media.selectVideo() API instead…
https://docs.coronalabs.com/api/library/media/selectVideo.html
This API displays a window to the user asking them to select a video. The limitation though is that the end-user will only be able to select video files that the external video apps is aware of. Such as video captured by the default camera app.
Unfortunately no. We don’t provide an API that gives you direct file access.
However, you can use our media.selectVideo() API instead…
https://docs.coronalabs.com/api/library/media/selectVideo.html
This API displays a window to the user asking them to select a video. The limitation though is that the end-user will only be able to select video files that the external video apps is aware of. Such as video captured by the default camera app.