@extends('front.layout') @section('custom-style') @endsection @section('content')
Live Streaming
@if(isset($currentUpcomingPlayingVideo)) @php $videoLive = $currentUpcomingPlayingVideo; @endphp @elseif(isset($data['currentUpcomingVideo'][0])) @php $videoLive = $data['currentUpcomingVideo'][0]; @endphp @else @endif {{-- showing live broadcast video detail --}} @if(isset($videoLive))
{{$videoLive->title}} - {{Str::words($videoLive->sub_title)}} {{-- @if(!isset($videoLive->video_path)) @endif --}}
{{--

{{Str::words($videoLive->sub_title)}}

--}} {{--
{!! $videoLive->description !!}
--}} @endif {{-- @if(get_setting('live_streaming_code')) {!! get_setting('live_streaming_code')->value !!} @else @endif --}}
@if(get_setting('home_page_section')) @php $homeContent = get_setting('home_page_section')->value; $homeContentArray = explode(',', $homeContent); @endphp @foreach($homeContentArray as $homeContentSingle) @if(get_design_option($homeContentSingle) == 'Verticle') @include('front.home-page.home-page-section', ['slug'=> $homeContentSingle]) @elseif(get_design_option($homeContentSingle) == 'Horizontal') @include('front.home-page.home-videos-landscape', ['slug'=> $homeContentSingle]) @endif @endforeach @else @php $videoCategories = ['current-news', 'exclusives', 'highlights-opinion', 'full-interviews', 'documentaries']; @endphp @foreach($videoCategories as $categorySlug) @if(get_design_option($categorySlug) == 'Horizontal') @include('front.home-page.home-videos-landscape', ['slug'=> $categorySlug]) @elseif(get_design_option($categorySlug) == 'Verticle') @include('front.home-page.home-page-section', ['slug'=> $categorySlug]) @endif @endforeach @endif
@endsection @section('custom-script') {{-- //auto play upcoming video, checking every time --}} {{-- script for slider video change --}} {{-- pause video onscroll --}} @endsection