Working with Media Files
Zodiac.NET Survey Engine helps the survey designers to attach media files like images, audio and videos to their surveys. The user can attach unlimited number of media files per question. The media files attached per question can be of different types like uploading images and videos with the same question.
When the user answer the survey, the user will be able to see the uploaded images and run the audio/video files attached to each question. The media files will be displayed to the end user in sequence, according to its uploading order.
To enable attaching media files to the questions in the Survey Builder Web Control, you need to do the following:
-
Set the property "EnableMedia" to true to allow survey designers to attach media files to the survey questions.
-
Set the MediaUploadPath to a relative or physical path in your hosting server. This path will contains the uploaded media files.
The actual path of the media file will be saved in the Survey XML Definition File. The path will be relative to the path set in the MediaUploadPath property.