eduardosuruagy Posted March 23, 2021 Share Posted March 23, 2021 Quando eu reproduzo um vídeo no UniHTMLFrame, um ícone com 3 pontos aparece e ao clicar nesse ícone, há uma opção para baixar o vídeo, como posso desabilitar essa opção? Quote Link to comment Share on other sites More sharing options...
david_navigator Posted March 24, 2021 Share Posted March 24, 2021 Can you use a similar solution to this ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 24, 2021 Share Posted March 24, 2021 16 hours ago, eduardosuruagy said: Quando eu reproduzo um vídeo no UniHTMLFrame, um ícone com 3 pontos aparece e ao clicar nesse ícone, há uma opção para baixar o vídeo, como posso desabilitar essa opção? Please provide more details. Attach a test case if possible. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted March 24, 2021 Author Share Posted March 24, 2021 An example is attached 3 hours ago, Sherzod said: Forneça mais detalhes. Anexe um caso de teste, se possível. Unigui - Video.rar Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 24, 2021 Share Posted March 24, 2021 2 hours ago, eduardosuruagy said: An example is attached Try add controlsList="nodownload" UniHTMLFrame1.HTML.Add(' <!DOCTYPE html> '+ ' <html> '+ ' <body> '+ ' <video width="'+ IntToStr(UniHTMLFrame1.Width) +'" height="'+ IntToStr(UniHTMLFrame1.Height) +'" autoplay muted loop controls controlsList="nodownload">'+ ' <source src="files/oceans.mp4" type="video/mp4"> '+ ' </video> '+ ' </body> '+ ' </html> '); Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted March 24, 2021 Author Share Posted March 24, 2021 8 minutes ago, Sherzod said: Try add controlsList="nodownload" UniHTMLFrame1.HTML.Add(' <!DOCTYPE html> '+ ' <html> '+ ' <body> '+ ' <video width="'+ IntToStr(UniHTMLFrame1.Width) +'" height="'+ IntToStr(UniHTMLFrame1.Height) +'" autoplay muted loop controls controlsList="nodownload">'+ ' <source src="files/oceans.mp4" type="video/mp4"> '+ ' </video> '+ ' </body> '+ ' </html> '); great, it worked perfectly. Thank you very much!! Quote Link to comment Share on other sites More sharing options...
herculanojs Posted August 19, 2021 Share Posted August 19, 2021 On 3/24/2021 at 1:52 PM, eduardosuruagy said: great, it worked perfectly. Thank you very much!! How could I adapt the code to run youtube video? Quote Link to comment Share on other sites More sharing options...
DFong Posted August 19, 2021 Share Posted August 19, 2021 <iframe src="https://www.youtube.com/embed/XZmGGAbHqa0?rel=0&hd=0&autoplay=0" frameborder="0" width="300"></iframe> Quote Link to comment Share on other sites More sharing options...
herculanojs Posted August 26, 2021 Share Posted August 26, 2021 On 8/19/2021 at 7:48 PM, DFong said: <iframe src="https://www.youtube.com/embed/XZmGGAbHqa0?rel=0&hd=0&autoplay=0" frameborder="0" width="300"></iframe> show, thank you Quote Link to comment Share on other sites More sharing options...
herculanojs Posted August 26, 2021 Share Posted August 26, 2021 24 minutes ago, herculanojs said: show, thank you <iframe src="https://www.youtube.com/watch?v=zmkAlcOd_AA?rel=0&hd=0&autoplay=0" frameborder="0" width="300"></iframe> www.youtube.com refused the connection. What can it be? Quote Link to comment Share on other sites More sharing options...
herculanojs Posted August 26, 2021 Share Posted August 26, 2021 I already managed to understand and resolve, thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.