Package Exports
- mux-embed
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mux-embed) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Mux Embed
The core Mux Javascript SDK and HTML5 Video Element tracker.
Using
Install the package:
npm install mux-embed
Include mux-embed where needed:
import mux from 'mux-embed';
Using directly in an HTML page
The above directions are for including within an NPM project. If, however, you want to include the script file directly in a website, make sure that you use the /node_modules/mux-embed/dist/mux.js
file in your <script>
tag.