s9e Media BBCodes pack

s9e Media BBCodes pack 20231102

No permission to download
GettyImages. I try insert any picture but see error
Code:
http://www.gettyimages.com/detail/photo/rain-royalty-free-image/154961678

Incorrect or invalid URL
The embed code URL is incorrect or invalid.
Check to ensure it was copied correctly, and try again.

Please, check.
 
You can also add support for played.to , vidto.me ,powvideo.net ? thx
As stated in the overview for this add-on:

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.
 
@JoshyPHP , please try add site - video from khl.ru site. Russian Hockey league.

Code:
link example - http://www.khl.ru/game/266/41811/resume/

Code:
<object id="playerObject" name="playerObject" width="636" height="356" data="//video.khl.ru/khl_player.swf?version=161014.1&amp;ref=http%3A%2F%2Fwww.khl.ru%2Fgame%2F266%2F41811%2Fresume%2F" type="application/x-shockwave-flash" style="display: block !important;">
          <param name="movie" value="//video.khl.ru/khl_player.swf?version=161014.1&amp;ref=http%3A%2F%2Fwww.khl.ru%2Fgame%2F266%2F41811%2Fresume%2F">
          <param name="allowFullScreen" value="true">
          <param name="allowScriptAccess" value="always">
          <param name="FlashVars" value="lang=ru&amp;seeking=true&amp;config=http://bl.webcaster.pro/feed/start/na_04d45edb9857797f4ebb7e26e8397826_hd/2_5297335363/69c9d42d13683eab7e3f83cff7bebf40/4569397526?type_id%3D4%26width%3D640%26height%3D360">
          <param name="wmode" value="opaque">
          <embed name="playerObject" src="//video.khl.ru/khl_player.swf?version=161014.1&amp;ref=http%3A%2F%2Fwww.khl.ru%2Fgame%2F266%2F41811%2Fresume%2F" type="application/x-shockwave-flash" flashvars="lang=ru&amp;seeking=true&amp;config=http://bl.webcaster.pro/feed/start/na_04d45edb9857797f4ebb7e26e8397826_hd/2_5297335363/69c9d42d13683eab7e3f83cff7bebf40/4569397526?type_id%3D4%26width%3D640%26height%3D360" width="636" height="356" allowfullscreen="true" allowscriptaccess="always" wmode="opaque">
      </object>

code iframe insert code upper
Code:
<iframe frameborder="0" width="640" height="360" scrolling="no" src="//video.khl.ru/iframe/feed/start/na_04d45edb9857797f4ebb7e26e8397826_hd/2_5297335363/69c9d42d13683eab7e3f83cff7bebf40/4569397526?type_id=4&amp;width=640&amp;height=360"></iframe>

Thanks! You can send me private message, for donate your work.
 
I looked into it and I had to close a dozen popups just to play those. :confused: I'm not going to add those sites right now but there's a chance I'll add them next week. It depends on some other feature I need to implement.

@JoshyPHP , please try add site - video from khl.ru site. Russian Hockey league.
Thanks for the detailed report. I'll look into it as soon as possible and I'll tentatively add it in the next few days.

Thanks! You can send me private message, for donate your work.
I have a couple of PayPal button on the front page for donations in USD or EUR. Here's a copy of the buttons. All donations are greatly appreciated. :)

 
Got this error when updating to the newest update:

Code:
file_put_contents(/home/mike/public_html/internal_data/templates/S.15,L.0,account.css.php) [function.file-put-contents]: failed to open stream: Permission denied

I did change from DSO to DSO+mod_ruid2 for another site on my server over the weekend, could this have messed up a folder permission?
 
The add-on does not use file_put_contents() at all, it's not related. I don't know mod_ruid2 but a quick search reveals that's it's a suexec module. I don't think your permissions have changed, it's just that mod_ruid2 requires different permissions. Try your luck in server-related support forums.
 
@Nolik I looked into KHL. I don't normally try to extract videos from that kind of pages because if I did, users who want to post a link to the page would get a video instead. It would make it harder for them to post a link.

What I can do however, is embed the video based on the video's URL. On the page at the URL you sent, the player can be used to watch any video from the game. You can get the URL for the current video by clicking the "Share" button in the bottom right. You get a URL like http://video.khl.ru/events/233677 or http://video.khl.ru/quotes/251237. Would that work with you?
 
A word about future development. I'm currently rewriting a big part of the add-on to improve configuration/customisation. I've spent a few hours on it already but I still have a lot of work ahead of me. This update will remove old cruft and replace it with a more future-proof foundation. It replaces hacks with a more polished interface accessible in the admin panel. For most users, those changes will be invisible.

Here's an overview of the upcoming changes.

OUT: Online configurator. This was a cool experiment but it's too impractical to be used.
IN: Toggling in the admin panel which sites to install based on categories. Admins who don't want to install all of the sites in the pack will be able to enable sites based on their genre ("music", "news", "sports", etc...) or their country of reference.

OUT: Creating a s9e_Custom class for custom callbacks.
IN: An admin option to specify which custom callbacks to post-process or override the default embed code. Unlike the s9e_Custom class, it wouldn't require reinstalling the add-on. It would take the form of a text box that accepts a list of site IDs and the custom callback. For example:
Code:
vimeo=Foo::bar
youtube=MyClass::myCode

OUT: The s9e_EXCLUDE_SITES option.
IN: I'm not sure about this one. Perhaps a similar option that would use checkboxes instead. If you use s9e_EXCLUDE_SITES I'd like to hear your opinion.

OUT: Editing the HTML in the admin panel. In the end, it's too impractical and I don't think anyone uses it because it's not persistent. If you want to change the HTML, you can use a custom callback. If you only want to change the dimensions of an embed, keep reading.
IN: Admin-defined custom sizes for embeds. It will use a text box that accepts a list of site IDs followed by the dimensions (width × height.) For example:
Code:
spotify=300,300
youtube=1280,720

In addition, I'm also investigating the possibility of having an option for responsive embeds, which are actually harder to implement than smacking a couple of divs on top of existing code. All of that is going to take some time because I want to produce solid, future-proof code, and also because at the same time that I am working on my side of things I have to understand and/or reverse-engineer some of XenForo's inner workings.

If there's a feature you're most interested in (whether it's in this list or it's something else entirely) now's the best time to speak up. It may influence future development.
 
@JoshyPHP it's great to hear about the upcoming developments, which sound great. The ability to change embed dimensions easily is fantastic as I have always edited these in your add-on so that they are a consistent size for all media sites.

I only use a small number of sites from your add-on, so as long as I can only enable these and no others then I'll be happy. :)
 
Top Bottom