// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`MVideoBody does not crash when given portrait dimensions 1`] = `
<DocumentFragment>
  <span
    class="mx_MVideoBody"
  >
    <div
      class="mx_MVideoBody_container"
      style="max-width: 182px; max-height: 324px; aspect-ratio: 720/1280;"
    >
      <video
        class="mx_MVideoBody"
        controls=""
        controlslist="nodownload"
        crossorigin="anonymous"
        poster="data:image/png;base64,00"
        preload="none"
      />
      <div
        style="width: 182px; height: 324px;"
      />
    </div>
  </span>
</DocumentFragment>
`;

exports[`MVideoBody should show poster for encrypted media before downloading it 1`] = `
<DocumentFragment>
  <span
    class="mx_MVideoBody"
  >
    <div
      class="mx_MVideoBody_container"
      style="max-width: 40px; max-height: 50px; aspect-ratio: 40/50;"
    >
      <video
        class="mx_MVideoBody"
        controls=""
        controlslist="nodownload"
        crossorigin="anonymous"
        poster="https://server/_matrix/media/v3/download/server/encrypted-poster"
        preload="none"
        title="alt for a test video"
      />
      <div
        style="width: 40px; height: 50px;"
      />
    </div>
  </span>
</DocumentFragment>
`;

exports[`MVideoBody with video previews/thumbnails disabled should download video if we were the sender 1`] = `
<DocumentFragment>
  <span
    class="mx_MVideoBody"
  >
    <div
      class="mx_MVideoBody_container"
      style="max-width: 40px; max-height: 50px; aspect-ratio: 40/50;"
    >
      <video
        class="mx_MVideoBody"
        controls=""
        controlslist="nodownload"
        crossorigin="anonymous"
        poster="https://server/_matrix/media/v3/download/server/encrypted-poster"
        preload="none"
        title="alt for a test video"
      />
      <div
        style="width: 40px; height: 50px;"
      />
    </div>
  </span>
</DocumentFragment>
`;
