| @@ -2,9 +2,41 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * @var string $existingVersion |
| 4 | 4 | */ |
| 5 | 5 | ?> |
| 6 | +<style> | |
| 7 | + details.playerVersionDoc { | |
| 8 | + border: 1px solid #aaa; | |
| 9 | + border-radius: 4px; | |
| 10 | + padding: 0.5em 0.5em 0; | |
| 11 | + max-width: 600px; | |
| 12 | + margin-top: 15px; | |
| 13 | + } | |
| 6 | 14 | |
| 15 | + details.playerVersionDoc ul { | |
| 16 | + list-style: revert; | |
| 17 | + padding: revert; | |
| 18 | + } | |
| 19 | + | |
| 20 | + details.playerVersionDoc > summary { | |
| 21 | + font-weight: bold; | |
| 22 | + margin: -0.5em -0.5em 0; | |
| 23 | + padding: 0.5em; | |
| 24 | + cursor: pointer; | |
| 25 | + user-select: none; | |
| 26 | + } | |
| 27 | + | |
| 28 | + details.playerVersionDoc[open] { | |
| 29 | + padding: 0.5em; | |
| 30 | + } | |
| 31 | + | |
| 32 | + details.playerVersionDoc[open] summary { | |
| 33 | + border-bottom: 1px solid #aaa; | |
| 34 | + margin-bottom: 0.5em; | |
| 35 | + } | |
| 36 | + | |
| 37 | +</style> | |
| 38 | + | |
| 7 | 39 | <?php if ($existingVersion !== 'v2') { ?> |
| 8 | 40 | <br /> |
| 9 | 41 | <br /> |
| 10 | 42 | <strong>If you have done any CSS customisation with player v1, those will NOT translate to player v2.</strong> |
| @@ -9,9 +41,9 @@ | ||
| 9 | 41 | <br /> |
| 10 | 42 | <strong>If you have done any CSS customisation with player v1, those will NOT translate to player v2.</strong> |
| 11 | 43 | <p>Please get in touch with us from the "Support" section in your VdoCipher dashboard.</p> |
| 12 | 44 | <?php }?> |
| 13 | -<details class="vdo_docs"> | |
| 45 | +<details class="playerVersionDoc"> | |
| 14 | 46 | <summary>How to choose player version?</summary> |
| 15 | 47 | <div> |
| 16 | 48 | <p> |
| 17 | 49 | The new version of the player is v2. It is the second version of our HTML5 player. There are many improvements to player including |