Embed BlazorApp in <Object data-="http://blazorapp.com"/> not working? RRS feed

  • Question

  • User2110873642 posted

    Blazor does not fit my needs as. i still want to integrate some functionalities inside my application from blazor, and i hoped to host it in a seperate website.

    but it does not seem to load in an <object/>.

    Friday, February 19, 2021 8:33 PM

All replies

  • User-939850651 posted

    Hi fazioliamboina,

    First, I'm not sure if you set the wrong, extra "-" symbol in the label properties.

    <Object data-="http://blazorapp.com"/>

    Second, you can't fetch insecure (http) resources from a secure (https) origin. It's called mixed-content and browsers block it for security reasons. You will see the following error message in the browser console. 

    This request has been blocked; the content must be served over HTTPS.

    You could also refer to Mixed content for more details.

    You may see other error messages in the browser console. Can you provide more details?

    Best regards,

    Xudong Peng

    Monday, February 22, 2021 7:02 AM