We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

How to create ‘hotspots’ that pop up an iframe

Home Forums Puzzles How to create ‘hotspots’ that pop up an iframe

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #35121
    Max Lim
    Customer

    Hi Everyone

    Is is possible to create a hotspot
    (something like the ‘add annotation…’ puzzle)

    but instead of seeing text, it opens a window, like the text box, that is an iframe to something else on the internet.

    Thanks!

    #35130
    visualizer
    Participant

    This is interesting really.
    If this an happen

    #35150

    Hi, the “add annotation” puzzle supports iframes:

    annotation_iframe.png

    annotation_iframe_scene.png

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead developer at Soft8Soft.

    #35205
    visualizer
    Participant

    Hi

    @Ivan

    It took me while to hunt down this “Add Annotation baby” in puzzle editor
    It is always a tedious to locate some puzzles quickly in puzzle editor.
    There is no search facility. There should be one.

    • This reply was modified 1 year, 10 months ago by visualizer.
    #35207
    visualizer
    Participant

    Hi
    also how can I increase or decrease the size of that iframe window?
    is there any puzzle can help me to define its height & width?

    Regards

    #35221

    Hi visualizer,

    It took me while to hunt down this “Add Annotation baby” in puzzle editor
    It is always a tedious to locate some puzzles quickly in puzzle editor.
    There is no search facility. There should be one.

    Yes, it’s not convenient to search for certain puzzles, if you don’t know which category they are in. Thanks for the request, we’ll think about implementing something like that.

    also how can I increase or decrease the size of that iframe window?
    is there any puzzle can help me to define its height & width?

    You can set the size via the iframe width/height attributes like this:

    
    <iframe width="500" height="500" src="https://www.soft8soft.com"></iframe>
    

    anno_width_height.png

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead developer at Soft8Soft.

    #35231
    visualizer
    Participant

    Hi
    Evan,

    That’s great and working nice ! :))

    Is this trick usable to make the youtube video play in iframe? ( either auto play or on click play )

    #35251

    Is this trick usable to make the youtube video play in iframe? ( either auto play or on click play )

    yes, you can follow this manual to get the embedding code and then just paste it into puzzles: https://support.google.com/youtube/answer/171780?hl=en

    Co-founder and lead developer at Soft8Soft.

    #35325
    visualizer
    Participant

    @Ivan
    Excellent help. Very interesting. It worked.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.