5 <meta name=
"viewport" content=
"width=device-width, user-scalable=no">
7 window
.onload = function() {
8 if (plugin
.didFinishLoading
)
9 plugin
.didFinishLoading();
12 window
.onkeydown = function(e
) {
13 if (e
.keyIdentifier
== 'Enter' || e
.keyIdentifier
== 'U+0020') {
19 <link rel=
"stylesheet" href=
"plugin_placeholders.css"></link>
27 background-color: rgba(
0,
0,
0,
0.5);
55 justify-content: center;
62 <base i18n-values=
"href:baseurl">
66 <div i18n-values=
"title:name" id=
"outer">
67 <img id=
"poster" i18n-values=
"srcset:poster">
68 <div id=
"shielding"></div>
69 <div id=
"inner-container"
70 i18n-values=
".style.width:visibleWidth;.style.height:visibleHeight">
72 <img id=
"plugin-icon" src=
"plugin_power_saver_play.png"
73 i18n-values=
".style.maxWidth:visibleWidth;
74 .style.maxHeight:visibleHeight" />
79 document
.getElementById('poster').onerror = function() {
83 document
.getElementById('outer').onclick = function() {
87 window
.setPosterMargin = function(marginLeft
, marginTop
) {
88 var container
= document
.getElementById('inner-container');
89 container
.style
.marginLeft
= marginLeft
;
90 container
.style
.marginTop
= marginTop
;