Youtube bbcode problem

News, updates, like or dislike

Moderators: Mug UK, Silver Surfer, Moderator Team

Post Reply
User avatar
catmando
Atari God
Atari God
Posts: 1018
Joined: Tue Jan 24, 2006 9:56 pm
Location: London, UK

Youtube bbcode problem

Post by catmando »

Dal, can you take a look at the youtube shortcode as it appears to not work in some instances or needs to be made easier for people to use so that it does embed properly and display on any device

Cheers
Atari Falcon Tos 4.04 | 14mb | IDE CF 2GB
Atari STE Tos 1.62 | 4mb | HxC Slim SD 8GB
Atari STE Tos 1.62/2.06 | 4mb | Floppy A-B Mod | IDE SD 4GB
Atari STFM
Android Devices (Running Hataroid and SToid)

Atari Forum Wiki - Use it before asking

rpineau
Atari Super Hero
Atari Super Hero
Posts: 514
Joined: Wed Jun 29, 2011 6:39 am
Location: California / USA
Contact:

Re: Youtube bbcode problem

Post by rpineau »

you might need to have it force the html5 version of the video. instead of flash.
Falcon + AB040 + Eclipse PCI + ATI Rage VGA card + NE2000 Ethernec + HxC Floppy Emulator
MegaSTE 4MB + CosmosEx / 1040 STF for hardware dev
http://www.rti-zone.org/atari.php

User avatar
mfro
Atari Super Hero
Atari Super Hero
Posts: 843
Joined: Thu Aug 02, 2012 10:33 am
Location: SW Germany

Re: Youtube bbcode problem

Post by mfro »

I think we discussed the youtube BBcode years ago during the last forum upgrade.
With many browsers disabling flash now for security reasons, this should probably be changed to HTML5 now.

IIRC, we had this BBcode definition:

Code: Select all

[youtube={TEXT}]{SIMPLETEXT}[/youtube]
For HTML5, the HTML replacement should now read:

Code: Select all

<b>{SIMPLETEXT}</b><p> <iframe width="640" height="360" src="https://www.youtube.com/embed/{TEXT}" frameborder="0" allowfullscreen></iframe>
I have this working fine in another phpbb forum.

Post Reply

Return to “Website Discussions”