Media Player (private video & suppress menu)

0 Answers 63 Views
MediaPlayer
xav
Top achievements
Rank 1
xav asked on 13 Sep 2022, 11:43 PM

1. Can Media Player play a youtube video that is behind credentials (a private youtube video)? 

2. Is there a way to suppress the popup menu such that commands like "Copy Video URL..." and so fort do not show up.   Ideally, I'd like to suppress the popup altogether. 

Yanislav
Telerik team
commented on 19 Sep 2022, 06:03 AM

Hello, 

1. Regarding private videos, with a simple link, it would not be possible to play them simply because access to them is restricted by YouTube. If you are the owner of the video, you can change the video type to "public" or research for a way how private videos can be shared via a link. Such a shareable link could be used as a source for the MediaPlayer.

2. About the second question, if I understand correctly, you are trying to remove the YouTube context menu. If so, what I can recommend you is to review the following threads: 

https://stackoverflow.com/questions/66300189/disable-youtube-custom-context-menu-right-click-menu-using-javascript
https://www.anycodings.com/1questions/910211/disable-youtube-custom-context-menu-right-click-menu-using-javascript

I hope this helps.

 

No answers yet. Maybe you can help?

Tags
MediaPlayer
Asked by
xav
Top achievements
Rank 1
Share this question
or