godweb Posted July 18, 2020 at 06:33 PM Share Posted July 18, 2020 at 06:33 PM Hi, I'm looking for a solution to improve the performance of the "full width video player" layout, which is very heavy. The idea is to defer the Youtube scripts by following the tips found on Internet, such as https://www.codecanal.com/defer-parsing-javascript-youtube-videos/ or https://www.codecanal.com/defer-parsing-javascript-youtube-videos/ So, as first step I should change <iframe src= to <iframe src="" data-src= Is it possible to achieve this with an override? I searched inside themes/default/elements/listing_detail_media.thtml and themes/default/media/video_gallery_detail.thtml but they are not the right files. Regards Link to comment
Alejandro Posted July 18, 2020 at 10:31 PM Share Posted July 18, 2020 at 10:31 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
godweb Posted July 19, 2020 at 03:25 PM Author Share Posted July 19, 2020 at 03:25 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted July 19, 2020 at 03:55 PM Share Posted July 19, 2020 at 03:55 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
godweb Posted July 19, 2020 at 04:59 PM Author Share Posted July 19, 2020 at 04:59 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Alejandro Posted July 19, 2020 at 05:16 PM Share Posted July 19, 2020 at 05:16 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. godweb 1 Link to comment
Recommended Posts