WordPress.org

Ready to get started?Download WordPress

Forums

Featured Video Plus
Missing allowfullscreen (4 posts)

  1. callmeforsox
    Member
    Posted 1 month ago #

    The code for the youtube embed is missing allowfullscreen.

    https://wordpress.org/plugins/featured-video-plus/

  2. shortster
    Member
    Posted 1 month ago #

    Same here. The option 'Fullscreen Button' in the admin screen doesn't do anything. Seems like a bug.

  3. jadeadele
    Member
    Posted 3 weeks ago #

    agreed. Could this be fixed?

  4. Runo
    Member
    Posted 2 weeks ago #

    If you'd like, I got the option working by changing featured-video-plus/php/general.php's line 98 from

    $embed = "\n\t" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="'.$src.'" type="text/html" frameborder="0" id="fvpyt'.$post_id.'"></iframe>' . "\n";

    to:

    $embed = "\n\t" . '<iframe width="'.$size['width'].'" height="'.$size['height'].'" src="'.$src.'" type="text/html" frameborder="0" id="fvpyt'.$post_id.'"' .$isfullscreen.' ></iframe>' . "\n";

    And then by inserting this line:

    $isfullscreen = isset($options['youtube']['fs']) ? 'allowfullscreen' : '';

    Between lines 95 and 96.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.