Jump to content

Tasty

Rookie
  • Posts

    19
  • Joined

  • Last visited

  • Days Won

    1

Files posted by Tasty

  1. Media Tags 1.0.2

    About This File
    Restore a feature from IP.Board 3 that allows users to define their own media tags.
    1. If oembed is supported, please add custom oembed services.
    2. If oembed is not supported, you can add you own media tag to replace the url to the format you would like.
    3. Members without HTML Post permission will fail to save the content, as HTMLPurifier will clean all illeagal HTML contents. As a matter of this, you will have to define allowedIFrameBases, and also have to use iframe in media tag replacement.

    For example(alreadly supported by IPS),
    Youtube supports oembed, so you can add it to oembed services as below
    URL Scheme: youtube.com
    API Endpoint: https://www.youtube.com/oembed
    And as returned html by youtube oembed is like
    <iframe src="https://www.youtube.com/embed/..." ...>You also have to add "www.youtube.com/embed/" to allowedIFrameBases.
    What's New in Version 1.0.2 
    Released 20 June
    Can define what type(video, photo, rich) the media tag is;
    Added supports for OEmbed supports;
    Ability to configure Allowed IFrame Bases;

    154 downloads

       (1 review)

    Submitted

×
×
  • Create New...