WordPress.org

Forums

Featured Video Plus
Missing allowfullscreen (5 posts)

  1. callmeforsox
    Member
    Posted 1 year ago #

    The code for the youtube embed is missing allowfullscreen.

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

  2. shortster
    Member
    Posted 1 year ago #

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

  3. jadeadele
    Member
    Posted 1 year ago #

    agreed. Could this be fixed?

  4. Runo
    Member
    Posted 12 months 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.

  5. Sharon
    Member
    Posted 10 months ago #

    Hi - Is this still the code fix to general.php to get fullscreen option to work?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Featured Video Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.