WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Uploading & Reading In Data (https://forum.worldviz.com/showthread.php?t=4691)

CompSci 07-23-2013 09:14 AM

Uploading & Reading In Data
 
Hello,

Is there a way to upload/read-in a file from an environment. I wanted to write a code that will play a video that a user creates.

While in the environment the user would press a button that would prompt him/her to enter a file name or direct them to choose a video file. The selected file would then be played in the environment.

Thanks

Jeff 07-23-2013 12:41 PM

You could read in the video file names from a file and load those into a dropdown list that the user selects from. Or you could have the user select the file from a vizinput.fileOpen dialog. The open dialog is documented on the vizinput dialogs page.

CompSci 07-24-2013 04:31 AM

Quote:

Originally Posted by Jeff (Post 15180)
You could read in the video file names from a file and load those into a dropdown list that the user selects from. Or you could have the user select the file from a vizinput.fileOpen dialog. The open dialog is documented on the vizinput dialogs page.

Thanks, I will give this a try.


All times are GMT -7. The time now is 01:31 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC