Display YouTube Video as a Widget on Scheduled Content

Hi, I am looking for a way to schedule my youtube video, in a widget. I tried to follow the shortcode directions here: , but cannot make it work for a video. Any help appreciated.

  • Kasia Swiderska

    Hello Prasanna,

    I've tested plugin with a text widget with video and it is working fine. I'm using this code:

    [scheduled onetime="2015/12/31" time="01:00 AM" length="0:0:1:0" msg="Wait some time"]
    <iframe width="560" height="315" src="https://www.youtube.com/embed/-Xotj1Ybx4g" frameborder="0" allowfullscreen></iframe>

    Please note, that you need to have this code in your theme functions.php - otherwise shortcode will not work in text widget

    add_filter('widget_text', 'do_shortcode');

    Can you tell me in what way does this not work for you?

    Kind regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.