Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daily-co/daily-js
https://github.com/daily-co/daily-js
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/daily-co/daily-js
- Owner: daily-co
- License: bsd-2-clause
- Created: 2019-04-04T22:53:09.000Z (about 5 years ago)
- Default Branch: daily-js-releases
- Last Pushed: 2024-05-07T13:47:42.000Z (about 2 months ago)
- Last Synced: 2024-05-07T14:51:39.160Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://docs.daily.co/reference/daily-js
- Size: 8.67 MB
- Stars: 92
- Watchers: 12
- Forks: 32
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Lists
- awesome-daily - `daily-js`
README
# 🎥 Get started with Daily
Please check our [our documentation site](https://docs.daily.co/) to get started. If you're building a web app with our `daily-js` front-end JavaScript library, you may be particularly interested in:
- The [`daily-js` reference docs](https://docs.daily.co/reference#using-the-dailyco-front-end-library), for help adding video calls to your app
- The [REST API reference docs](https://docs.daily.co/reference), for help creating video call rooms, configuring features for those rooms, and managing users and permissions# âš Upcoming changes that may require action
## `avoidEval` will become `true` by default
Today you can opt in to making `daily-js` behave in a CSP-friendly way by specifying `dailyConfig: { avoidEval: true }` wherever you provide your [call options](https://docs.daily.co/reference/daily-js/daily-iframe-class/properties). You can read more about this option and how to set up your CSP (Content Security Policy) in [this guide](https://docs.daily.co/guides/privacy-and-security/content-security-policy#custom-call-object).
Starting in an upcoming version of `daily-js`, `avoidEval` will switch to defaulting to `true`. To prepare for this change, please make sure that your CSP's `script-src` directive contains `https://*.daily.co` (or explicitly opt out of the new behavior by setting `avoidEval: false`).