1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating a new BB Code Media Site

Discussion in 'XenForo Questions and Support' started by Itworx4me, Nov 8, 2011.

  1. Itworx4me

    Itworx4me Well-Known Member

    I am looking to embed videos from this site:

    Code:
    <object width="388" height="393" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="ep"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://i.cdn.turner.com/nascar/.element/swf/2.2/sect/video/nascar_embed.swf?context=nascar_viral&videoId=truck/2011/11/04/cwts-tex2-high-one.nascar" /><param name="bgcolor" value="#000000" /><embed src="http://i.cdn.turner.com/nascar/.element/swf/2.2/sect/video/nascar_embed.swf?context=nascar_viral&videoId=truck/2011/11/04/cwts-tex2-high-one.nascar" type="application/x-shockwave-flash" bgcolor="#000000" allowfullscreen="true" allowscriptaccess="always" width="388" height="393"></embed></object>
    How would the new bb code look like?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Can you provide the URL of a video?
     
  3. Mikey

    Mikey Well-Known Member

  4. Deepmartini

    Deepmartini Well-Known Member

    Is there a way to let admins post complex HTML code in threads but exclude users from doing so? I would like to be able to cut and paste movies from Archive.org and embed them on my site using their embed code but I keep getting errors:


    Code:
    <object width="640" height="506" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="true" name="allowfullscreen"/><param value="always" name="allowscriptaccess"/><param value="high" name="quality"/><param value="true" name="cachebusting"/><param value="#000000" name="bgcolor"/><param name="movie" value="http://www.archive.org/flow/flowplayer.commercial-3.2.1.swf" /><param value="config={'key':'#$aa4baff94a9bdcafce8','playlist':['format=Thumbnail?.jpg',{'autoPlay':false,'url':'The_House_on_Haunted_Hill_512kb.mp4'}],'clip':{'autoPlay':true,'baseUrl':'http://www.archive.org/download/House_On_Haunted_Hill.avi/','scaling':'fit','provider':'h264streaming','showCaptions':true},'canvas':{'backgroundColor':'#000000','backgroundGradient':'none'},'plugins':{'controls':{'playlist':false,'fullscreen':true,'height':26,'backgroundColor':'#000000','autoHide':{'fullscreenOnly':true}},'h264streaming':{'url':'http://www.archive.org/flow/flowplayer.pseudostreaming-3.2.1.swf'},'captions':{'url':'http://www.archive.org/flow/flowplayer.captions-3.2.0.swf','captionTarget':'content'},'content':{'display':'block','url':'http://www.archive.org/flow/flowplayer.content-3.2.0.swf','bottom':26,'left':0,'width':640,'height':50,'backgroundGradient':'none','backgroundColor':'transparent','textDecoration':'outline','border':0,'style':{'body':{'fontSize':'14','fontFamily':'Arial','textAlign':'center','fontWeight':'bold','color':'#ffffff'}}}},'contextMenu':[{},'-','Flowplayer v3.2.1']}" name="flashvars"/><embed src="http://www.archive.org/flow/flowplayer.commercial-3.2.1.swf" type="application/x-shockwave-flash" width="640" height="506" allowfullscreen="true" allowscriptaccess="always" cachebusting="true" bgcolor="#000000" quality="high" flashvars="config={'key':'#$aa4baff94a9bdcafce8','playlist':['format=Thumbnail?.jpg',{'autoPlay':false,'url':'The_House_on_Haunted_Hill_512kb.mp4'}],'clip':{'autoPlay':true,'baseUrl':'http://www.archive.org/download/House_On_Haunted_Hill.avi/','scaling':'fit','provider':'h264streaming','showCaptions':true},'canvas':{'backgroundColor':'#000000','backgroundGradient':'none'},'plugins':{'controls':{'playlist':false,'fullscreen':true,'height':26,'backgroundColor':'#000000','autoHide':{'fullscreenOnly':true}},'h264streaming':{'url':'http://www.archive.org/flow/flowplayer.pseudostreaming-3.2.1.swf'},'captions':{'url':'http://www.archive.org/flow/flowplayer.captions-3.2.0.swf','captionTarget':'content'},'content':{'display':'block','url':'http://www.archive.org/flow/flowplayer.content-3.2.0.swf','bottom':26,'left':0,'width':640,'height':50,'backgroundGradient':'none','backgroundColor':'transparent','textDecoration':'outline','border':0,'style':{'body':{'fontSize':'14','fontFamily':'Arial','textAlign':'center','fontWeight':'bold','color':'#ffffff'}}}},'contextMenu':[{},'-','Flowplayer v3.2.1']}"> </embed></object>
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    http://xenforo.com/community/threads/parsehtml-permission-enabled-html-bbcode.8262/
     

Share This Page