@mux/mux-data-theoplayer 4.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.babelrc ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["es2015"]
3
+ }
package/.dockerignore ADDED
@@ -0,0 +1 @@
1
+ node_modules
package/.eslintrc ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": ["standard"],
3
+
4
+ "rules": {
5
+ "semi": [2, "always"],
6
+ "camelcase": [0, { "properties": "never" }],
7
+ "newline-after-var": [2, "always"]
8
+ }
9
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,169 @@
1
+ # theoplayer-mux
2
+
3
+ ## 4.8.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [aaf3b01]
8
+ - mux-embed@4.12.1
9
+
10
+ ## 4.8.4
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [856b2df]
15
+ - mux-embed@4.12.0
16
+
17
+ ## 4.8.3
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [b2499f4]
22
+ - mux-embed@4.11.0
23
+
24
+ ## 4.8.2
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [a59a3ee]
29
+ - Updated dependencies [a59a3ee]
30
+ - mux-embed@4.10.0
31
+
32
+ ## 4.8.1
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [91c4794]
37
+ - mux-embed@4.9.4
38
+
39
+ ## 4.8.0
40
+
41
+ ### Minor Changes
42
+
43
+ - 1457d37: Allow for passing in the THEOplayer instance instead of using the instance on window
44
+
45
+ ## 4.7.6
46
+
47
+ ### Patch Changes
48
+
49
+ - ecf1447: Use common function for generating short IDs
50
+ - Updated dependencies [139c6a2]
51
+ - Updated dependencies [ecf1447]
52
+ - mux-embed@4.9.3
53
+
54
+ ## 4.7.5
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies [0323215]
59
+ - mux-embed@4.9.2
60
+
61
+ ## 4.7.4
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [e4b3b16]
66
+ - mux-embed@4.9.1
67
+
68
+ ## 4.7.3
69
+
70
+ ### Patch Changes
71
+
72
+ - Updated dependencies [28af90d]
73
+ - Updated dependencies [6fc81db]
74
+ - mux-embed@4.9.0
75
+
76
+ ## 4.7.2
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [2572844]
81
+ - Updated dependencies [5b57b38]
82
+ - Updated dependencies [6bd4336]
83
+ - mux-embed@4.8.0
84
+
85
+ ## 4.7.1
86
+
87
+ ### Patch Changes
88
+
89
+ - Updated dependencies [d2c2670]
90
+ - mux-embed@4.7.0
91
+
92
+ ## 4.7.0
93
+
94
+ ### Minor Changes
95
+
96
+ - a7f1c42: Introducing HLS Session Data support
97
+
98
+ ### Patch Changes
99
+
100
+ - Updated dependencies [4f2187c]
101
+ - mux-embed@4.6.2
102
+
103
+ ## 4.6.1
104
+
105
+ ### Patch Changes
106
+
107
+ - Updated dependencies [51476cc]
108
+ - mux-embed@4.6.1
109
+
110
+ ## 4.6.0
111
+
112
+ ### Minor Changes
113
+
114
+ - ffaf7f5: Bump mux-embed to 4.6.0
115
+
116
+ ## 4.5.1
117
+
118
+ - Update mux-embed to v4.4.4
119
+ - Stops emitting a `requestcompleted` event for every manifest request
120
+
121
+ ## 4.5.0
122
+
123
+ - Update mux-embed to v4.4.2
124
+
125
+ ## 4.4.0
126
+
127
+ - Add support for bandwidth metrics
128
+
129
+ ## 4.3.1
130
+
131
+ - Fix an issue where normal events were being fired as ad events
132
+
133
+ ## 4.3.0
134
+
135
+ - Update mux-embed to v4.4.0
136
+ - Support latency metrics when using HLS
137
+
138
+ ## 4.2.0
139
+
140
+ - Update mux-embed to v4.2.0
141
+ - Fix an issue where views that resulted from `programchange` may not have been tracked correctly
142
+ - Fix an issue where if `destroy` was called multiple times, it would raise an exception
143
+
144
+ ## 4.1.1
145
+
146
+ - Fix an issue where bitrate reported for HLS streams would be double the expected value
147
+
148
+ ## 4.1.0
149
+
150
+ - Update mux-embed to v4.1.1
151
+ - Add support for custom dimensions
152
+ - Fix an issue where `player_remote_played` may not be tracked correctly
153
+
154
+ ## 4.0.0
155
+
156
+ - Update mux-embed to v4.0.0
157
+ - Support server-side device detection
158
+
159
+ ## 3.1.0
160
+
161
+ - Add `renditionchange` tracking event
162
+
163
+ ## 3.0.1
164
+
165
+ - Inject metadata for certain edge case startup sequences
166
+
167
+ ## 3.0.0
168
+
169
+ - Update `mux-embed` to 3.0.0
package/Dockerfile ADDED
@@ -0,0 +1,11 @@
1
+ FROM node:15.4
2
+
3
+ RUN mkdir /src
4
+ WORKDIR /src
5
+ ADD package.json .
6
+ ENV NPM_CONFIG_LOGLEVEL warn
7
+ RUN npm install
8
+
9
+ ADD . .
10
+
11
+ ENTRYPOINT ["npm"]
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ <p align="center">
2
+ <a href="https://mux.com/">
3
+ <img src="https://avatars.githubusercontent.com/u/16199997?s=200&v=4" alt="Mux Logo">
4
+ </a>
5
+ </p>
6
+
7
+ # Mux Data SDK for monitoring THEOplayer
8
+
9
+ ![npm (tag)](https://img.shields.io/npm/v/@mux/mux-data-theoplayer/latest)
10
+ ![npm bundle size](https://img.shields.io/bundlephobia/min/@mux/mux-data-theoplayer)
11
+ ![Snyk Vulnerabilities for npm package](https://img.shields.io/snyk/vulnerabilities/npm/@mux/mux-data-theoplayer)
12
+ ![npm](https://img.shields.io/npm/dm/@mux/mux-data-theoplayer)
13
+ ![npm](https://img.shields.io/npm/dt/@mux/mux-data-theoplayer)
14
+
15
+ Mux Data gives you insight into video engagement and Quality of Experience using client-side SDKs for your player.
16
+
17
+ This SDK monitors [THEOplayer](https://github.com/shaka-project/shaka-player), see all [supported players here](https://docs.mux.com/guides/data).
18
+
19
+ # Documentation
20
+
21
+ Visit our [documentation](https://docs.mux.com/guides/data/monitor-theoplayer-web) to get started.
@@ -0,0 +1,36 @@
1
+ # theoplayer-mux
2
+
3
+ The THEOplayer plugin for Mux Analytics
4
+
5
+ ## Using
6
+
7
+ Install dependencies:
8
+
9
+ `npm install`
10
+
11
+ Modify `src/index.js`, `scripts/deploy.js`, `ads.html`, and `index.html` to implement the integration.
12
+ The majority of your code will be in `src/index.js`
13
+
14
+ Once the code has been completed, run the following to build the package
15
+
16
+ `npm run build`
17
+
18
+ Then, run `npm run start` to start a webserver, and test the player at
19
+
20
+ * http://localhost:8080/index.html
21
+ * http://localhost:8080/ads.html
22
+
23
+ ## Release
24
+
25
+ 1. Get PR approved
26
+ 1. On the feature branch, run `yarn version` - this will make a new commit & tag
27
+ 1. Push to Github: `git push && git push --tags`
28
+ 1. Squash and merge the PR into master
29
+
30
+ Deploy will go out automatically, invalidate the Cloudfront cache:
31
+
32
+ * Navigate to [Cloudfront](https://console.aws.amazon.com/cloudfront/home?region=us-east-1#distribution-settings:EQ2SDW3HVTEIS)
33
+ * Click on Invalidations.
34
+ * `theoplayer-mux` is available under `src.litix.io/theoplayer/major_version/theoplayer-mux.js`
35
+
36
+ To make the new version active, you should invalidate `/theoplayer-mux/*`