Jump to content

Nathan Explosion

  • Posts

  • Joined

  • Days Won


 Content Type 


Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory





Posts posted by Nathan Explosion

  1. If you want to take the "user renames the file extension" element out of the equation, then here's a different kludge which can be applied by a moderator/admin after the file has been uploaded...

    1. Edit the post
    2. View the 'Source' in the editor
    3. In amongst the HTML, you will see type="video/quicktime"
    4. Change quicktime to mp4 (therefore type="video/mp4")
    5. Save the edit.

    I've added something to my "HTML5 Video/Audio Player" resource which will apply that kludge to content without the need for editing the content.

  2. 5 hours ago, Joel R said:

    Someone should correct me if I'm wrong,

    Looks like you're wrong.

    There is no ordering on the select query that creates the block listing - it's at the mercy of the order in which the widgets were added to the core_widgets table, which would be the order in which applications/plugins were installed (System likely first, then order of installation of other apps)

    Could contain: Page, Text


  3. Just to add for anyone reading the above -

    if you go to http://www.reddit.com/oembed?format=json&url=https://www.reddit.com/r/reactjs/comments/14s3r1j/adding_the_new_threadsnet_social_share_button_to/?rdt=53260&scheme=https (this is the URL produced by Invision to connect to Reddit to get the oembed code) it will redirect to the https equivalent:


    ...and produce the expected response.

    I am not indicating here that it's going to fix things for those currently blocked (you will need to contact Reddit to get your server IP unblocked) nor am I indicating here that the change by Invision will stop people being blocked going forward - I am only indicating that in my case above, we have not seen any further blocks since making the change after the second unblock being done.


  4. Just as a bit of information to add to the mix here...

    A few weeks ago I assisted someone on a problem with Reddit embeds on their own site (non-Invision) which had the same problem - Reddit unblocked their IP address, but a few days later it was blocked again. Contacted Reddit again, they unblocked it but advised us to review the embed code being used. It was then that I spotted that the URL being used for the oembed endpoint was http://www.reddit.com/oembed - updated it to https://, and we've not seen any further blocks.

    The endpoint for reddit in \IPS\Text\Parser is http://www.reddit.com/oembed

    Could contain: Text, Page

  • Create New...