Youtube bbcode problem

News, updates, like or dislike

Moderators: Mug UK, Silver Surfer, Moderator Team

User avatar
catmando
Atari Super Hero
Atari Super Hero
Posts: 929
Joined: Tue Jan 24, 2006 9:56 pm
Location: London, UK

Youtube bbcode problem

Postby catmando » Fri Dec 09, 2016 8:07 pm

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: 501
Joined: Wed Jun 29, 2011 6:39 am
Location: California / USA
Contact:

Re: Youtube bbcode problem

Postby rpineau » Fri Dec 09, 2016 9:34 pm

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: 683
Joined: Thu Aug 02, 2012 10:33 am
Location: SW Germany

Re: Youtube bbcode problem

Postby mfro » Wed Jul 26, 2017 10:34 am

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.


Social Media

     

Return to “Website Discussions”

Who is online

Users browsing this forum: No registered users and 1 guest