VideoUploader.MessageUnexpectedErrorText Property

Text of the user-friendly error message for errors which are meaningful to website developer only.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var vu = new VideoUploaderWriter("VideoUploaderID", 610, 500);
//...other params...
vu.addParam("MessageUnexpectedErrorText", "Image Uploader encountered some problem. If you see this message, contact web master.");
//...other params...
vu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getVideoUploader("VideoUploaderID").setMessageUnexpectedErrorText(value);
value = getVideoUploader("VideoUploaderID").getMessageUnexpectedErrorText();

Property Value

A string value that specifies a text of the user-friendly error message. To disable this message, set it to an empty string.

Default value is "Image Uploader encountered some problem. If you see this message, contact web master.".

Remarks

This message is displayed only when ShowDebugWindow property is false and some error which is meaningful only to the website developers occurs. Typically it means some server-side error. If you get this message, set the debug mode to true to see the actual error text.

This property is necessary for localization of Video Uploader.

Note

If you want to specify a multiline text use the "\n" sequence to separate lines.

See Also

Reference