Standard video code:

<video> <source src="url_video_mp4" type="video/mp4"> <source src="url_video_webm" type="video/webm"> </video> 

enter image description here (unfortunately, this example cannot be caught for the screen)

With this markup, when you click ПКМ video will be available for downloading, how does the real link to the video hide? What label I don’t know and presumably it is either php or js

    1 answer 1

    The <video> is an html5 element for embedding a video into an html document. This is not a link. The browser knows how to handle this tag (show video / add "download" item to context menu). Since this is not a link ( syntactically - as a tag - semantically , it is, of course, a link), there is nothing to hide, and nothing to show in the status line. Although, if desired, the developer, of course, the browser can do it.

    if we talk about "how to hide a link to download from the menu": if you right-click on the youtube video, you will see that there is an item "about html5 player", which, in fact, is js / html strapping around the tag, intercepting the context menu (transparent div over video, for example), issuing your own menu, etc. You can google it further - for example - http://videojs.com/

    • go to youtube or bobfilm and the same right click and that item in the menu will not be, I did not talk about the video tag, I talked about the link to the video that somehow hide it - user33274
    • I misunderstood the question, checked it, edited the answer, and returned the js tag to its place :-) - strangeqargo
    • Thanks for the right click. This is the solution to the question - user33274