MyCode Issue MyBB - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36) +---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43) +---- Thread: MyCode Issue MyBB (/showthread.php?tid=13921) |
MyCode Issue MyBB - SYNTAX ERR0R - 11-22-2010 OK, I am trying to enable youtbe embedding into my forum. I have the following code but it just makes a white box. Can somebody please help? Expression Code: \[yt\](.*?)\[/yt\] Replacement Code: <object width="470" height="378"><param name="movie" value="http://www.youtube.com/v/$1&hl=de&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/$1&hl=de&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="470" height="378"></embed></object> RE: MyCode Issue MyBB - Matt G - 11-22-2010 There, by default, already is youtube enabling, unless you are on 1.4 then you will have to use a mycode. Use the following http://mybbsource.com/mycodes.php?act=view&mid=18 RE: MyCode Issue MyBB - Untouch - 11-22-2010 Next time use some new lines when printing your code. This may help not sure. Replacement: PHP Code: Code: <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/$1&rel=en&fs=1&color1=0x234900&color2=0xd4d4d4"></param> There are youtube plug-ins you can use instead. RE: MyCode Issue MyBB - SYNTAX ERR0R - 11-22-2010 I'm 1.6 mate. But I cant seem to find where to enable it. All the plugins seem to be paid and I have no money for a while. The code in the link never worked either. RE: MyCode Issue MyBB - Untouch - 11-22-2010 In 1.6 they have added the youtube embedding into the software already. RE: MyCode Issue MyBB - Matt G - 11-22-2010 You can use it when posting, go to the side of it, and you should see a video symbol, click it, scroll down menu, click youtube video. or you use can [video=youtube]videolink[/video] RE: MyCode Issue MyBB - SYNTAX ERR0R - 11-22-2010 Thanks everyone. I have sorted it. I was putting whole link in instead of ID. lol /thread RE: MyCode Issue MyBB - Matt G - 11-22-2010 I believe you can put in the whole link, works for me anyways, but i'm glad you got it resolved. Try putting the whole url in with http://www. in it RE: MyCode Issue MyBB - Sam - 11-22-2010 OP specified issue was solved. |