DmitrMakeev commited on
Commit
86b5f40
·
verified ·
1 Parent(s): 582317d

Update pages.html

Browse files
Files changed (1) hide show
  1. pages.html +3 -11
pages.html CHANGED
@@ -432,34 +432,26 @@ editor.Blocks.add('dropdown-settings-block', {
432
 
433
 
434
  <script>
435
-
436
  editor.BlockManager.add('custom-player', {
437
  label: 'Custom Player',
438
- content: `<div id="player" style="width: 480px; height: 270px; border: 3px solid black; margin: auto; position: fixed; top: 0; left: 0; right: 0;"></div>`,
439
  attributes: {
440
  class: 'fa fa-play'
441
  }
442
  });
443
-
444
  editor.CssComposer.addRules(`
445
  #player {
446
  width: 480px;
447
  height: 270px;
448
  border: 3px solid black;
449
  margin: 0 auto;
450
- position: fixed;
451
- top: 0;
452
  left: 0;
453
  right: 0;
454
  display: block;
455
  }
456
  `);
457
-
458
-
459
-
460
-
461
-
462
-
463
  </script>
464
 
465
  <script>
 
432
 
433
 
434
  <script>
 
435
  editor.BlockManager.add('custom-player', {
436
  label: 'Custom Player',
437
+ content: `<div id="player" style="width: 480px; height: 270px; border: 3px solid black; margin: auto; position: absolute; bottom: 0; left: 0; right: 0;"></div>`,
438
  attributes: {
439
  class: 'fa fa-play'
440
  }
441
  });
 
442
  editor.CssComposer.addRules(`
443
  #player {
444
  width: 480px;
445
  height: 270px;
446
  border: 3px solid black;
447
  margin: 0 auto;
448
+ position: absolute;
449
+ bottom: 0;
450
  left: 0;
451
  right: 0;
452
  display: block;
453
  }
454
  `);
 
 
 
 
 
 
455
  </script>
456
 
457
  <script>