mercredi 21 juin 2017

Laravel Video Play

I have a issue here for video player in Laravel and cant understad why file is not supported.Videos are saved in DB with name and .mp4 extenision, here is my code

  @foreach($videos as $video)

                <div class="portfolio-item "><!-- item -->

                    <div class="margin-bottom-50">
                        <div class="embed-responsive embed-responsive-16by9 thumbnail">
                            <video style="width: 100%" controls>
                                <source src=".....\lecture_videos/" type="video/mp4">
                                Your browser does not support the audio element.
                            </video>
                        </div>
                    </div>
                    <h4 class="size-15">
                        <a target="_blank" href=""><!--<span class="label label-danger pull-right">new</span>--></a>
                    </h4>

                </div><!-- /item -->

            @endforeach

Chrome shows me somthing like this and it is not able to be playedimage



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ttwJSu
via IFTTT

Aucun commentaire:

Enregistrer un commentaire