@if (!empty($data)) @foreach ($data as $key => $value) @if (($key == 'service' && $value == 'youtube') || ($key == 'service' && $value == 'vimeo'))
@elseif (($key == 'service' && $value == 'coub') || ($key == 'service' && $value == 'gfycat') || ($key == 'service' && $value == 'facebook'))
@elseif ($key == 'service' && $value == 'instagram')
@elseif ($key == 'service' && $value == 'twitter')
@endif @endforeach @endif @if (isset($data['caption']) && $data['caption'])
{!! $data['caption'] !!}
@endif