Resizing and Controlling media.playVideo()

native.newVideo should play in your app.

Rob

Hi there,

Havent used video in a while in an app and just wondering if anything has changed as regards playing video but it causes the user to leave the app because it plays on the devices native player. Is there any way around this? I want to play a small clip of video, the app will be on both iOs and Android and the video will be stored within the apps assets so it doesnt need to be pulled from a server or anything.

Whats the best solution?

Thanks

native.newVideo() allows you to set a width and height.  Have you tried that?  It may still suspend Android Apps though.

Rob

it’s a shame there isn’t an in-app video player, because switching to a native player, or viewing youtube means that the user has left your app, and that is bad for app store stats, am i right?

native.newVideo should play in your app.

Rob