Firefox PHP

Module: BBcode Video

Posted by Maurice Makaay 
Re: Module: BBcode Video
December 08, 2016 07:13AM
Thank you for updating this module. Fortunately, youtubes are embedded and working. Unfortunately, when I click settings under Modules, I get a blank page. Also, the video icon for the editor doesn't show up.

I am using 5.2

Can you please help me?

Thanks



Edited 1 time(s). Last edit at 12/08/2016 07:33AM by Vanessa831.
Re: Module: BBcode Video
December 09, 2016 10:05AM
Hi Vanessa,

Quote
Vanessa831
Unfortunately, when I click settings under Modules, I get a blank page.

Please activate the Event Logging Module and look there for error messages or look into your server error log.

Regards
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Re: Module: BBcode Video
July 16, 2018 11:41AM
Quick fix for PHP 7
In case anyone else can't get this to work, and is also getting the unexpected new (T_NEW) error error on clicking the module settings, try editing bbcode_video/settings.php line 19 and deleting the ampersand (&).
Re: Module: BBcode Video
March 31, 2020 12:27AM
Well, if anyone is alive ?

The video displays perfectly when I link from you tube, I just dont care.

But when I want to dispaly my video it just shows the link.

How come it refuses to generate the simple code to invoke the player if the url is not youtube or a commercial provider ?

my video

it just shows video : [ de-pascale.pagesperso-orange.fr ]
Re: Module: BBcode Video
March 31, 2020 07:09PM
Here is the reason... from bbcode_video.php

Language: PHP
// Handle unknown videos. Turn them into standard URLs. $search[] = "/\[video\](.+)\[\/video\]/is"; $replace[] = "video: [url]$1[/url]";

That said, you are on your own to change it to something that works.
The code above it has several examples.
Sorry, only registered users may post in this forum.

Click here to login