禁用“将视频另存为...”右键单击选项 [英] Disable "save video as..." right-click option

查看:1883
本文介绍了禁用“将视频另存为...”右键单击选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图阻止人们在sharepoint2013中下载视频。我可以通过标准选项禁用下载按钮,但是通过右键单击视频并选择"将视频另存为..."仍可轻松下载。

I'm trying to prevent people downloading videos in sharepoint2013. I can disable the download button through the standard options, however its still easy to download by right clicking on the video and selecting "save video as...".

可以使用视频上方iframe上方的小javascript禁用上下文菜单,但iframe方法会导致 浏览器在Windows媒体播放器中启动视频,而不是在框架内显示视频。 

It's possible to disable the contextual menu with a little javascript above an iframe for the video, however the iframe method results in the  browser launching the video in windows media player rather than displaying the video within the frame. 

A)有更好的方法吗?

A) is there a better method for this?

如果没有,

b)如何插入在页面中显示的视频(而不是在WMP中),您还可以在其中插入禁用右键菜单所需的javascript?

b) How do you insert a video which displays within the page (rather than in WMP) where you can also insert the javascript necessary to disable the right click menu?

ps我正在寻找开箱即用的方法,我不想使用任何自定义开发。

p.s. I'm looking for an out of the box method, i dont want to use any custom development.

推荐答案

老实说,我认为你无法阻止从SharePoint站点下载。 

在这里看一些选项..

https://stackoverflow.com/questions / 9756837 / prevent-html5-video-from-being-downloaded-right-click-saved

希望这会有所帮助!

Hope this helps!

------------------------------------------- -------------------------------------------------- ------------

---------------------------------------------------------------------------------------------------------

请不要忘记" mark 
回复为答案
" 如果有帮助,也设置" 喜欢 "
这是我们保持博客的一个推动力 
J

Please don't forget to "mark the replies as answers" if they helped, also set "like" it’s a boost for us to keep blogging J

点击  here  到
了解详情。访问专用的
社区 论坛    分享 ,  探索  和  谈话  到
专家关于Microsoft Kaizala。

Click here to learn more. Visit the dedicated Community forum to shareexplore and talk to experts about Microsoft Kaizala.





这篇关于禁用“将视频另存为...”右键单击选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆