Results 1 to 1 of 1
  1. #1
    New Pligger stoyanoff's Avatar
    Joined
    Oct 2007
    Posts
    2
    Thanks
    Received:0
    Given: 0

    Problem with adding new video source in embed video

    So I'd read may be all threads in forum but did not found any help for my problem.

    I added a new source for video files from a Bulgarian site Vbox7 Покажи Твоите Видео Клипове.

    Here is the code that they provide for embedding videos in your site:

    ------------------------------------------------------------------
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="450" height="403"><param name="movie" value="http://i47.vbox7.com/player/ext.swf?vid=ff4ad560"><param name="quality" value="high"><embed src="http://i47.vbox7.com/player/ext.swf?vid=ff4ad560" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="403"></embed></object>
    --------------------------------------------------------------------

    So I've added in function.embedvideos.php these rows:

    --------------------------------------------------------------------
    // code to replace <vbox7> tags with
    $Vbox = '<object width="450" height="403"><param name="movie" value="http://i47.vbox7.com/player/ext.swf?vid=$1"></param><param name="wmode" value="transparent"></param><embed src="http://i47.vbox7.com/player/ext.swf?vid=$1" type="application/x-shockwave-flash" wmode="transparent" width="450" height="403"></embed></object>' . $post_video_html;
    // replace <vbox7> tags with the vbox7 code
    $displayed_story = preg_replace("/\<vbox\>(.+?)\<\/vbox\>/is", $Vbox, $displayed_story);
    --------------------------------------------------------------------
    Also added tags <vbox> in submit in admin panel.
    ... and after that typed in description for post this <vbox>ff4ad560</vbox>

    And of course it does not works :-)
    it shows me only ff4ad560 - the clip ID.

    And the picture is in attachment.


    I'm running latest vaersion of pligg 9.8.2

    Have any ideas 'bout that?

Similar Threads

  1. Embed Video mod
    By me_love_u in forum Questions & Comments
    Replies: 0
    Last Post: 03-29-2009, 08:45 AM
  2. embed video - adding another video site?
    By amitk in forum Questions & Comments
    Replies: 1
    Last Post: 02-25-2008, 12:57 AM
  3. Embed Video
    By Geoserv in forum Questions & Comments
    Replies: 3
    Last Post: 01-19-2008, 08:47 PM
  4. .WMV Video embed
    By spartacus in forum Questions & Comments
    Replies: 0
    Last Post: 04-08-2007, 11:45 AM
  5. Video Upload and Video Embed
    By 24pfilms in forum Questions & Comments
    Replies: 0
    Last Post: 01-17-2007, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg