Dhiemas Ganisha
Dhiemas Ganisha

Reputation: 223

Bootstrap Video Player HTML5

I'am use Bootstrap HTML5 class , but its allow for download the video. how i do to disable fiture download video?

screenshoot : Screnshoot video player

this my code

<div class="embed-responsive embed-responsive-16by9 autoplay">
    <iframe class="embed-responsive-item" src="{{ asset("/tes.mp4") }}" allowfullscreen></iframe>
</div>

Upvotes: 1

Views: 2638

Answers (2)

Ericgit
Ericgit

Reputation: 7073

I think it would help you Please put it in you Inframe tag.

<iframe class="embed-responsive-item" src="{{ asset("/tes.mp4") }}" controlsList="nodownload">

Usually It uses within <video controls controlsList="nodownload nofullscreen"> tag, I think that would work as well!

Cheer you!

Upvotes: 0

lazyHead
lazyHead

Reputation: 134

You can achieve that in two ways. 1. You can set controlsList="nodownload" on the video tag to no show the download button

or You can use css to hide the the button. If you post the live video url then it would be easy to debug

Upvotes: 2

Related Questions