Log in or register to post comments

How to add video's to videoplayback sample

October 8, 2016 - 8:11am #1

Hello, I need to add more video's to the videoplayback sample. I have already made a .xml and .dat file with 7 different targets. Besides the seven targets, I have seven video's and each target has it's own video. So my question is, where do I need to modify the code to play a video for each of the seven targets?

Thanks in advance!

How to add video's to videoplayback sample

October 18, 2016 - 11:19am #3

I'm using the native iOS video playback sample...

edit:

I already found it, thanks anyway.

How to add video's to videoplayback sample

October 10, 2016 - 4:15am #2

You do 7 new Image targets, then add on 7 new video prefabs as children on the Image targets. 

You need to upload the pictures you want to use to the target database which you then download and import to your unity project.

 

Then just pair the videos (don't forget to add .mp4 on the videos when linking) to the trackable you want. Last thing is to change the Default trackable event handler (script) to Trackable Event Handler (script) on each one. 

 

does this help?

Log in or register to post comments