FFTogether

FFTogether News and Events => Bugs & Suggestions => Topic started by: Chaos on August 14, 2016, 07:26:26 PM

Title: Embedded Youtube videos no longer work in Chrome
Post by: Chaos on August 14, 2016, 07:26:26 PM
It seems that Google has finally decided to ditch Flash which means that embedded Youtube videos no longer work on FFTogether. There's some fixing to be done, Bram. ;D

You can listen to this beautiful compilation while doing it:

http://www.youtube.com/watch?v=QaAcrSYlfvs

Or maybe not if you're a Chrome user. :P



I googled this a bit. It seems to be a simple matter of replacing some of the generated HTML code. This is what is currently generated:

Code: [Select]
<embed src="http://www.youtube.com/v/QaAcrSYlfvs&amp;rel=1&amp;fs=1" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="never" wmode="transparent" width="425px" height="350px">
  <noembed>
    <a href="http://www.youtube.com/watch?v=QaAcrSYlfvs" target="_blank">http://www.youtube.com/watch?v=QaAcrSYlfvs</a>
  </noembed>
</embed>

This should be the correct HTML:
Code: [Select]
<iframe width="425" height="350" src="https://www.youtube.com/embed/QaAcrSYlfvs" frameborder="0" allowfullscreen></iframe>

Widescreen support would also be nice.
Title: Re: Embedded Youtube videos no longer work in Chrome
Post by: Da_Cloud on August 15, 2016, 11:58:54 AM
The fix is quite simple, but finding where to make that fix isn't :P
Title: Re: Embedded Youtube videos no longer work in Chrome
Post by: Chaos on August 15, 2016, 06:24:04 PM
Start digging. ;D Didn't you make the Youtube tag yourself in the first place?
Title: Re: Embedded Youtube videos no longer work in Chrome
Post by: Da_Cloud on August 15, 2016, 09:17:34 PM
Like 6 years ago or something :o



Thank god for modern IDE's with proper search options :P
Title: Re: Embedded Youtube videos no longer work in Chrome
Post by: Chaos on August 15, 2016, 11:20:14 PM
And it's fixed. ^_^

Just admit it, you wanted to watch the movie on the forum.