Log in or register to post comments

Getting error on playing videos in Videoplayback demo in unity.

December 5, 2012 - 12:09am #1

I am working on unity project, and following Videoplayback demo. I was successfully playing my own videos which i store in StreamingAssets Folder but i wanted to play video from disk which i downloaded and write there, when i try to play this video it not played and also i think it distrub my others videos which i store in StreamingAssets Folder and after that try i am not able to play any single video, i roll back my code but still not playing. I delete app and restart my device but still not playing. I also follow a thread "https://ar.qualcomm.at/content/ar-video-app-runs-always-pause"in this forum but not helped and the difference is this, in this thread the user facing problem of pause but i am getting "NOT PLAYED" this message and after this message "Error - The asset's tracks were not loaded: The requested URL was not found on this server." also getting.

Kindly help me what and where i did wrong, this will be great for me. Thanks in advance.

Getting error on playing videos in Videoplayback demo in unity.

March 4, 2015 - 11:09pm #6

Hi

  please help me .... I have to play downloaded video stored in document folder on texture in iOS.

Getting error on playing videos in Videoplayback demo in unity.

December 5, 2012 - 12:39pm #5

You can set a keyframe on the Video prefab to present a texture. That's what is demonstrated in the sample. Otherwise you could add the texture or the video and pause at that position. If neither of those approaches are suitable, you'll need to add the texture to the target dynamically and hide the video instance at runtime. 

Getting error on playing videos in Videoplayback demo in unity.

December 5, 2012 - 5:57am #4

I do not think there is a way to do it.

You may need to wait for the next release...

N

Getting error on playing videos in Videoplayback demo in unity.

December 5, 2012 - 4:26am #3

Thanks Nalin, I managed to run project properly but now facing bit problem as your response with document directory.

I want to play video from document directory how can i do this task if this is issue then how to achieve this either with different approach. Now i am send address of video but it failed, currently i am passing this address "/var/mobile/Applications/AC9B9531-D7A4-4AD3-87DB-F8BD2DF96AB8/WhatTheBuck.app/test1.mp4".

My second question is how to show just image texture when a marker detected using same sample video playback.

 

Getting error on playing videos in Videoplayback demo in unity.

December 5, 2012 - 2:55am #2

Hi Aleem

Not quite sure what you did wrong, but the easiest thing to try is to creat a new project and then import the VideoPlayback sample, and then put your video in Streaming Assets.  Once you have done this you should be able to set it to run.

One other thing to note in that there was an issue with playing videos on iOS/Unity from the documents directory (if you are downloading to this before playing) which is fixed in the next release.

N

Log in or register to post comments