Torsten Posted February 7, 2008 Share Posted February 7, 2008 I've tried, but it just shows the code and no vids... name="wmode" value="transparent"> type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"> Quote Link to comment Share on other sites More sharing options...
Amulte Posted February 7, 2008 Share Posted February 7, 2008 (edited) it appears its HTML embeded, unless this forum allows objects it wont work... or unless its edited into the html of the page...but then againi could be wrong.... its late Edited February 7, 2008 by Amulte Quote Link to comment Share on other sites More sharing options...
Auxin Posted February 7, 2008 Share Posted February 7, 2008 (edited) <___base_url___>/uploads/emoticons/default_scratchhead.gif name="wmode" value="transparent"> type="application/x-shockwave-flash" wmode="transparent" width="425" height="355">.. Theres a UBB addon to allow UBB youtube code so you can just go Like shown here: Link Edited February 7, 2008 by Auxin Quote Link to comment Share on other sites More sharing options...
Torsten Posted February 7, 2008 Author Share Posted February 7, 2008 we're not UBB anymore. Quote Link to comment Share on other sites More sharing options...
Avaricial Posted February 8, 2008 Share Posted February 8, 2008 would this help ?taken from: > Making Custom YouTube & Metacafe BBCode in IPB, IPB Mod GuideHow to make Custom BBcodes for YouTube and Metacafe and Both these buttons had been custom made with the BBCode custom tag in Admin Control Panel.YouTube will give utube TagsMetacafe will give mtc TagsWhat I did was simple... for example: YouTubeOn every YouTube's video links, you can see they provide embed video code for the particular video,so you can embed it to your website...See the embed code: <object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=cN6G_qZNSbs"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v=cN6G_qZNSbs" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> The codes are all the same for all the videos except that the /v/cN6G_qZNSbs , this part bold & green is the file name...So, the part where I customized in Admin CP for the custom BBcode was simple as well...[step 1] <object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v={content}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v={content}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object> Replaced the file name with {content}, so the BBcode Tags can work in forums...[step 2]Make the Tube Button, Upload to FTP...[step 3]Edit the codes in IPB files /*-------------------------------------------------------------------------*/// INIT/*-------------------------------------------------------------------------*/var i_am = 'std';var rtewindow;var buttonbar;var opentags ={ 'b' : 0, 'i' : 0, 's' : 0, 'u' : 0, 'img' : 0, 'quote' : 0, 'left' : 0, 'center' : 0, 'right' : 0, 'color' : 0, 'background' : 0, 'indent' : 0, 'code' : 0,//MY CUSTOM BUTTON 'utube' : 0, 'mtc' : 0//MY CUSTOM BUTTON};var tags_to_div ={ 'b' : 'do_bold', 'i' : 'do_italic', 's' : 'do_strikethrough', 'u' : 'do_underline', 'quote' : 'do_quote', 'left' : 'do_justifyleft', 'center' : 'do_justifycenter', 'right' : 'do_justifyright', 'color' : 'forecolor', 'background' : 'hilitecolor', 'indent' : 'do_indent', 'code' : 'do_code',//MY CUSTOM BUTTON 'utube' : 'do_utube', 'mtc' : 'mtc'//MY CUSTOM BUTTON}; Both YouTube & metacafe simple tags added into ipb_editor_std.js[step 4]Make template changes in the editor.std template... and DONE! biggrin.gif <!--SEP--> <td><img class="rteVertSep" src="{ipb.vars['img_url']}/folder_rte_images/blackdot.gif" width="1" height="20" border="0" alt=""></td> <!--/SEP--><td><div id='do_button'><img class="rteimage" src="{ipb.vars['img_url']}/folder_rte_images/tube.gif" width="30" height="20" alt="utube" title="utube" onclick="simpletag('utube')"></div></td> <!--SEP--> <td><img class="rteVertSep" src="{ipb.vars['img_url']}/folder_rte_images/blackdot.gif" width="1" height="20" border="0" alt=""></td> <!--/SEP--><td><div id='do_button'><img class="rteimage" src="{ipb.vars['img_url']}/folder_rte_images/meta.gif" width="25" height="25" alt="metacafe" title="metacafe" onclick="simpletag('mtc')"></div></td> --------------------seems like a lot of work for something that should come default though. Quote Link to comment Share on other sites More sharing options...
Auxin Posted February 8, 2008 Share Posted February 8, 2008 we're not UBB anymore. <___base_url___>/uploads/emoticons/default_blink.png<___base_url___>/uploads/emoticons/default_unsure.pngI never claimed to be tremendously observant <___base_url___>/uploads/emoticons/default_tongue.png Quote Link to comment Share on other sites More sharing options...
Torsten Posted February 8, 2008 Author Share Posted February 8, 2008 ok, this is way over my head. I don't get why the embed code doesn't work here. it works on heaps of forums and blogs, so why not IPB? I thought it just required html? Quote Link to comment Share on other sites More sharing options...
husk Posted February 8, 2008 Share Posted February 8, 2008 (edited) Edited February 8, 2008 by husk Quote Link to comment Share on other sites More sharing options...
Avaricial Posted February 8, 2008 Share Posted February 8, 2008 it appears its HTML embeded, unless this forum allows objects it wont work... or unless its edited into the html of the page...but then againi could be wrong.... its lateThink Amulte is right about the forum not allowing objects,T, are 'object', 'param' and 'embed' set as allowed tags in the ipb config ?my previous post was about creating a custom thingy, prolly a real pain in the arse workaround. Quote Link to comment Share on other sites More sharing options...
apothecary Posted February 9, 2008 Share Posted February 9, 2008 Tort, HTML is actually passed back to a parser instead of being parsed by the browser directly.Like Avaricial was trying to explain, IPB needs some modding for this to work correctly. You could do it his way, or just install this IPB plugin?http://forums.wolframstudios.com/index.php...&showfile=2 Quote Link to comment Share on other sites More sharing options...
Chemical Shaman Posted February 11, 2008 Share Posted February 11, 2008 (edited) I told you all along you had to install a special plug-in!!bah!Listen to me next time! Edited February 11, 2008 by Chemical Shaman Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.