<div class="popover-metadata">
	@if($video->videotitle) <div class="artist">
      <strong>Videotitle:</strong> {{$video->videotitle}}
    </div>@endif
    @if($video->interpret) <div class="artist">
      <strong>Artist:</strong> {{$video->interpret}}
    </div>@endif
    @if($video->songtitle) <div class="songtitle">
      <strong>Songtitle:</strong> {{$video->songtitle}}
    </div>@endif
    @if($video->imgsource) <div class="source">
      <strong>Video Source:</strong> {{$video->imgsource}}
    </div>@endif
    <div class="category">
        <strong>Category:</strong> <a class="text-white" href="/index?q={{$video->category->name}}">{{$video->category->name}}</a>
    </div>
    <div class="uploader">
      <strong>Uploader:</strong> <a class="text-white" href="{{ url("user/" . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span></a>
    </div>
    <div class="added">
    	<strong>Added:</strong> <a id="timestamp" title="{{$video->created_at->toIso8601String()}}">{{$video->created_at->diffForHumans()}}</a> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>
    </div>
          {{-- <div class="filesize">
      <span class="badge badge-secondary">{{ HumanReadable::bytesToHuman($video->filesize()) }}</span>
    </div> --}}
    <hr>
        <div class="toggo tag-panel-body">
        <div id="tag-display" class="tag-panel-body">
            @if(count($video->tags))
                @foreach($video->tags as $tag)
                @if($tag == 'sfw')
                <span class="badge badge-success"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
                @elseif($tag == 'nsfw')
                <span class="badge badge-danger"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
                @else
                    <span class="badge badge-secondary"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
                    @endif
                @endforeach
            @else
                No tags yet ...
            @endif
        </div>
    </div>
</div>