How to allow watching mp4 in chrome without downloading
Just found your question whilst trying to solve another problem I'm having, you will find that currently Google isn't able to perform a temporary download so therefore you have to download instead. I think the question was about to open a local file directly instead of downloading a local file to the download folder and open the file in the download folder, which seems not possible in Chrome, except some add-on mentioned above. Scroll down to Downloads under Download location: click the Change button and chose tmp folder.
Then just close the screen. Click on any attachments and a small box to the left will appear, it should automatically open if you click on it. When the bottom left box appears it will contain an arrow; click on it and choose the option "Always open files of this type".
Going forward it will open the file instantly instead of the small box appearing to the left and you having to click on it to open. So it forces to download file. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to force open links in Chrome not download them?
Ask Question. Asked 8 years, 9 months ago. Active today. Viewed k times. Improve this question. Donald Duck 7, 19 19 gold badges 67 67 silver badges 86 86 bronze badges. Add a comment.
Active Oldest Votes. Now the file type will always OPEN using your default program. Improve this answer. Danny B Danny B 7 7 silver badges 3 3 bronze badges. This won't prevent you from downloading the file. Hi Kate, You can check out the difference in this documentation.
Hi Leslie, I didn't do any of the three options shown in the documentation. Thanks, Kate. Hi Kate! It sounds like you have a URL to your video file, is that correct? If so, try this: Go to the Insert tab on the ribbon and click Web Object. The Insert Web Object window will appear. Type the URL of the video in the Address field. Decide how you want the video to display. Choose either Display in slide or Display in a new browser window. Mark the box to Load web object automatically if you want your video to load without any interaction from learners.
Uncheck the box if you want your video to load only when learners click it. Click OK when you're finished. Let me know if that helps! Create a slide and insert your video there. The token is generated upon page generation, and saved to the db. By the time your page has loaded, the db has the token, the page has the token.
If the token isn't there as a result of second access , then don't stream the file. Show 12 more comments. Clayton Graul Clayton Graul 1, 1 1 gold badge 9 9 silver badges 7 7 bronze badges. That is fantastic! It does a great job from preventing ordinary people from downloading the video! This does not help however if JavaScript is disabled in the browser. Just inspect the element in Firebug, see the src attribute, and open that in another tab or use wget to download it!
I think the main aim of this is to avoid "normal" users to download the video. This is a good solution to solve this situation. Show 5 more comments. Yes, you can do this in three steps: Place the files you want to protect in a subdirectory of the directory where your code is running. Timo Schwarzer 3 3 silver badges 17 17 bronze badges.
Tzshand Tzshand 1, 11 11 silver badges 14 14 bronze badges. However, this is a very clever solution. If you club this with a one-time code on the file, you're good to go! It seems still IDM can download it!
PersianMan Correct - I encourage you to read the first answers — Tzshand. If you disable the javascript from browser, then this trick won't work, since then right click gets enabled. To avoid that too, you should fetch and load the video element dynamically using jquery. Show 3 more comments. Community Bot 1 1 1 silver badge. Starx Starx By the way, this answer apply with HTML5 videos, flash videos, or any technology you can imagine in the future.
It's simple: it's how it works. That is not an answer to either of the questions. People could record their entire screen and audio and fool all workarounds, that is why they can only be slowed down.
Everytime I searched about techniques to make it harder for my users to download or copy our copyrighted contents which is expensive to make, sold at expensive price and is exclusive content some people post "you can't". IlanSchemoul Interesting. Thanks for sharing : — Starx. Christian Giupponi 6, 10 10 gold badges 59 59 silver badges bronze badges. Daniele Cannova Daniele Cannova 3 3 silver badges 5 5 bronze badges. Sajan Sajan 9 9 silver badges 13 13 bronze badges.
YouTube uses Blob now too i think :? Can you explain what's going on here more clearly and how to set up the server for this? Will they need to wait until all the video download? Don't quote me on this though If I inspect the page, in the Network tab I get a request for the video that I can just open in a new tab.
Show 9 more comments. I like the solution- it solves OPs question. One unfortunate thing is, when the checks the source code in Chrome and right-clicks on the link.
The user will download a html file, which in fact will be the video file. Highly underrated comment. I'd advise using docs. If the token expires, does that mean they cannot navigate around the video either? As this seems to contact the video URL again. Jcyrss Jcyrss 1, 1 1 gold badge 12 12 silver badges 25 25 bronze badges. TxRegex TxRegex 2, 18 18 silver badges 20 20 bronze badges. Here is a JSFiddle example. Xantium Xantium 9, 9 9 gold badges 55 55 silver badges 80 80 bronze badges.
Simone I agree, however it is better than showing it directly in the html source, where anybody that right clicks it can see it immediatly. You could always split up the url or encrypt it. But remember that is additional processing — Xantium. Calculate the time between request if you receive so many requests that the time between them is the same, then you should block the user.
Mohammad Hossein Amri Mohammad Hossein Amri 1, 2 2 gold badges 20 20 silver badges 36 36 bronze badges. CommentUser CommentUser 39 1 1 bronze badge. Alex Babak Alex Babak 2 2 silver badges 15 15 bronze badges.
Calum Childs Calum Childs 2 2 silver badges 11 11 bronze badges. Koby Douek Koby Douek Jonathan J. Pecany Jonathan J. Pecany 11 11 bronze badges. Video streaming over websockets using JavaScript I think that would provide another level of protection making it more difficult for the client to acquire the video and of course solve your problem with "Save video as Guy Guy 1, 15 15 silver badges 16 16 bronze badges.
Matteus Barbosa Matteus Barbosa 1, 14 14 silver badges 18 18 bronze badges. People can use it and write it to the canvas and then concatenate all the chunks together to get the video, So there is no way to stop them from downloading the video if they really want it.
Carson Carson 2, 1 1 gold badge 18 18 silver badges 28 28 bronze badges. Zimba Zimba 1, 11 11 silver badges 17 17 bronze badges. Ryan Crews Ryan Crews 2, 1 1 gold badge 31 31 silver badges 27 27 bronze badges.
0コメント