Viewing 30 posts - 1 through 30 (of 32 total)
  • Author
    Posts
  • #1109838

    All information in private content

    • This topic was modified 5 years, 6 months ago by Borlabs. Reason: grammar
    #1110178

    Hey Ben,

    Sorry for the problem. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1110291

    Uhm can you see the updated information with all login data?

    #1110292

    Terrible support system!

    #1111236

    Any updates?

    #1111246

    Hey,

    I checked video issue however from source code it seems to be related to “Borlabs Cookie – Cookie Opt-in” plugin you are using. This is not how video element works on Enfold by default. I attached a screenshot in private content field. Please contact plugin authors.

    Cheers!
    Yigit

    #1111249
    This reply has been marked as private.
    #1111255

    Hi,

    I am going to need to ask our devs regarding that as out of the box Enfold does not wrap video into script tag. Please kindly wait to hear from us.

    Best regards,
    Yigit

    #1111597

    Hi,

    We can add a filter for that.

    Can you please have a look at enfold\config-templatebuilder\avia-shortcodes\video\video.php around line 371;

    
    $output = "<script type='text/html' class='av-video-tmpl'>{$output}</script>";
    

    $output is the WP embed shortcode (see line 346).

    Shall we provide a filter for this complete line or only for the script tag?

    Best regards,
    Günter

    #1111600
    This reply has been marked as private.
    #1111899

    Hi,

    Check enfold\config-templatebuilder\avia-shortcodes\video\video.js.

    If you want to handle everything of your own we could provide a filter after line 375 (with the shortcode parameters) that allows you to replace the output variable – or before return in line 400 where you can modify the complete return value.

    Best regards,
    Günter

    #1111918
    This reply has been marked as private.
    #1112250

    Hi,

    You can find links to the latest versions of the video.php and video.js file in the private field.

    Best regards,
    Ismael

    #1112523

    Well with borlabs nick and link to borlabs page – i guess he is a developer for borlabs ;)

    #1112602

    Hi,

    That is correct @guenni007 and congratulations on your 5000th post! You have been great help to us and to fellow Enfold users for years. Thank you :)

    Cheers!
    Yigit

    #1112651

    Hi,
    Wooho! Congrats and thanks @Guenni007 :)

    Best regards,
    Mike

    #1113242

    Hi,

    @Borlabs

    I added 2 filters:

    avf_sc_video_video_content
    avf_sc_video_output

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_7/temp_filters_video/video.php

    Please check if they help you or what should be changed.

    Best regards,
    Günter

    #1113244
    This reply has been marked as private.
    #1114969
    This reply has been marked as private.
    #1114973

    you have an example where these filters now work in conjunction with Borlabs cookies and videos.
    I like to use this plugin myself – and would like to upgrade from my 1.9.9 Agency license to 2.0 soon, so it would be interesting for me to know if everything works fine with Enfold.

    #1114974

    @Guenni007: It’s already working with the Code-Block element. The workaround for Enfold (Video-Block element) is implemented and will be released soon. I hope their update with the new filter will also be released soon.

    #1115748

    Hi,

    @Borlabs

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_5_7/temp_filters_video/video.php

    I added parameter $video_html_raw to filter avf_sc_video_output.

    Hope this helps you.

    You can check for global variable $avia_config – looks more reliable as this is used by the theme to store settings,….

    Best regards,
    Günter

    #1115822
    This reply has been marked as private.
    #1115848

    Hi,

    In the next release – but no eta for it now.

    Best regards,
    Günter

    #1146441

    on Enfold 4.6.3.1 i have troubles with the self-hosted Video and new lightbox feature of Video ALB. Does it possibly have to do with this subject here?
    When i deactivate the plugin, the video in lightbox works.

    #1146466

    on : ‎⁨ ⁨borlabs-cookie⁩ ▸ ⁨classes⁩ ▸ ⁨Cookie⁩ ▸ ⁨Frontend⁩ in Frontend.php

    if I comment out the enfold lines the function runs ! :

    line 116:

    // Enfold
    if (function_exists('avia_register_frontend_scripts')) {
        add_action('avf_sc_video_output', [ThirdParty\Themes\Enfold::getInstance(), 'modifyVideoOutput'], 100, 6);
    } 

    so there must be something in the Enfold.php that blocks selfhosted Videos.
    borlabs-cookie⁩ ▸ ⁨classes⁩ ▸ ⁨Cookie⁩ ▸ ⁨Frontend⁩ ▸ ⁨ThirdParty⁩ ▸ ⁨Themes⁩ ▸ Enfold.php

    #1146468

    This behaviour is currently investigated.

    #1146486

    i tested to replace the new output in 4.6.3.1 in Enfold.php of Borlabs
    :

    
    $output = "<div {$meta['custom_el_id']} class='avia-video avia-video-{$format} {$html} {$custom_class} {$av_display_classes}' {$style} {$markup} data-original_url='{$src}' >{$output}</div>";
    

    then it runs as expected

    #1146491

    We do not see update 4.6.3.1 :-(

    #1146497
    function avia_is_200($url)
    {
        $options['http'] = array(
            'method' => "HEAD",
            'ignore_errors' => 1,
            'max_redirects' => 0
        );
        $body = @file_get_contents($url, null, stream_context_create($options), 0, 1);
        sscanf($http_response_header[0], 'HTTP/%*d.%*d %d', $code);
        return $code === 200;
    }

    How exactly is this supposed to work?? $http_response_header is not defined…

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