> For the complete documentation index, see [llms.txt](https://player.docs.3q.video/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://player.docs.3q.video/tutorials/use-the-player-with-require.md).

# Use the Player with Require

### Implementing 3q.js with require.js

For using 3q.js player in combination with require.js, you have to add this configuration to require.js.

```javascript
// require.js config
requirejs.config({
  // Other configuration
  shim: {
    // Other shims
    'https://player.3qsdn.com/bin/hls.min.v1.6.13.js': {
      deps: ['require'],
      exports: 'Hls',
    },
  },
})

// later in code
window.Hls = Hls
```
