New Landing How can we help? Themeforest Theme Support Flexform Youtube video on thumbnail and full screen button

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Flexform
  • #95020
    interten
    Member
    Post count: 9

    Hi,

    i enter a youtube video on a thumbnail, in a portfolio item. But i cant find how to add the full screen button as its made in vimeo videos.

    The thumbnail size is very small and if that functionality (full screen) is not there, it makes that wonderful video thumbnail useless.

    Any suggestions?

    #95482
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @interten

    I think this is standard YouTube iframe functionality, not something the theme controls.

    – Ed

    #95483
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Try changing functions.php line 773 to:

    return '<iframe src="http://www.youtube.com/embed/'. $video_id[1] .'?wmode=transparent" allowfullscreen width="'. $width .'" height="'. $height .'" ></iframe>';

    – Ed

    #95874
    interten
    Member
    Post count: 9

    Hi,

    i changed the functions.php on line 773

    from

    width: 16px;

    to

    return '<iframe src="http://www.youtube.com/embed/'. $video_id[1] .'?wmode=transparent" allowfullscreen width="'. $width .'" height="'. $height .'" ></iframe>';

    but nothing changed.

    You can check the youtube thumbnail here:

    Please help because its very important to be able to go fullscreen.

    Thanks for your time

    #96117
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I have forwarded this to Ed so that he can look into this for you

    – Kyle

    #96134
    interten
    Member
    Post count: 9

    Ok…

    thanks a lot

    #96162
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    I think you may have changed the wrong line.. The line should be within:

    function video_youtube($url, $width = 640, $height = 480){
    	
    		preg_match('/[\\?\\&]v=([^\\?\\&]+)/', $url, $video_id);
    		
    		return '<iframe src="http://www.youtube.com/embed/'. $video_id[1] .'?wmode=transparent" width="'. $width .'" height="'. $height .'" ></iframe>';
    				
    	}

    – Ed

    #96180
    interten
    Member
    Post count: 9

    Yes, for some reason i confused the lines….

    It worked… Thank you for the great support

    I think that you could include that little change in the next update of the theme. Its very useful for the users of the sites.

    Thanks again.

    #96182
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great, thanks Ed

    – Kyle

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register