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

s9e Media BBCodes pack 20161123

★ Guaranteed to contain every media site you need. Or at least some of them maybe. ★

  1. JoshyPHP

    JoshyPHP Well-Known Member

    JoshyPHP submitted a new resource:

    s9e Media BBCodes pack - Pack of BBCodes used for embedding media content

    Read more about this resource...
     
    DennisSkov and sportskimagazin like this.
  2. JoshyPHP

    JoshyPHP Well-Known Member

    This is the first release. Everything works for me, but if it doesn't work for you I'd like to hear about it. The experimental configurator is unstyled so it kinda sucks at the moment, but otherwise the rest of the add-on is solid. You can take a look at the source of the add-on and the script that generates it on its GitHub page.
     
  3. JoshyPHP

    JoshyPHP Well-Known Member

  4. Rho Delta

    Rho Delta Well-Known Member

    I use the other BBcode addon and this one has a lot of the same ones. Is there a way to only install like 3-4 from your add on that I need to add to my collection?
     
  5. JoshyPHP

    JoshyPHP Well-Known Member

    You can try the experimental configurator. Just click the rows to select the sites you want to use then click the link at the top and save it as addon.xml to your disk. Then you install the pack normally except you use the custom addon.xml instead of the one in the archive.

    The interface is experimental. I recommend a recent browser. Some browsers will act differently whether you left-click the link or right-click and "save as". For some reason, some browsers try to save the file as download instead of addon.xml. Those are kinks that I plan to iron out as soon as I can spend some time on it.

    And by the way, you'll notice that the list of sites is saved in the URL so that you can bookmark it for later instead of clicking the same sites everytime I update the list. (which is going to be relatively frequent in the near future)
     
  6. Rho Delta

    Rho Delta Well-Known Member

    Hmm, haven't really messed around with github before, I'll give it a shot!
     
  7. dvsDave

    dvsDave Well-Known Member

    Here's the default youtube Match URL's, which detects more URL formats than your code.

    Code:
    youtube.com/watch?v={$id}
    youtube.com/v/{$id}
    youtu.be/{$id}
    youtube.com/*/u/*/{$id}
    youtube.com/watch?feature=player_embedded&v={$id}
     
  8. JoshyPHP

    JoshyPHP Well-Known Member

    The difference between XenForo's default YouTube BBCode and the one in the pack is that mine supports URLs in the form http://www.youtube.com/watch?feature=player_detailpage&v=uelHwf8o7_U (you get it when right-clicking on a video while on YouTube) and XenForo's default supports URLs with /u/ in the middle, but I haven't been able to find URLs using this form so I think it might have been decommissioned by YouTube. I'm still digging for information about those URLs.
     
  9. santamo

    santamo Active Member

  10. JoshyPHP

    JoshyPHP Well-Known Member

    santamo likes this.
  11. santamo

    santamo Active Member

    Last edited: Oct 22, 2013
  12. Rho Delta

    Rho Delta Well-Known Member

    Any way you could do grooveshark or playlist.com?
     
    Kaynil likes this.
  13. JoshyPHP

    JoshyPHP Well-Known Member

    Sure. Can you post a few links that should be supported? Otherwise I have to scour reddit for them.

    Edit: apparently, Grooveshark has many kinds of links. Songs, albums, playlists and what not. I'm going to have to mull over my options for a couple of days.
     
    Last edited: Oct 22, 2013
  14. Lone Wolf

    Lone Wolf Well-Known Member

    This looks good but I can't see twitter in your list. Doesn't this addon support embedding tweets?
     
  15. Rain man

    Rain man Member

    Hello, @JoshyPHP! Can you add support vk.com? Please. :)
     
  16. JoshyPHP

    JoshyPHP Well-Known Member

    @Lone Wolf: nope, there's no Twitter embed. I don't think there'll be a Twitter embed in this pack in the forseeable future because it's too different from the simple routines it uses.

    @Rain man: I'll look into it asap. If it's easy to embed I'll do it today, otherwise I'll do it later.
     
    Rain man likes this.
  17. Lone Wolf

    Lone Wolf Well-Known Member

    That's a shame. Twitter is probably the most embedded media these days. Thanks for the quick reply, please tag me if you change your mind some day.
     
    Last edited: Oct 23, 2013
  18. DRE

    DRE Well-Known Member

    WSHH BB Code doesn't work for me. Maybe it's because my site's behind SSL.
     
  19. JoshyPHP

    JoshyPHP Well-Known Member

    I'm going to take a look at it ASAP. In the meantime, you can try editing the BBCodes in the Admin CP and replace "http://" with just "//" in the embed HTML. If the problem is HTTPS, it could fix it.
     
  20. JoshyPHP

    JoshyPHP Well-Known Member

    @DRE: if you're using Chrome, it seems it doesn't like the Flash MIME type. Try removing type="application/x-shockwave-flash" typemustmatch="" from the embed HTML. Not sure what to make of that though. :\
     

Share This Page