<div id="video-wrapper">
  <div id="videojs-wrapper">
    <div id="vjs_video_3"
      playsinline="true"
      tabindex="-1"
      lang="ja"
      role="region"
      aria-label="動画プレーヤー"
      style="outline: none;"
    >
      <video
        playsinline="playsinline"
        tabindex="-1"
        poster="https://video.076.ne.jp{{ $res['detail']->previewPath }}"
        style="width: 100%; max-height: 720px;"
        controls=""
      >
        @if (!empty($res['detail']->streamingPlaylists))
          @foreach ($res['detail']->streamingPlaylists[0]->files as $k => $v)
            <source src="{{ $v->fileUrl }}">
          @endforeach
        @else
          @foreach ($res['detail']->files as $k => $v)
            <source src="{{ $v->fileUrl }}">
          @endforeach
        @endif
      </video>
    </div>
  </div>
</div>