uppy/examples/cdn-example/index.html
github-actions[bot] 2eaef6247b
Release: uppy@4.0.0-beta.6 (#5152)
| Package          |      Version | Package          |      Version |
| ---------------- | ------------ | ---------------- | ------------ |
| @uppy/compressor | 2.0.0-beta.6 | @uppy/status-bar | 4.0.0-beta.6 |
| @uppy/core       | 4.0.0-beta.6 | uppy             | 4.0.0-beta.6 |
| @uppy/dashboard  | 4.0.0-beta.6 |                  |              |






| Package          | Version | Package          | Version |
| ---------------- | ------- | ---------------- | ------- |
| @uppy/compressor |   1.1.4 | @uppy/status-bar |   3.3.3 |
| @uppy/core       |  3.11.2 | uppy             |  3.25.2 |
| @uppy/dashboard  |   3.8.3 |                  |         |

- @uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/status-bar: Upgrade @transloadit/prettier-bytes (Merlijn Vos / #5150)
- meta: run Prettier in the release workflow (Antoine du Hamel)

- @uppy/companion: fix running on a subpath (#2841, #2797 / @coreprocess, @goto-bus-stop)
2024-05-08 09:06:45 +00:00

34 lines
989 B
HTML

<!doctype html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
href="https://releases.transloadit.com/uppy/v4.0.0-beta.6/uppy.min.css"
rel="stylesheet"
/>
</head>
<body>
<noscript>You need JavaScript enabled for this example to work.</noscript>
<button id="uppyModalOpener">Open Modal</button>
<script type="module">
import {
Uppy,
Dashboard,
Webcam,
Tus,
} from 'https://releases.transloadit.com/uppy/v4.0.0-beta.6/uppy.min.mjs'
const uppy = new Uppy({ debug: true, autoProceed: false })
.use(Dashboard, { trigger: '#uppyModalOpener' })
.use(Webcam, { target: Dashboard })
.use(Tus, { endpoint: 'https://tusd.tusdemo.net/files/' })
uppy.on('success', (fileCount) => {
console.log(`${fileCount} files uploaded`)
})
</script>
</body>
</html>