vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Megavideo BBcode No Pop UP Ads! (https://vborg.vbsupport.ru/showthread.php?t=231557)

min0taur 12-28-2009 10:00 PM

Megavideo BBcode No Pop UP Ads!
 
1 Attachment(s)
I Noticed that Megavideo was Not Added in Vbulletin's Video Code. And Some Embed Codes Has Pop UP Ads Here is the One I used to My Site...

Add New Custom BBcode.

Title: Megavideo BBcode

BB Code Tag Name: mv

Replacement:

Code:

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="432" height="351"><param name="movie" value="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" /><param name="play" value="false" />
<param name="loop" value="false" /><param name="quality" value="high" />
<param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" />
<embed src="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="432" height="351" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal">
</embed></object>

Description: MegaVideo.com BBCode

Use {option}: No

Then Save!

Sample Usage:
For Video: http://www.megavideo.com/?v=Z3FI4OIC

[mv]Z3FI4OIC[/mv]

Vaupell 12-29-2009 12:18 PM

tx for the code.

But tx.. tagging it, incase it comes in a request.

desi-boy 12-29-2009 02:24 PM

wow very good but where is full screen button ..

Toxic2 12-31-2009 03:35 AM

tagged for when i get time to install. tks

Sagua 12-31-2009 04:29 AM

Installed Thanks! :up:

Koconem 12-31-2009 11:29 PM

here is full screen button =/

jose_ramirez 01-13-2010 06:09 AM

Thank, installed and roll

dacho 01-13-2010 07:25 AM

thank you
I'll test it on my forum

timurg69 01-26-2010 09:34 AM

video bbcode
I have a lot of their forum to get some information was examined under disen information I have my onw website video bbcode instaled to forum

I want to video my website also under the video link is viewable

Insert Video
Video URL:
Example: http://www.youtube.com/watch?v=1234567

Supported video sources:
Hulu, YouTube, Vimeo, Dailymotion, Metacafe, Google, facebook,

There I would like my onw video website Have I dursucht with their forum and I have performed either following

In
bbcode_video_vbulletin.xml

I wrote my script

<Provider tagoption="bayburttv">
Bayburt <title> TV </ title>
<url> http://www.bayburt.eu </ url>
<regex_url> <! [CDATA [http: \ / \ / www \. Bayburt \. eu \ / mediadetails.php \? key = ([a-z0-9-_ ]+)]]></ regex_url>
<regex_scrape> </ regex_scrape>
' onmouseout="this.style.backgroundColor='#fff'">/ embed.js.php? id = (vb: raw code) ">
</SPAN><param name="movie" value="http://www.bayburt.eu/js/embed.js.php?id={vb:raw code}" />
<param name="wmode" value="transparent" /> </ object >]]></ embed>
</ provider>

Dan, I have templates

johnny713 02-23-2010 12:44 AM

I will try this :D. Thank You !!!

ahmedipa 02-23-2010 03:48 AM

I will try this next time thank you

timurg69 02-24-2010 10:08 AM

I tried it but this will not, and how
I do not knows where I can make errors

daveaite 04-18-2010 02:33 AM

Yep, I can confirm I get errors as well.

compact123 10-25-2010 01:09 PM

thanks mate

p@ndu 11-16-2010 01:30 PM

getting errors...


Code:

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

    * <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="432" height="351"><param name="movie" value="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" /><param name="play" value="false" /> <param name="loop" value="false" /><param name="quality" value="high" /> <param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" /> <embed src="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="432" height="351" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal"> </embed></object>

getting this error

123_y_321 11-18-2010 11:24 AM

no longer working.

l2-inferno 11-19-2010 07:44 PM

Quote:

Originally Posted by desi-boy (Post 1941552)
wow very good but where is full screen button ..

yes xd where is it?

l2-inferno 11-21-2010 10:33 AM

Quote:

Originally Posted by l2-inferno (Post 2123663)
yes xd where is it?

???? pls help

Bob_R 11-30-2010 11:32 PM

Quote:

Originally Posted by 123_y_321 (Post 2123137)
no longer working.

Same here. :confused:

Madita 12-20-2010 08:44 PM

It does not work for 4.0.6 either !! ??? :(

Madita 12-22-2010 07:02 PM

At least with the " correction for the params you dont get an error report anymore

But its doesnt still work...

Quote:

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="432" height="351"><param name="movie" value="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v"{param}"&image=" /><param name="play" value="false" /> <param name="loop" value="false" /><param name="quality" value="high" /> <param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" /> <embed src="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v="{param}"&image=" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="432" height="351" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal"> </embed></object>

As I am no coder :( and have no idea whats really going on with codes, (just get the double quote mistake correct by trying)
So please can someonemake this bbcode work ???
Isn't it somewhat ridicoulus that no one can get a/the Megavideo bbcode work for the highly praised VBulletin ????
At least someone could say it will not work, when its so...

abdelali 12-23-2010 12:08 AM

User this remplacement.

Quote:

<object width="425" height="350">
<param name="movie" value="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.608599084 0.0"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.608599084 0.0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></obje
ct>

anushkumarb 04-13-2011 10:46 PM

Thanks, installed but getting this error

Quote:

The following BB Code replacement may not be properly formed. All HTML attributes should be enclosed within double quotes.

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="432" height="351"><param name="movie" value="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" /><param name="play" value="false" /> <param name="loop" value="false" /><param name="quality" value="high" /> <param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" /> <embed src="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="432" height="351" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal"> </embed></object>

iMaverick 04-29-2011 10:48 PM

HOw can we get this to work with the whole URL?

CaptCom 06-19-2011 02:24 PM

Quote:

Originally Posted by abdelali (Post 2137829)
User this remplacement.

<object width="425" height="350">
<param name="movie" value="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.608599084 0.0"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.608599084 0.0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Working #1 Thank you!!!

Just a little question.... How to change the white background??

goxy63 09-05-2011 05:14 PM

its working just great on vb4
only no full screen option :D
anyone know how to add one to this code???

SuperTaz 09-05-2011 08:11 PM

Does not work.

goxy63 09-06-2011 12:59 AM

Quote:

Originally Posted by SuperTaz (Post 2242328)
Does not work.

Whats not working, says ur a coder or... what help is to anyone if u say "its not working"???

This is only one without damn pop-ups, great bb code if you need megavideo on ur forums

And it is working :eek: with only one problem by me and that is no full screen button :)

btw
read all posts, not sure did I change original code, but all I needed was in this thread...I am no coder and you will find out what or how....
PLEASE SOMEONE HELP WITH FULL SCREEN BUTTON :)

SuperTaz 09-06-2011 01:07 AM

The mod authors mod does not work, but, this one does: Click Me

However, you can combine the two by using this replacement:

Code:

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="425" height="320">
<param name="movie" value="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.6085990840.0"></param>
<param name="wmode" value="transparent"></param>
<embed src="http://www.megavideo.com/v/{param}7922083514b4200acc4b4bdf8b3550684.6085990840.0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="320"></embed></object>

Works great like this. :)

goxy63 09-06-2011 01:19 AM

well compare this one with authors,

on my forums and working 101%
Code:

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="648" height="527"><param name="movie" value="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" /><param name="play" value="false" />
<param name="loop" value="false" /><param name="quality" value="high" />
<param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" />
<embed src="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="648" height="527" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal">
</embed></object>

will pm you a link so that you can see it in action


authors, thinks its same as one on my forums, I changed just size
Code:

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="432" height="351"><param name="movie" value="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" /><param name="play" value="false" />
<param name="loop" value="false" /><param name="quality" value="high" />
<param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" />
<embed src="http://wwwstatic.megavideo.com/ep_gr.swf?&amp;v={param}&image=" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="432" height="351" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal">
</embed></object>

Now coders will someone help me/us with full screen button on this code :)
TY

goxy63 09-13-2011 11:38 AM

Please hlep with full screen button, thanks


All times are GMT. The time now is 08:45 PM.

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.01754 seconds
  • Memory Usage 1,817KB
  • 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
  • (5)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (31)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