Log in or register to post comments

video playback on gameobject

September 4, 2014 - 1:29pm #1

Hi,  I have go my Unity Extension app working and deployed to IOS to play a video and although it works I am having troble with the size.

I have this setup:

ImageTarget 

    FlatScreenTV -> Video prefab

With this setup the video plays and pauses correctly but appears as a tiny video inside the FlatScreenTV game object, even though I have the video object sized to fill the FlatscreenTV screen.

If I move the Video object up so the setup becomes

ImageTarget

   FlatScreenTV

   Video

The video again plays OK but is now the size of the image used in ImageTarget and expands beyond the bounds of the FlatscreenTV object

I'm guessing it may be something to do with  VideoPlaybackBehaviour video = GetComponentInChildren<VideoPlaybackBehaviour>(); in the method OnTrackingFound() of the script TrackableEventHandler?

I have tried numersous attempts to get it to play on the FlatscreenTV object but no joy.

any ideas?

 

Thanks

video playback on gameobject

September 4, 2014 - 1:53pm #2
Log in or register to post comments