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

Media bbcode Wildcard?

Discussion in 'XenForo Questions and Support' started by D.O.A., Jan 9, 2011.

  1. D.O.A.

    D.O.A. Well-Known Member

    Was wondering if anyone knows if it's possible to capture the video URL of a site that changes the location of the file with an expiry/random string or something...

    <script type='text/javascript'>var so = new SWFObject('http://www.domain.com/flvplayer.swf','mpl','450','360','8');so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addVariable('height','360'); so.addVariable('width','450'); so.addVariable('file','http://media.domain.com/streaming-content/fb7d4837701c09728bdb23851de09a5d/4d29d74b/19153-the-ID.flv');so.addVariable('lightcolor','0xAAAAAA'); so.addVariable('screencolor','0x888888'); so.addVariable('autostart','false'); so.write('player');</script>

    is random each on refresh

    Is there any way of 'catching' this random string per video, even once, as obviously I can't put wildcards in the embed HTML.

  2. D.O.A.

    D.O.A. Well-Known Member

    whoops this was supposed to go in general support questions [​IMG]
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I'm not sure I understand. Are you trying to setup a BB Code Media Site?

    Admin CP -> Home -> BB Code Media Sites

    On what service is the video hosted? Youtube is an example.

    Also, this bug report might be relevant.
  4. D.O.A.

    D.O.A. Well-Known Member

    The site is kinda adult (makes liveleak look tame) so I'll not post the link here, but it has a random string hiding the folder names/location (obfuscation or something preventing embeds) and I was looking at using embed code in a way I think is not possible yet.

    Just say this is the embed code I want to use in xenforo, from the URL of a video.

    I want/ed to make the random strings in that embed code into some type of wildcard(?) as no video uses the same media link.

    Unpossible it seems, as this would be done in the actual embed code for the video player.
  5. D.O.A.

    D.O.A. Well-Known Member

    I'll try find out the actual folder paths with a few tools anyway, something like replay media catcher should define the real paths (hopefully :)) you need a damn good server setup to avoid having your video downloaded/path shown with that software.
  6. D.O.A.

    D.O.A. Well-Known Member

    Denied! oh well :D
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There is a wild card option (see description below):

    Screen shot 2011-01-09 at 11.12.21 PM.png

    If you continue to have problems then you can send me a personal conversation with the link for the adult media site. I can work with it myself and try to find code that works.
  8. Mike

    Mike XenForo Developer Staff Member

    As the random string appears to effectively be part of the URL, this looks quite similar to that other site that had 2 IDs (separated by slashes). That isn't something that we really support.

Share This Page