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

Franky

  • Posts: 16
YouTube Videos not Fullscreen
« on July 15th, 2017, 07:05 PM »
YouTube videos can no longer be displayed in full screen. Is there a solution for this?

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: YouTube Videos not Fullscreen
« Reply #1, on July 16th, 2017, 10:33 AM »
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, on July 16th, 2017, 11:28 AM »
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,079

Franky

  • Posts: 16

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: YouTube Videos not Fullscreen
« Reply #5, on July 19th, 2017, 12:32 PM »
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,079