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.

Annotation event on click wont work

Home Forums Puzzles Annotation event on click wont work

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #47346
    deedox
    Participant

    Hi, I have troubles with reproducing of what I already had..
    Basically, I want a video to popup in an iframe when I click on an annotation.
    Like in this older example..
    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:731bbef0ca/applications/Panasonic_Chair/index.html

    I had troubles on iPhones with this because the video iframe always automatically popup on initialization.

    The new HTML, CSS and verge code looks like in the pics I attached.

    I hope someone can help. Thanks

    Attachments:
    You must be logged in to view attached files.
    #47402
    haris
    Participant

    Hi,
    deedox instead of doing popup for iframe, you should popup that specific annotation dialog box, it would be much easier, if you want the popup animation let me know :good:

    harisimran1012@gmail.com

    Home Default

    #47406
    deedox
    Participant

    Hello Haris, thank you. Yes, I tried that, but I struggled with the dynamic size of the dialog box. I want the video to be dynamical adjusted to 80% of the screen size. Annotation dialog boxes only work with pixel size, as I understood?

    #47407
    haris
    Participant

    You can “vw” instead of “px” with Annotation dialog boxes, it works fine, If you need more help then checkout this guide: https://harisimran.gumroad.com/l/verge-3d-annotation

    or let me know if you need any further help :bye:

    harisimran1012@gmail.com

    #47430
    deedox
    Participant

    thanks, will take a look at it.

    #47497
    deedox
    Participant

    Hi Haris, but why is it a problem to use an iframe? The code is very simple and it worked already but I can’t reproduce it..
    For some reason the event click wont work.. Without it iframe with the video loads just fine..

    Attachments:
    You must be logged in to view attached files.
    #47511
    haris
    Participant

    Deedox Can you share the source file?

    #47518
    deedox
    Participant

    Hi Haris, thanky you. I sent you an e-mail

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