For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

// 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

Last updated