Update pages.html
Browse files- pages.html +38 -0
pages.html
CHANGED
@@ -868,6 +868,44 @@ editor.CssComposer.addRules(`
|
|
868 |
`);
|
869 |
</script>
|
870 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
871 |
<script>
|
872 |
|
873 |
|
|
|
868 |
`);
|
869 |
</script>
|
870 |
|
871 |
+
|
872 |
+
|
873 |
+
|
874 |
+
|
875 |
+
<script>
|
876 |
+
editor.BlockManager.add('player-box', {
|
877 |
+
label: `
|
878 |
+
<div style="display: flex; align-items: center;">
|
879 |
+
<!-- icon666.com - MILLIONS vector ICONS FREE --><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"><g><g><g><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" style="fill: rgb(237, 237, 237);"></path><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" style="fill: rgb(237, 237, 237);"></path></g></g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g><g></g></svg>
|
880 |
+
<span style="margin-left: 8px;">Custom Player</span>
|
881 |
+
</div>`,
|
882 |
+
content: `<div id="player" style="width: 480px; height: 270px; border: 3px solid black; margin: auto; position: relative; top: 0;"></div>`,
|
883 |
+
attributes: {
|
884 |
+
class: 'fa fa-play'
|
885 |
+
}
|
886 |
+
});
|
887 |
+
editor.CssComposer.addRules(`
|
888 |
+
#player {
|
889 |
+
width: 480px;
|
890 |
+
height: 270px;
|
891 |
+
border: 3px solid black;
|
892 |
+
margin: 0 auto;
|
893 |
+
position: relative;
|
894 |
+
top: 0;
|
895 |
+
display: block;
|
896 |
+
}
|
897 |
+
`);
|
898 |
+
</script>
|
899 |
+
|
900 |
+
|
901 |
+
|
902 |
+
|
903 |
+
|
904 |
+
|
905 |
+
|
906 |
+
|
907 |
+
|
908 |
+
|
909 |
<script>
|
910 |
|
911 |
|