Explore the community Forums Lectora Lectora Questions & Answers Web Window not show content in preview

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #340213 Score: 0
    Profile photo of Mario Madrigal
    Mario Madrigal
    Member
    beginner
    intermediate
    wise owl
    friend finder
    curious george
    1 pt
    @mmadrigal3354

    Hello again.
    We are developing content with a web window on one page.
    The window will load the page https://google.com, which works well in the preview.
    Once the content is published it is not displayed in the web window. The following message appears in the Edge browser:
    “This content can not be displayed in a frame.
    This is supposed to contain content, but the advertiser does not allow it to be displayed in a frame. The reason is to help protect the security of the information you can write on this site.
    Try this
    Open it in a new window (link) “.
    I’ve also tried to make it work with code using an HTML extension, but the result is the same.
    If I try to display another web address, such as http://trivantis.com the result is as expected, the page is displayed in the window and runs correctly.

    I look forward to your valuable help.

    Thank you.

    #340236 Score: 2
    Profile photo of Sergey Snegirev
    Sergey Snegirev
    Member
    contributor
    intermediate
    advanced
    friend finder
    lab member
    junior moderator
    advocate
    LUC16
    LUC16 Attendee
    wise owl
    336 pts
    @ssneg

    Google.com prohibits embedding its website into iframes (web windows). It is a choice made by Google and respected by all browsers (starting from IE8 and newer). There is nothing you can do about it. Google does not want you to do it.

    Workarounds:
    a) simulate Google page by creating its copy somewhere and embedding that
    b) open Google.com in new tab/window instead of embedding

    This post has received 2 votes up.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.