Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1305945

    https://kriesi.at/documentation/enfold/privacy-cookies/#developer-info

    can i use aviaPrivacyVideoEmbedsDisabled them f.e. in jQuery scripts to do something.

    I like to place an overlay with detailed Privacy instructions on avia-video youtube ( vimeo ) embeds that hampers the click event.
    i want to place on that page a [av_privacy_video_embeds] – and if it is set all overlays are set to opacity 0 and pointer-events none.
    And can i remove those “av-toggle-switch” if the concerning rule is enabled before f.e. on first page load by accepting all cookies.

    #1305949

    ok – i see there is a hidden checkbox with id and class – so i can use

    $('.aviaPrivacyVideoEmbedsDisabled:checkbox').change(function() {
         if (this.checked) {
           // do something
         } 
    });
    
    // or :
    
    if ($('.aviaPrivacyVideoEmbedsDisabled:checkbox').is(':checked')) {
          // do something
    }
    #1308149

    Hi,

    Thanks for sharing your solution @Guenni007! :)

    Best regards,
    Yigit

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