]>
Commit | Line | Data |
---|---|---|
61570c47 AD |
1 | require(['dojo/_base/kernel', 'dojo/ready'], function (dojo, ready) { |
2 | ready(function () { | |
3 | PluginHost.register(PluginHost.HOOK_ARTICLE_RENDERED_CDM, function (row) { | |
4 | if (row) { | |
5 | ||
6 | row.select("video").each(function (v) { | |
1cf69d43 | 7 | v.muted = true; |
61570c47 AD |
8 | }); |
9 | } | |
10 | ||
11 | return true; | |
12 | }); | |
13 | ||
14 | PluginHost.register(PluginHost.HOOK_ARTICLE_RENDERED, function (row) { | |
15 | if (row) { | |
16 | ||
17 | row.select("video").each(function (v) { | |
1cf69d43 | 18 | v.muted = true; |
61570c47 AD |
19 | }); |
20 | } | |
21 | ||
22 | return true; | |
23 | }); | |
24 | }); | |
1cf69d43 | 25 | }); |