<div class="background">
  <figure class="video">
    <iframe src="https://player.vimeo.com/video/28164488"></iframe>
    <figcaption>légende 1</figcaption>
  </figure>
</div>
html,
body {
  margin: 0;
  padding: 0;
}
.background {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20%;
  padding: 0 1%;
  margin: auto;
  background-color: black;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
figure.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height:0;
  margin: auto;
}
figure.video figcaption {
  visibility: hidden;
}
figure.video iframe:hover + figcaption {
  visibility: visible;
}
figure.image figcaption,
figure.video figcaption {
  text-align: right;
  font-family: "Crimson Text", serif;
  font-style: italic;
  color: white;
  font-size: 17px;
  margin-bottom: 7px;
}
.background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin: auto;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.