Update js/rus/rus.js
Browse files- js/rus/rus.js +18 -4
js/rus/rus.js
CHANGED
@@ -528,7 +528,7 @@ editor.Components.addType('video-player-settings', {
|
|
528 |
}
|
529 |
});
|
530 |
|
531 |
-
// Создаем блок
|
532 |
editor.Blocks.add('video-player-settings-block', {
|
533 |
label: `
|
534 |
<div style="display: flex; flex-direction: column; align-items: center;">
|
@@ -538,11 +538,11 @@ editor.Blocks.add('video-player-settings-block', {
|
|
538 |
content: { type: 'video-player-settings' },
|
539 |
});
|
540 |
|
541 |
-
|
542 |
editor.CssComposer.addRules(`
|
543 |
#player {
|
544 |
-
width:
|
545 |
-
height:
|
546 |
border: 3px solid black;
|
547 |
margin: 0 auto;
|
548 |
position: relative;
|
@@ -552,6 +552,20 @@ editor.CssComposer.addRules(`
|
|
552 |
`);
|
553 |
|
554 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
555 |
// Создаем блок для компонента Iframe
|
556 |
editor.BlockManager.add('custom-iframe', {
|
557 |
label: `
|
|
|
528 |
}
|
529 |
});
|
530 |
|
531 |
+
// Создаем блок настроек лкейбла видеоплеера
|
532 |
editor.Blocks.add('video-player-settings-block', {
|
533 |
label: `
|
534 |
<div style="display: flex; flex-direction: column; align-items: center;">
|
|
|
538 |
content: { type: 'video-player-settings' },
|
539 |
});
|
540 |
|
541 |
+
// Создаем блок стилей плеера
|
542 |
editor.CssComposer.addRules(`
|
543 |
#player {
|
544 |
+
width: 720px;
|
545 |
+
height: 480px;
|
546 |
border: 3px solid black;
|
547 |
margin: 0 auto;
|
548 |
position: relative;
|
|
|
552 |
`);
|
553 |
|
554 |
|
555 |
+
|
556 |
+
|
557 |
+
|
558 |
+
|
559 |
+
|
560 |
+
|
561 |
+
|
562 |
+
|
563 |
+
|
564 |
+
|
565 |
+
|
566 |
+
|
567 |
+
|
568 |
+
|
569 |
// Создаем блок для компонента Iframe
|
570 |
editor.BlockManager.add('custom-iframe', {
|
571 |
label: `
|