diff --git a/src/lib/viewers/media/DashViewer.js b/src/lib/viewers/media/DashViewer.js index c0ce8c4f2..1bd7b7030 100644 --- a/src/lib/viewers/media/DashViewer.js +++ b/src/lib/viewers/media/DashViewer.js @@ -183,7 +183,7 @@ class DashViewer extends VideoBaseViewer { request.uris = request.uris.map((uri) => { let newUri = this.createContentUrlWithAuthParams(uri, asset); if (asset !== MANIFEST && this.options.file.watermark_info.is_watermarked) { - newUri = appendQueryParams(newUri, { 'watermark-cache': this.watermarkCacheBust }); + newUri = appendQueryParams(newUri, { watermark_content: this.watermarkCacheBust }); } return newUri; }); diff --git a/src/lib/viewers/media/__tests__/DashViewer-test.js b/src/lib/viewers/media/__tests__/DashViewer-test.js index 68ca20b4c..74ae18a29 100644 --- a/src/lib/viewers/media/__tests__/DashViewer-test.js +++ b/src/lib/viewers/media/__tests__/DashViewer-test.js @@ -258,7 +258,7 @@ describe('lib/viewers/media/DashViewer', () => { dash.requestFilter('', stubs.req); expect(stubs.createUrl).to.be.calledOnce; - expect(stubs.req.uris).to.deep.equal(['www.authed.com/?foo=bar&watermark-cache=123']); + expect(stubs.req.uris).to.deep.equal(['www.authed.com/?foo=bar&watermark_content=123']); }); });