Update pages.html
Browse files- pages.html +30 -29
pages.html
CHANGED
|
@@ -347,36 +347,8 @@ const editor = grapesjs.init({
|
|
| 347 |
|
| 348 |
</script>
|
| 349 |
|
| 350 |
-
<script>
|
| 351 |
-
|
| 352 |
-
editor.BlockManager.add('custom-player', {
|
| 353 |
-
label: 'Custom Player',
|
| 354 |
-
content: `<div id="player" style="width: 480px; height: 270px; border: 3px solid black; margin: 0 auto; position: relative; top: 0;"></div>`,
|
| 355 |
-
attributes: {
|
| 356 |
-
class: 'fa fa-play'
|
| 357 |
-
}
|
| 358 |
-
});
|
| 359 |
-
editor.CssComposer.addRules(`
|
| 360 |
-
#player {
|
| 361 |
-
width: 480px;
|
| 362 |
-
height: 270px;
|
| 363 |
-
border: 3px solid black;
|
| 364 |
-
margin: 0 auto;
|
| 365 |
-
position: relative;
|
| 366 |
-
top: 0;
|
| 367 |
-
}
|
| 368 |
-
`);
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
|
| 374 |
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
</script>
|
| 379 |
-
|
| 380 |
<script>
|
| 381 |
|
| 382 |
|
|
@@ -785,8 +757,37 @@ editor.Blocks.add('video-player-settings-block', {
|
|
| 785 |
|
| 786 |
</script>
|
| 787 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 788 |
|
| 789 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 790 |
<script>
|
| 791 |
|
| 792 |
|
|
@@ -800,7 +801,7 @@ editor.BlockManager.add('custom-iframe', {
|
|
| 800 |
});
|
| 801 |
editor.CssComposer.addRules(`
|
| 802 |
#custom-iframe {
|
| 803 |
-
width:
|
| 804 |
height: 405px;
|
| 805 |
border: none;
|
| 806 |
margin: 0 auto;
|
|
|
|
| 347 |
|
| 348 |
</script>
|
| 349 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 350 |
|
| 351 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 352 |
<script>
|
| 353 |
|
| 354 |
|
|
|
|
| 757 |
|
| 758 |
</script>
|
| 759 |
|
| 760 |
+
<script>
|
| 761 |
+
|
| 762 |
+
editor.BlockManager.add('custom-player', {
|
| 763 |
+
label: 'Custom Player',
|
| 764 |
+
content: `<div id="player" style="width: 480px; height: 270px; border: 3px solid black; margin: 0 auto; position: relative; top: 0;"></div>`,
|
| 765 |
+
attributes: {
|
| 766 |
+
class: 'fa fa-play'
|
| 767 |
+
}
|
| 768 |
+
});
|
| 769 |
+
editor.CssComposer.addRules(`
|
| 770 |
+
#player {
|
| 771 |
+
width: 480px;
|
| 772 |
+
height: 405px;
|
| 773 |
+
border: none;
|
| 774 |
+
margin: 0 auto;
|
| 775 |
+
position: relative;
|
| 776 |
+
top: 0;
|
| 777 |
+
display: block;
|
| 778 |
+
}
|
| 779 |
+
`);
|
| 780 |
+
|
| 781 |
+
|
| 782 |
+
|
| 783 |
|
| 784 |
|
| 785 |
+
|
| 786 |
+
|
| 787 |
+
|
| 788 |
+
|
| 789 |
+
</script>
|
| 790 |
+
|
| 791 |
<script>
|
| 792 |
|
| 793 |
|
|
|
|
| 801 |
});
|
| 802 |
editor.CssComposer.addRules(`
|
| 803 |
#custom-iframe {
|
| 804 |
+
width: 480px;
|
| 805 |
height: 405px;
|
| 806 |
border: none;
|
| 807 |
margin: 0 auto;
|