s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
Hi,

SoundCloud doesn't seem to work either. I get this in the page.

upload_2013-11-1_19-8-20.webp

Is there a way to create a regular expression that captures and returns the whole URL with {$id} and not try to pick out the ID? Because I believe this what is needed, because Soundcloud doesn't have IDs in the URLs anymore.

Code:
<iframe class="iframe" width="100%" height="160" scrolling="no" frameborder="no"
                      src="https://w.soundcloud.com/player/?url={$id}&amp;auto_play=false&amp;auto_advance=true&amp;buying=true&amp;liking=true&amp;download=true&amp;sharing=true&amp;show_artwork=true&amp;show_comments=true&amp;show_playcount=true&amp;show_user=true&amp;start_track=0&amp;callback=true">
</iframe>

Replace {$id} with the whole URL and the embed will work.

Scott
 
How about Paypal button embedding? The one here has it but it stopped working on my site:
http://xenforo.com/community/resources/xxms-bbcode-mediasites-package.27/
I'm focusing on audio/video/documents. I don't intend to do Paypal buttons, sorry.

SoundCloud doesn't seem to work either. I get this in the page.
Can you post the actual URL that you pasted in the form please? Edit: ok, I'm looking into it. I expect it to be updated this week-end.

Since we're doing wishlists, can I please request Instagram, YouTube playlists, Amazon items with referrals, and Twitter.
I won't do Twitter in the forseeable future for technical reasons as I stated earlier in this thread. I'll look into YouTube playlists. Please post some URLs of the Instagram/Amazon content you'd want to embed.
 
Last edited:
I won't do Twitter in the forseeable future for technical reasons as I stated earlier in this thread. I'll look into YouTube playlists. Please post some URLs of the Instagram/Amazon content you'd want to embed.

For Instragram - just anything that shows up an instragram picture. I honestly don't know if there's anything special going on there. Here is Chris Deeming's version that doesn't work properly any longer:

http://xenforo.com/community/resources/instagram-bb-code-media-site.855/

For Amazon - something that shows up the item but uses the referrer's code. EQ was doing one but his broke. Maybe you could get the idea from there:

http://xenforo.com/community/resources/amazon-bbcode-media-site.1845/
 
As I was saying earlier, I'm talking about URLs to actual content you'd want to embed. That would be the URLs you put in the form to embed content in a post. URLs to movies, images, etc... Not other add-ons.
 
As I was saying earlier, I'm talking about URLs to actual content you'd want to embed. That would be the URLs you put in the form to embed content in a post. URLs to movies, images, etc... Not other add-ons.
Pick ANYTHING on either Instagram or Amazon. It doesn't matter. The only criteria with Amazon is that it would allow you to have a referral link, like EQ's code does. Here are links from material to both sites:

http://www.amazon.com/Game-Thrones-...id=1383362697&sr=8-4&keywords=game+of+thrones

http://instagram.com/p/ZuBarYFJSH/#
 
Can you post the actual URL that you pasted in the form please? Edit: ok, I'm looking into it. I expect it to be updated this week-end.

Thanks Josh.

Actually, I fixed it myself. It was quite easy.:)

Match URLs:
Code:
https://soundcloud.com/{$id}
http://soundcloud.com/{$id}

Embed HTML:
Code:
<iframe class="iframe" width="100%" height="160" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https://soundcloud.com/{$id}&amp;auto_play=false&amp;auto_advance=true&amp;buying=true&amp;liking=true&amp;download=true&amp;sharing=true&amp;show_artwork=true&amp;show_comments=true&amp;show_playcount=true&amp;show_user=true&amp;start_track=0&amp;callback=true">
</iframe>

Scott
 
I've reproduced the error on my local forum. The problem here is that this specific video can only be viewed if you're logged in VK. The forum cannot log into VK so it cannot retrieve the "hash" value that is needed to embed the video. Incidentally, it triggers a bug that can only happen when the URL matches a media site but the embed callback fails.

What you could try is enter the "hash" value manually, for example:
Code:
[media=vk]hash=eb5d7a5e6e1d8b71;oid=-7016284;vid=163645555[/media]

I think you can find it when you watch the video on VK and click the "embed" button. In the HTML, there'll be something like "embed_hash=xxxxx", you'll have to copy/paste it in your media BBCode as:
Code:
[media=vk]hash=xxxxx;oid=-36455846;vid=166417801[/media]
 
Trying to just install spotify by myself but I couldn't figure out how to do it. Can you give some step by step instructions?
 
  1. Download the pack, unzip and upload the file in upload/library/s9e/MediaBBCodes.php to your XenForo installation
  2. Go to the configurator
  3. Leave everything unchecked except for Spotify
  4. Right-click "Download addon.xml" at the top and save as "spotify.xml" (or any other name) to your disk
  5. Go to XenForo's Admin CP and install using the spotify.xml you've downloaded
 
  1. Download the pack, unzip and upload the file in upload/library/s9e/MediaBBCodes.php to your XenForo installation
  2. Go to the configurator
  3. Leave everything unchecked except for Spotify
  4. Right-click "Download addon.xml" at the top and save as "spotify.xml" (or any other name) to your disk
  5. Go to XenForo's Admin CP and install using the spotify.xml you've downloaded
Thanks for the instructions. If I want to add another one of your media sites later on, do I just do the same thing but select spotify and the new media site and have spotify get written over?
 
Thanks for the instructions. If I want to add another one of your media sites later on, do I just do the same thing but select spotify and the new media site and have spotify get written over?
Yes. Check every site you want to use and bookmark the URL so that you can update it more easily.

What is the URL structure for spotify links? I can't seem to get it to embed.
I've just tested it and there was a bug in the configurator that affected some sites, among which Spotify. It should be fixed now.
 
Yes. Check every site you want to use and bookmark the URL so that you can update it more easily.


I've just tested it and there was a bug in the configurator that affected some sites, among which Spotify. It should be fixed now.
Sweet, finally got it to work. One thing though, I am embedding a playlist but it just shows the playlist name and album art. Any way to get playlists to embed the full playlist where you can see all of the song tracks? For single songs, the way you did it was perfect.
 
Top Bottom