Viewing 1 replies (of 1 total)
  • Plugin Author kentfarst

    (@kentfarst)

    The code below will provide a temporary fix for the link and I can add in a check for https support. I will look at doing the same for the images but YouTube’s API provides the entire image URL. So it’s a maybe.

    function wpt_preset_init ($presets) {
    	$youtube_preset = $presets->get_preset( 'youtube' );
    	$youtube_preset['modes']['link'] = 'https://www.youtube.com/';
    	$presets->set_preset( 'my_preset', $youtube_preset );
    }
    add_action( 'wp_theater-shortcodes_init', 'wpt_preset_init' );

    Just an FYI but, if you’re capable, you can alter the response and images via the wp_theater-parse_{$service}_response filter.

Viewing 1 replies (of 1 total)
  • The topic ‘https support’ is closed to new replies.