Log in or register to post comments

IsPlayableOnTexture is false

July 25, 2013 - 1:48pm #1

Hi

This is part of big problem I'm facing  and is posted here.
 
 
I found that when I try to play a video, the IsPlayableOnTexture function of the VideoPlayerHelper class returns false. I would like to know what are the condition to evaluate if a texture is playable or not. 
Thank you.

 

IsPlayableOnTexture is false

July 25, 2013 - 10:57pm #2

If you are deploying on Android, a video is playable on texture if the OS version on your device is Android 4.0 (ICS) or higher; below 4.0, your video is playable in fullscreen mode only.

In addition to that, it is required that when you call the Load() method of the VideoPlayerHelper, you specify the requested media type as "on texture"

public bool Load(string filename, MediaType requestedType, bool playOnTextureImmediately, float seekPosition):

requestType must be ON_TEXTURE,  or   ON_TEXTURE_FULLSCREEN (which enables both options)

 

Log in or register to post comments