Skip to content

Commit c2a077d

Browse files
committed
remove data-start-src functionality
1 parent b7b41e4 commit c2a077d

File tree

5 files changed

+4
-16
lines changed

5 files changed

+4
-16
lines changed

dist/nmgt/nmgt.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,6 @@ Object.assign(MediaElementPlayer.prototype, {
280280
}
281281

282282
function getDefaultStreamName() {
283-
var startSrcDataAttr = player.node.dataset.startSrc;
284-
285-
if (startSrcDataAttr == '1') {
286-
return ngtName();
287-
}
288-
289283
return nmgName();
290284
}
291285
},

dist/nmgt/nmgt.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@A-VISION-BV/mediaelement-plugins",
3-
"version": "4.1.5",
3+
"version": "4.1.6",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/A-VISION-BV/mediaelement-plugins.git"

src/nmgt/nmgt.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,6 @@ Object.assign(MediaElementPlayer.prototype, {
347347
}
348348

349349
function getDefaultStreamName() {
350-
const startSrcDataAttr = player.node.dataset.startSrc
351-
352-
if(startSrcDataAttr == '1') {
353-
return ngtName()
354-
}
355-
356350
return nmgName()
357351
}
358352
},

0 commit comments

Comments
 (0)