-
AuthorPosts
-
September 25, 2020 at 10:19 am #1248359
I’m having trouble with the Ajax portfolio: the content is showing above the image but videos are not working. When a video is inserted the content is visible in the footer of the page. WordPress, Enfold and all plugins are up to date. Deactivating all plugins doesn´t help. What could be the reason for this?
September 29, 2020 at 4:58 am #1249217Hey findr,
Thank you for the inquiry.
Looks like lazy loading is enabled for the videos. Did you embed the video shortcode in the portfolio? What happens when you disable lazy loading?
If you did embed the video using a shortcode, try to set the conditional_playparameter to blank. The video shortcode should look something like this.
[av_video src='https://' mobile_image='' attachment='' attachment_size='' format='16-9' width='16' height='9' conditional_play='' id='' custom_class='' av_uid='av-kfnd72u7']Best regards,
IsmaelSeptember 29, 2020 at 9:59 am #1249298Hi Ismael,
thank you, but disabling lazy load and adding conditional_play to the shortcode didn’t change anything. You may look for yourself?October 2, 2020 at 6:58 am #1249980Hi,
We just realized that the video is not working as expected because of how the portfolio preview is loaded or rendered in the page. On initial load, the preview is not actually part of the page and will only get included in the page when the corresponding portfolio item for that preview is clicked. This causes the script that is supposed to play the video to fail.
As a workaround, we used the iframe tag instead of the video shortcode. (see private field)
Best regards,
Ismael-
This reply was modified 5 years, 1 month ago by
Ismael.
October 2, 2020 at 10:01 am #1249999Ok, that’s a workaround I can live with. Thank you!
October 2, 2020 at 1:13 pm #1250046Hi findr!
Glad we could help :)
If you need further assistance please let us know.
Cheers!
Victoria -
This reply was modified 5 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
