vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   break.com (https://vborg.vbsupport.ru/showthread.php?t=199679)

puertoblack2003 12-24-2008 04:27 AM

break.com
 
calling all coders.lots of our member have been posting video from break.com so they are asking if i can create a bbcode for it just like youtube is this the correct way to use in custom bbocode manager?


Code:

<param name="allowScriptAccess" value="always"></param><embed src="http://embed.break.com/610154" type="application/x-shockwave-flash" allowScriptAccess="always" width="464" height="376"></embed>
thanks pb

Digital Jedi 12-24-2008 04:29 AM

Embed Break.com Videos - BBCode

Alternatively, if you want more options, you can take a look at the link in my signature.

puertoblack2003 12-24-2008 04:54 AM

Quote:

Originally Posted by Digital Jedi (Post 1692607)
Embed Break.com Videos - BBCode

Alternatively, if you want more options, you can take a look at the link in my signature.

thanks i tried that hack out and its not working at all..unlike youtube you have to imput that video number at the end.With break.com you have to put the whole url,When i tried the one i posted its working but i was just wondering if thats the correct way of coding it?

thanks

Digital Jedi 12-24-2008 05:22 AM

Well, not really a hack, just a custom BBCode. Unless you mean the AME modification, which requires no BBCode at all, just the page link.

The code you posted wont work as it has no {param} in it. It will post the same video each and every time. You need to define some kind of {param} for your users to put into the BBCode tags. For Break, you probably need to make the ID number the {param}.


All times are GMT. The time now is 12:59 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00997 seconds
  • Memory Usage 1,715KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete