This topic was marked solved by Nao, on July 21st, 12:18 PM
YouTube Videos not Fullscreen

Franky

  • Posts: 16
YouTube Videos not Fullscreen
«  »
YouTube videos can no longer be displayed in full screen. Is there a solution for this?

Nao

  • Dadman with a boy
  • Posts: 16,019
Re: YouTube Videos not Fullscreen
« Reply #1,  »
Doesn't it depend on the video author's choices..? Afaik it's a setting. Per video.

Gosh was I out so long that a spam message remained here for 2 weeks and still no one reported it..?

Franky

  • Posts: 16
Re: YouTube Videos not Fullscreen
« Reply #2,  »
This is in the file Aeva-Embed.php

Aeva-Embed.php
from line 291
Quote from php
// Depending on the plugin, use different parameters
   if (empty($arr['plugin']) || $arr['plugin'] == 'flash')
   {
      $plugin = array(
         'classid' => 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
         'type' => 'application/x-shockwave-flash',
         'params' => array(
            'wmode' => 'transparent', 'quality' => 'high', 'allowFullScreen' => 'true', 'allowScriptAccess' => !empty($arr['allow-script']) ? 'always' : 'never',
            'pluginspage' => 'http://get.adobe.com/flashplayer', 'autoplay' => 'false', 'autostart' => 'false',
         ),
      );
   }
'allowFullScreen' => 'true',

But it does not work.

The whole Api has changed over the years.  https://developers.google.com/youtube/player_parameters?hl=en

Also the aspect ratios are no longer correct, in a 16: 9 screen.

Are you ready to upgrade for Media Gallery for Wedge?

Nao

  • Dadman with a boy
  • Posts: 16,019

Franky

  • Posts: 16

Nao

  • Dadman with a boy
  • Posts: 16,019
Re: YouTube Videos not Fullscreen
« Reply #5,  »
I don't know what to say... My code only uses the default iframe embed system. Except it's the nocookie version, because I was asked by privacy activists to prefer that one over the regular one... Meh.

I tried embedding a video, and didn't get anything. Probably an issue with my computer refusing Flash content. I don't know. I don't really bother for now.

If you have any further questions and you're on Steam, you can add me (ID is naogilles) to chat. Maybe we can fix this quicker. Right now I'm busier on other things I'm afraid. It's note like Wedge's is a very busy community. :-/

Franky

  • Posts: 16

Nao

  • Dadman with a boy
  • Posts: 16,019