Log in or register to post comments

Run Videos from Url in Videoplayback Sample project.

November 20, 2012 - 10:31pm #1

Hi, I am following VideoPlayBack sample project  and i successfully run multiples videos on different imagetargets but now i want to run videos from url and i want to ask what will be best approach to run videos from url and how to do this task, this will be great for me if you guys have any helping code to run videos from url. 

My second Question is how to load texture from url like video i also did loading different texture on different image target. Kindly share me your suggestion and help links or code.

Thanks in advance.

Run Videos from Url in Videoplayback Sample project.

November 26, 2012 - 7:15am #8

For Unity, you can simply use the http:// address of the video file, entered in the Inspector or passed to the player's Load method - see the VideoPlaybackController class for an example of how to obtain the Video instance reference.

To load textures, see the WWW class - http://docs.unity3d.com/Documentation/ScriptReference/WWW-texture.html

Run Videos from Url in Videoplayback Sample project.

November 22, 2012 - 2:12am #7

Your reference link for iOS, but i need for Unity

Sorry I do not have a link here.

 Also i want to load 3d object from webservice either store locally or directly

I think you may need to use Asset Bundles which are a pro only feature.  Best to search these forums as this as come up fairly recently, and also worth check the forums over at Unity 3D.

N

 

 

 

Run Videos from Url in Videoplayback Sample project.

November 21, 2012 - 4:11am #6

Thanks Nalin, Your reference link for iOS, but i need for Unity. Also i want to load 3d object from webservice either store locally or directly but what is best approach for you and also kindly tell me how to also so 3d object task.

 

Run Videos from Url in Videoplayback Sample project.

November 21, 2012 - 3:36am #5

Hi Aleem,

i want to ask what will be best approach to run videos from url

If you are using the video playback samples these will only play full screen.  If you want them to play on a texture then you need to download them and store them locally.

Someone on the forums did produce some sample code to play from a URL on to a texture 

https://ar.qualcomm.at/content/play-remote-video-image-use-calayer-sample-code

HTH

N

 

solar2 - when asking a new question could you please start a new thread, rather than tagging on to someone elses thread, as it simply causes confusion.

thanks

N

 

 

Run Videos from Url in Videoplayback Sample project.

November 21, 2012 - 2:15am #4

Have you added your current Scene on Unity build settings?

Run Videos from Url in Videoplayback Sample project.

November 21, 2012 - 1:15am #3

HI 

 

     Can you please hel[p me in my project -- I want to develop an AR application in Desktop , How can I do this .I have done the following steps but I can not able to detect any camera in Unity Project .

 

I have download vuforia SDk and Vuforia Unity Extension and make a project in Unity  where i have imported this Vuforia package . Then I have make the Image Target and set a 3 D Model on It and built it as a Desktop and Pc application , but  this executable will run and only a picture will showing. 

 

 

 

How the camera will detect in unity or how it can be done for an AR application please inform me.

 

 

thanks

Somnath Mukherjee

email :-

Steps Required to Run an Ar application using Unity and Vuforia

November 20, 2012 - 11:12pm #2

HI 

     Can you please hel[p me in my project -- I want to develop an AR application in Desktop , How can I do this .I have done the following steps but I can not able to detect any camera in Unity Project .

I have download vuforia SDk and Vuforia Unity Extension and make a project in Unity  where i have imported this Vuforia package . Then I have make the Image Target and set a 3 D Model on It and built it as a Desktop and Pc application , but  this executable will run and only a picture will showing. 

 

How the camera will detect in unity or how it can be done for an AR application please inform me.

Log in or register to post comments