VideoUploader.GuiGraphicsVersion Property

Version indicator of images used as buttons and icons of Video Uploader user interface.

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("GuiGraphicsVersion", "1");
//...other params...
vu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getVideoUploader("VideoUploaderID").setGuiGraphicsVersion(value);
value = getVideoUploader("VideoUploaderID").getGuiGraphicsVersion();

Property Value

A string value that identifies version of images used as buttons and icons. It is highly recommended to use unique value every time you update these images (e.g. incrementing numbers or GUID).

Default value is "1".

Remarks

This value is used so that Video Uploader could recognize when images are modified on the server and whether they should be updated in cache. Every time user interface graphics is downloaded and cached, Video Uploader remembers this value. When the user visits the page with Video Uploader one more time, it compares this value with the remembered one. If they differ, Video Uploader updates the user interface graphics cache.

Obviously it makes sense to use this property only when the user interface graphics caching is enabled (i.e. the CacheGuiGraphics property is set to true).

See Also

Reference