Hi,
you can try the code below. It will detect the browser has the silverlight/flash or not. If not, it means the uploader will load as the htlm5/ifream mode.
- <script>
- function CuteWebUI_AjaxUploader_OnBrowse()
- {
- uploader=this;
- var scope=uploader.internalobject;
- if(!scope.addontype)
- {
- alert('you must installed Flash/Silverlight or use Chrome etc..');
- return false;
- }
- }
- </script>
Regards,
Ken