Select the Open in New Window option. Choose the More Actions and select the embed code. You have to handle Range on the server-side. If the video is ranged your server must return status with range headers correctly. You should choose the header sample status as Of course, if you have problems to playback the MP4 in Chrome, Safari and other, you can also find the solutions from the article.
Read and get 3 easy ways to convert MP4 to WebM format online and offline. Here you can convert large MP4 files to WebM in a short time on your mobile phone or computer successfully. When you need to capture MP4 videos from media player or other channels, you can learn more about the 5 best MP4 recorders from the article. You can make the amazing PowerPoint presentations with embedded MP4 videos. Compress the MP4 videos to a smaller size that playback smoothly. Mathankumar K Mathankumar K 1 1 gold badge 4 4 silver badges 14 14 bronze badges.
Thank you been searching for it all over but they always redirected me to the other questions — saNiks. Dre Jackson Dre Jackson 8 8 silver badges 16 16 bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.
Email Required, but never shown. The Overflow Blog. Podcast Who is building clouds for the independent developer? Exploding turkeys and how not to thaw your frozen bird: Top turkey questions Featured on Meta. Now live: A fully responsive profile. Reducing the weight of our footer. Visit chat. See "official" no-reply by Chrome: productforums. I can confirm that replacing "video" with "audio" makes it work for just audio files as well — PandaWood. The post to which you link says that the first rule is something they tried which did not work.
Why not remove it from your answer? This is a hack. If they shuffle buttons around or if the download button isn't there this hack will hide the fullscreen button instead. Or it will hide half of it because not all browser buttons are 30px — fregante. Show 5 more comments. Nithin Girish Nithin Girish 6 6 silver badges 4 4 bronze badges.
Users can right click on an audio file link to download the audio file anyway. But the deterrent effect of this solution remains. Preventing download all together is a different topic. I believe there is are questions pertaining specifically to that, like this for instance. It's not the task of chrome to provide any kind of DRM.
If you want protection of your content you will need some kind of custom solution and not a plain HTML5 audio element with a plain audio file served from the server. I am only interested in preventing the source file from being downloaded.
Play, yes. Download, no. Since you are still using a plain html5 video element i could just switch off javascript in my browser and download it anyway as i know the source url. You can't prevent people effectively from downloading something just with client side code if you give them the path to it. I could just use wget which does not even understand javascript and download it. You will need some server side handling and probably a custom javascript based player to achieve this.
Community Bot 1 1 1 silver badge. Alper Ebicoglu Alper Ebicoglu 7, 1 1 gold badge 38 38 silver badges 41 41 bronze badges. The question was for "video" and this is "audio". Close but really should make a strong point on this or better, just change it. Also, this answer requires the user to wrap the audio in a separate div or make an awkward workaround, why not just make it work for all audio and make it much simpler to use? Hey I found a permanent solution that should work in every case!
Chris Kroon Chris Kroon 99 1 1 silver badge 5 5 bronze badges.
0コメント