Update pages.html
Browse files- pages.html +4 -4
pages.html
CHANGED
@@ -761,7 +761,7 @@ editor.Blocks.add('video-player-settings-block', {
|
|
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: auto; position:
|
765 |
attributes: {
|
766 |
class: 'fa fa-play'
|
767 |
}
|
@@ -773,8 +773,10 @@ editor.CssComposer.addRules(`
|
|
773 |
height: 270px;
|
774 |
border: 3px solid black;
|
775 |
margin: 0 auto;
|
776 |
-
position:
|
777 |
top: 0;
|
|
|
|
|
778 |
display: block;
|
779 |
}
|
780 |
`);
|
@@ -784,8 +786,6 @@ editor.CssComposer.addRules(`
|
|
784 |
|
785 |
|
786 |
|
787 |
-
|
788 |
-
|
789 |
</script>
|
790 |
|
791 |
<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: auto; position: fixed; top: 0; left: 0; right: 0;"></div>`,
|
765 |
attributes: {
|
766 |
class: 'fa fa-play'
|
767 |
}
|
|
|
773 |
height: 270px;
|
774 |
border: 3px solid black;
|
775 |
margin: 0 auto;
|
776 |
+
position: fixed;
|
777 |
top: 0;
|
778 |
+
left: 0;
|
779 |
+
right: 0;
|
780 |
display: block;
|
781 |
}
|
782 |
`);
|
|
|
786 |
|
787 |
|
788 |
|
|
|
|
|
789 |
</script>
|
790 |
|
791 |
<script>
|