---
title: "ImageUploaderFlash.Type Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_ImageUploaderFlash_Type.htm
product: "Upload Suite 8"
---

# ImageUploaderFlash.Type Property HTML5/Flash Uploader PHP

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Gets or sets type or priority of HTML5/Flash Uploader controls.

## Syntax
 
```
public function getType() {
}

public function setType($value) {
}
```
 
### Property Value
 
Type: **string**
 
Type or priority of HTML5/Flash Uploader controls.
 
Possible values are:
 
- **html|flash** the HTML5 control is used by default and the Flash control is used if the browser does not support HTML5
- **flash|html** the Flash control is used by default and the HTML5 control is used if the browser does not support Flash
- **html** the HTML5 control is used; if the browser does not support HTML5 the message appears
- **flash** the Flash control is used; if the browser does not support Flash the message appears

You can use this property to change default controls priority or to specify the only control to use.
 
Default value is **"html|flash"**.

## Example
 ```
<?php
    $uploader = new ImageUploaderFlash("Uploader1");
    $uploader->setType("flash|html");
    $uploader->render();
?>
```

## See Also
 
### Reference
 
- [Aurigma.ImageUploaderFlash.BaseControl.Type ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_BaseControl_Type.htm.md)
- [$au.imageUploaderFlash.type JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_imageUploaderFlash_type.htm.md)
