Youtube Embed Code missing Video-Code

Posted this accidently into the Dolphin 7.1 forum before but it should be here.

Looks like this never worked, not even in 7.0.9. The generated embed code for a youtube video is missing the video id. So it can never play when embedded somewhere. I can reproduce on demo.boonex.com

Here is the fix

In /modules/boonex/videos/classes/BxVideosTemplate.php

find

$sEmbedCode = str_replace("#video#", $sVideo, YOUTUBE_VIDEO_EMBED);

replace with

$sEmbedCode = str_replace("#video#", $aExtra["video"], YOUTUBE_VIDEO_EMBED);

Beside the fix i have one question. In the same function there is now some alert code in the beginning, whats the reason for that, anybody know? It was added after 7.0.9

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 20 May 2013

Hi

Thanks fo bug report. That should be applied in the nearest version

Quote · 22 May 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.