I’d like to disable autoplay with the fullscreen video shortcode as YouTube made a change within the last few years that does not count autoplays towards total video views.
From reading some older threads, it looks like the change I have to make is in /swift-framework/page-builder/builder/shortcodes/media.php with lines 41/42. I’ve tried adding the following code just after based on the older threads, but am not having any luck:
$embed = str_replace('&autoplay=1','&autoplay=0',$embed);
I’m probably just missing something easy here, hope you can help.
Thanks