Update js/rus/rus.js
Browse files- js/rus/rus.js +16 -10
js/rus/rus.js
CHANGED
@@ -450,7 +450,12 @@ editor.CssComposer.addRules(`
|
|
450 |
editor.Blocks.add('video-player-settings-block', {
|
451 |
label: `
|
452 |
<div style="display: flex; flex-direction: column; align-items: center;">
|
453 |
-
|
|
|
|
|
|
|
|
|
|
|
454 |
<span style="margin-top: 8px;">player-set</span>
|
455 |
</div>`,
|
456 |
content: {
|
@@ -468,19 +473,20 @@ editor.Blocks.add('video-player-settings-block', {
|
|
468 |
},
|
469 |
attributes: {
|
470 |
id: 'player'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
471 |
}
|
472 |
}
|
473 |
});
|
474 |
|
475 |
-
|
476 |
-
editor.CssComposer.addRules(`
|
477 |
-
#player {
|
478 |
-
width: 480px;
|
479 |
-
height: 270px;
|
480 |
-
margin: 20px auto;
|
481 |
-
display: block;
|
482 |
-
}
|
483 |
-
`);
|
484 |
|
485 |
|
486 |
|
|
|
450 |
editor.Blocks.add('video-player-settings-block', {
|
451 |
label: `
|
452 |
<div style="display: flex; flex-direction: column; align-items: center;">
|
453 |
+
<svg id="Layer_1" enable-background="new 0 0 490 490" viewBox="0 0 490 490" xmlns="http://www.w3.org/2000/svg" width="36" height="36">
|
454 |
+
<g>
|
455 |
+
<path d="m380 70h-270c-60.654 0-110 49.346-110 110v130c0 60.654 49.346 110 110 110h270c60.654 0 110-49.346 110-110v-130c0-60.654-49.346-110-110-110zm90 240c0 49.626-40.374 90-90 90h-270c-49.626 0-90-40.374-90-90v-130c0-49.626 40.374-90 90-90h270c49.626 0 90 40.374 90 90z" fill="#000000"></path>
|
456 |
+
<path d="m323.846 235.769-120-50c-3.085-1.286-6.611-.945-9.393.911-2.782 1.854-4.453 4.977-4.453 8.32v100c0 3.344 1.671 6.466 4.453 8.32 1.667 1.112 3.601 1.68 5.548 1.68 1.301 0 2.608-.254 3.845-.769l120-50c3.727-1.553 6.154-5.194 6.154-9.231s-2.428-7.678-6.154-9.231zm-113.846 44.231v-70l84 35z" fill="#000000"></path>
|
457 |
+
</g>
|
458 |
+
</svg>
|
459 |
<span style="margin-top: 8px;">player-set</span>
|
460 |
</div>`,
|
461 |
content: {
|
|
|
473 |
},
|
474 |
attributes: {
|
475 |
id: 'player'
|
476 |
+
},
|
477 |
+
style: {
|
478 |
+
width: '480px',
|
479 |
+
height: '270px',
|
480 |
+
border: '3px solid black',
|
481 |
+
margin: '0 auto',
|
482 |
+
position: 'relative',
|
483 |
+
top: '0',
|
484 |
+
display: 'block'
|
485 |
}
|
486 |
}
|
487 |
});
|
488 |
|
489 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
490 |
|
491 |
|
492 |
|