s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
So you uploaded MediaBBCodes.php by ftp and now you're trying to upgrade the add-on in the ACP by submitting the new addon.xml with your browser, right?

That doesn't seem directly related to my add-on. You'd need to look inside your server logs, including your web server's. If previous versions worked fine but this one doesn't, it could be many different things. If your server has very little memory it might have some trouble loading the XML, although if that was the case I guess that other parts of XenForo would fail too. If you have a very old PHP and/or a very old libxml, it might be a factor. If you send me a link to your phpinfo() I'll look at it.

If your server is managed, you may try contacting your web host.
 
So you uploaded MediaBBCodes.php by ftp and now you're trying to upgrade the add-on in the ACP by submitting the new addon.xml with your browser, right?

That doesn't seem directly related to my add-on. You'd need to look inside your server logs, including your web server's. If previous versions worked fine but this one doesn't, it could be many different things. If your server has very little memory it might have some trouble loading the XML, although if that was the case I guess that other parts of XenForo would fail too. If you have a very old PHP and/or a very old libxml, it might be a factor. If you send me a link to your phpinfo() I'll look at it.

If your server is managed, you may try contacting your web host.

Josh, I restarted the server and it appears the error has gone away.
It might have been something to do with the caching system.
I upgraded my php version few weeks ago: PHP Version 5.4.31

Thanks for the quick help!
 
If you post a link to the original URL (the one the users will post to your forums to show a video) I'll take a look at it. I've seen other Brightcove sites but I don't remember if there's anything that prevents me from embedding them.

.

http://video-embed.al.com/services/...,AAAAPLMIMAE~,kKetLjW2WxUgiRmvwWvrX1zHOEtf9iI

http://bcove.me/cpkn8h1p

______

There's what threw me...both HTML embed codes point directly to brightcove. The first is more important than the second at this point.

Thanks J!
 
Can you add tinypic videos?


How to request a media site

If there's a media site that you would want to see in this pack, you can request it in this thread and it will be considered for inclusion. Selection may depend on the site's popularity, Alexa rank and activity on social sites. Please post a few links as examples of the kind of links that should be supported. You do not need to post the embed code, only links to the content you want to embed.
http://xenforo.com/community/resources/s9e-media-bbcodes-pack.2476/
 
http://video-embed.al.com/services/...,AAAAPLMIMAE~,kKetLjW2WxUgiRmvwWvrX1zHOEtf9iI

http://bcove.me/cpkn8h1p

______

There's what threw me...both HTML embed codes point directly to brightcove. The first is more important than the second at this point.

The first link doesn't work for me, it gives me an empty player but here's what you can do to create your own media site for the second:
Code:
Media Site ID: gatorsports
   Site Title: Gator Sports
   Match URLs: //video.gatorsports.com/video/{$id}
   Embed HTML: <object width="480" height="270" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0"><param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&amp;isUI=1" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="videoId={$id}&amp;playerID=111623825001&amp;playerKey=AQ~~,AAAAABGMt5Y~,W3tqT-mQ0BMX4lJgptCx-Scx7UJTATnN&amp;domain=embed&amp;dynamicStreaming=true" /><param name="base" value="http://admin.brightcove.com" /><param name="seamlesstabbing" value="false" /><param name="allowFullScreen" value="true" /><param name="swLiveConnect" value="true" /><embed src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&amp;isUI=1" bgcolor="#FFFFFF" flashVars="videoId={$id}&amp;playerID=111623825001&amp;playerKey=AQ~~,AAAAABGMt5Y~,W3tqT-mQ0BMX4lJgptCx-Scx7UJTATnN&amp;domain=embed&amp;dynamicStreaming=true" base="http://admin.brightcove.com" name="flashObj" width="480" height="270" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>
I just copy/pasted their embed code and replaced the video ID with {$id}. If the video ID is not in the URL, then you need a PHP callback and it gets more complicated.

Can you add tinypic videos?
The reason I ask for example links is that if they're not provided, I have to manually look for them. It takes time and I risk not finding the same kind of links that the requester plans to use. Otherwise, I'll do TinyPic in a little while.
 
how does this work? I installed it created a custom bbcode but then what? Maybe a tutorial on what to do next for those of us who have no idea how to use bbcodes :)
 
Last edited:
It doesn't create any BBCodes. XenForo has a MEDIA BBCode by default, which can be used to embed media from any number of sites which are called "media sites" in XenForo. This pack contains the definitions for multiple media sites.

If you click the button titled "Media" in the editor, you can paste the URL to one of the supported site and its content get embedded. Or depending on the options in the admin panel you can just post the URL as-is in the text and it works the same. If you've installed the add-on, you can see for yourself by posting a Twitter URL in a message, e.g.
Code:
https://twitter.com/Patriots/status/496672355398451200
 
I don't know about Yahoo Live, the only Yahoo in this pack is Yahoo Screen. You should try with a Twitter URL, just post the URL as-is in a message. It will show up as an embedded tweet. Don't put it in a code block. Just the URL.
 
Top Bottom