Edit on
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt.</p>

<div class="megatron" data-type="hero">
  <div class="main player">
    <div class="progress">
      <div class="value"></div>
    </div>
    
  </div>
  
  <div class="carousel">
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
    <div class="item"></div>
  </div>
  
  
</div>

<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt.</p>

<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt.</p>
@import "compass/css3";

* {
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
}

@-webkit-keyframes progress {
    0% {
      width: 0%;
    }
    100% {
      width: 100%;
    }
  }

p {
  width: 480px;
}

.megatron {
  
  width: 480px;
  position: relative;

  .main.player {
    width: 480px;
    height: 270px;
    
    max-height: 0px;
    
    background: #333;
    position: relative;
    
    -webkit-transition: max-height 1s;
    
    .progress {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 6px;
      max-height: 0px;
      background: #000;
      
      -webkit-transition: max-height .5s;
      
      .value {
        height: 100%;
        width: 0%;
        background: #c80000;
        
        &.playing {
          -webkit-animation: progress 10s linear;
        }

      }
      
    }
    &.open {
      max-height: 500px;

      .progress {
        max-height: 10px;
      }
    }
  } 
  
  .carousel {
    width: 100%;
    white-space: nowrap;
    overflow: scroll;
    line-height: 0;
    margin-top: .4em;
    height: 110px;
    
    .item {
      display: inline-block;
      width: 30%;
      height: 100px;
      background: #888;
      margin-right: 1%;
      -webkit-transition: height .4s, background .3s;
      
      &:hover {
        background: #369;
      }
      
      &.active {
        border-bottom: 8px solid #ca8000;
      }
    }
  }
}
View Compiled
$(document).ready(function () {
  
  $('.megatron .carousel .item').on('click', function () {
     $('.megatron .carousel .item').removeClass('active');
     $('.megatron .main.player .value').removeClass("playing");
     $('.megatron .main.player').addClass('open');
     setTimeout(function() {
       $('.megatron .main.player .value').addClass("playing");
     })
     $(this).addClass('active');
   })
  
  $('.megatron .main.player').on('webkitAnimationEnd', function () {
    setTimeout(function () {
      $('.megatron .main.player').removeClass('open');   
      $('.megatron .carousel .item').removeClass('active');
    }, 500)
  })
  
});
Rerun