@extends('profilelayout')
@section('novidcontent')
        <div class="pagination">
        {!! $videos->render() !!}
    </div>
<div class="gallery">

    @foreach($videos as $video)
        <?php
            $thumb = str_replace(".webm","",$video->file);
        ?>

        <div class="gallery_item"">


            <a href="/{{$video->id}}"><img src="/thumbs/beta/{{$thumb}}.png" class="gallery__img" alt="Image 1"></a>
        </div>
  @endforeach
</div>

@endsection