Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9070425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:41:13+00:00 2026-06-16T17:41:13+00:00

i am creating a window application as well as a web application using c#.

  • 0

i am creating a window application as well as a web application using c#. Scenario is like below:
1. Admin will post messages using Wysiwyg editor( i am using tinyMCE) from the website
2. User will have windows form that will be download the message and display it on the form.

I have taken a webBrowser control to display it. its working fine to display html( formatted text along with picture). problem occurs when we want to display video on it.

I am using following code for that:
webBrowser1.Navigate(“about:blank”);

            HtmlDocument doc = this.webBrowser1.Document;
            doc.Write(String.Empty);
            string strHTML="<p><iframe src="http://www.youtube.com/embed/xXdDjnVM1kI" frameborder="0" width="425" height="350"></iframe></p>\r\n<p><span style="color: #ff0000; font-size: xx-large;">Hi, </span></p>\r\n<p><span style="color: #33cccc; font-size: large;">Enjoy Ganganam Style</span></p>\r\n<p> </p>";
            string strDecoded=System.Net.WebUtility.HtmlDecode(strHTML);             
            webBrowser1.DocumentText = strDecoded;

Its showing me security alert while running it:
Error message

When i add these sites in the trusted site, it works fine. but i want to get ride of these security warning. for that i have tried webBrowser1.ScriptErrorsSuppressed = true;, but its not working also. and also tried How to programmatically answer "Yes" to WebBrowser control security alert.

When webBrowser1.ScriptErrorsSuppressed = true; then iFrame come like below:
error
But i have Adobe Flash Player, and i can play the video by adding the warning site in the trusted sites manually.

Is there any option to avoid these and play the video? any kind of help and suggestion is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T17:41:14+00:00Added an answer on June 16, 2026 at 5:41 pm

    You can fix this by disabling enhanced security or by adding the page to the trusted zone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating an application and I would like to implement a progress window
I am creating a windows application using VB.Net and this application will take a
I have some trouble with creating window application using PyQt. For example: we have
I am creating window c# desktop application I have three columns in my datagridview
In previous versions of Xcode creating a window-based, universal application would populate the project
I'm creating my first application and I have a window consisting of multiple subclasses
I'm creating a simple database application in C# WPF using MVVM as Relay Commands
I am creating a medium level application in Python. Everything works well now, and
I'm creating a Win32 GUI application using Code::Blocks and MinGW. I am using this
I'm creating a WPF application using the MVVM design pattern, and I'm trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.