Keyword

Adding new site into the bot

  • ivo.apostolov
  • ivo.apostolov's Avatar Topic Author
  • Offline
  • New Member
More
17 years 10 months ago #4183 by ivo.apostolov
Adding new site into the bot was created by ivo.apostolov
Hi Fotis and rest of the guys around.

I extended the functionality of the bot by adding a new web-site that can videos be loaded from.

It is vbox7.com (Bulgarian).

Here is the code that makes it works.

Original in 2.4
"biku" => array("<object style=\"".$width." ".$height."\"><param name='movie' value='http://www.biku.com/opus/player.swf?VideoID=***code***&embed=true&autoStart=false'></param>
<embed src='http://www.biku.com/opus/player.swf?VideoID=***code***&embed=true&autoStart=false' type='application/x-shockwave-flash' style=\"".$width." ".$height."\"></embed></object>", "#{biku}(.*?){/biku}#s")

);

Altered to:
"biku" => array("<object style=\"".$width." ".$height."\"><param name='movie' value='http://www.biku.com/opus/player.swf?VideoID=***code***&embed=true&autoStart=false'></param>
<embed src='http://www.biku.com/opus/player.swf?VideoID=***code***&embed=true&autoStart=false' type='application/x-shockwave-flash' style=\"".$width." ".$height."\"></embed></object>", "#{biku}(.*?){/biku}#s"),

"vbox7" => array("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' style=\"".$width." ".$height."\"><param name='movie' value='http://i47.vbox7.com/player/ext.swf?vid=***code***'><param name='quality' value='high'><embed src='http://i47.vbox7.com/player/ext.swf?vid=***code***' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' style=\"".$width." ".$height."\"></embed></object>", "#{vbox7}(.*?){/vbox7}#s") ,


);

Hope this can be added in the next version. Thanks in advance. :)

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
17 years 10 months ago #4184 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Adding new site into the bot
Thank you ivo.apostolov !!!  :)

Please Log in or Create an account to join the conversation.

More
17 years 10 months ago #4185 by Ronald D Rodgers
Replied by Ronald D Rodgers on topic Re: Adding new site into the bot
Thank you for showing this dumb guy how to get a video sharing site added to Allvideos.  I'm sure Fortis is very busy getting 2.5 ready and think AllVideos is a very neat bot.  Since I work for a natural resource organization, I wanted to get a video from birdcinema.com placed on our site to show people this great educational site.  I was having difficulty getting the right formatting set-up until I ran across your post.  So, my small contribution for this bot is:
"birdcinema" => array("<object type='application/x-shockwave-flash' style= \"".$width." ".$height."\" data=\"http://www.birdcinema.com/flvplayer.swf?file=http://www.birdcinema.com/flvideo/***code***.flv ".$autostart."\"><param name='movie' value=\"http://www.birdcinema.com/flvplayer.swf?file=http://www.birdcinema.com/flvideo/***code***.flv ".$autostart."\"><param name='wmode' value='transparent'>
<embed src='http://www.birdcinema.com/flvplayer.swf?file=http://www.birdcinema.com/flvideo/***code***.flv' style=\"".$width." ".$height."\" type='application/x-shockwave-flash'  pluginspage='http://www.macromedia.com/go/getflashplayer'></embed></object>", "#{birdcinema}(.*?){/birdcinema}#s") ,

How to find the ***code***

The app on this site looks like it is from clip-share.com.  I Googled this subset of the script to see what sites used it.  The snippet I looked for contained ....."view_video.php?viewkey"..... which led me to clip-share.com.  I would imagine that any video sharing site that uses clip-share.com could be easily adapted to Allvideos.  And, there was alot of them.  I would assume if you found a site that used clip-share, you would just need to substitute birdcinema.com with the new web address.  But, I digress.  On the address bar, there are keys similar to the other video sharing sites.  But, that is not the ***code*** to use (according to the above coding.)  On clip-share.com enabled sites, there is usually a box located beneath the video that gives the flv file name (found in the "Share Details" with the "Embeddable Player" box).

i.e. "....flvideo/371.flv&auto...." will be entered as { birdcinema }371{ /birdcinema } in your content.

Again, thanks for the great educational experience. ;D



 

Please Log in or Create an account to join the conversation.

  • ivo.apostolov
  • ivo.apostolov's Avatar Topic Author
  • Offline
  • New Member
More
17 years 10 months ago #4186 by ivo.apostolov
Replied by ivo.apostolov on topic Re: Adding new site into the bot
WOW, great it helps :)

Please Log in or Create an account to join the conversation.

More
7 years 2 months ago #166932 by [email protected]
Doesn't work for me on Joomla 2.5 and v 4.7 probable vbox7 have to be removed from the list?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month ago #166946 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Adding new site into the bot
Hello,

If that site serves flv files, then it will not work on the vast majority of modern browsers.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum