uppy/examples/cdn-example/index.html
github-actions[bot] daa7d1de17
Release: uppy@4.13.2 (#5637)
| Package                    | Version | Package                    | Version |
| -------------------------- | ------- | -------------------------- | ------- |
| @uppy/core                 |   4.4.2 | @uppy/provider-views       |   4.4.2 |
| @uppy/google-drive-picker  |   0.3.3 | @uppy/url                  |   4.2.2 |
| @uppy/google-photos-picker |   0.3.3 | @uppy/utils                |   6.1.2 |
| @uppy/locales              |   4.5.1 | uppy                       |  4.13.2 |

- @uppy/utils: do not strip www in getSocketHost (Merlijn Vos / #5621)
- @uppy/url: skip drag/dropped local files (Merlijn Vos / #5626)
- @uppy/provider-views: fix google photos picker videos (Mikael Finstad / #5635)
- @uppy/core,@uppy/google-drive-picker,@uppy/google-photos-picker,@uppy/provider-views:
  fix google picker i18n (Mikael Finstad / #5632)
2025-02-03 14:30:45 +00:00

34 lines
977 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.13.2/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.13.2/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>