-
AuthorPosts
-
June 13, 2019 at 11:58 am #1109838
All information in private content
- This topic was modified 5 years, 5 months ago by Borlabs. Reason: grammar
June 14, 2019 at 4:32 am #1110178Hey 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,
RikardJune 14, 2019 at 12:09 pm #1110291Uhm can you see the updated information with all login data?
June 14, 2019 at 12:11 pm #1110292Terrible support system!
June 18, 2019 at 10:12 am #1111236Any updates?
June 18, 2019 at 10:31 am #1111246Hey,
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!
YigitJune 18, 2019 at 10:35 am #1111249This reply has been marked as private.June 18, 2019 at 10:49 am #1111255Hi,
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,
YigitJune 19, 2019 at 1:33 pm #1111597Hi,
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ünterJune 19, 2019 at 1:46 pm #1111600This reply has been marked as private.June 20, 2019 at 10:56 am #1111899Hi,
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ünterJune 20, 2019 at 12:18 pm #1111918This reply has been marked as private.June 21, 2019 at 9:43 am #1112250Hi,
You can find links to the latest versions of the video.php and video.js file in the private field.
Best regards,
IsmaelJune 22, 2019 at 7:23 am #1112523Well with borlabs nick and link to borlabs page – i guess he is a developer for borlabs ;)
June 22, 2019 at 7:09 pm #1112602Hi,
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!
YigitJune 22, 2019 at 10:10 pm #1112651Hi,
Wooho! Congrats and thanks @Guenni007 :)Best regards,
MikeJune 25, 2019 at 2:37 pm #1113242Hi,
@Borlabs
I added 2 filters:
avf_sc_video_video_content
avf_sc_video_outputPlease check if they help you or what should be changed.
Best regards,
GünterJune 25, 2019 at 2:38 pm #1113244This reply has been marked as private.July 1, 2019 at 9:23 pm #1114969This reply has been marked as private.July 1, 2019 at 10:30 pm #1114973you 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.July 1, 2019 at 10:33 pm #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.
July 4, 2019 at 1:07 pm #1115748Hi,
@Borlabs
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ünterJuly 4, 2019 at 3:46 pm #1115822This reply has been marked as private.July 4, 2019 at 5:28 pm #1115848October 9, 2019 at 9:50 am #1146441on 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.October 9, 2019 at 11:11 am #1146466on : 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.phpOctober 9, 2019 at 11:24 am #1146468This behaviour is currently investigated.
October 9, 2019 at 12:01 pm #1146486i 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
October 9, 2019 at 12:24 pm #1146491We do not see update 4.6.3.1 :-(
October 9, 2019 at 12:31 pm #1146497function 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…
-
AuthorPosts
- You must be logged in to reply to this topic.