Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

autoembed imgur gifv

I think myself and my users have not been formatting our URLs for imgur gifv correctly given everything else in this list works except getty (which is also probably human error). Is anyone able to use imgur gifv autoembed? Can you share what link you are using?

https://blog.vanillaforums.com/help/social-media-integrations-vanilla-forums/
Auto-Embeds:
Twitter (works)
YouTube (works)
Vimeo (works)
Vine (works)
Instagram (untested)
Pinterest (works)
Getty (does not embed)
Twitch (works)
Hitbox (works)
Soundcloud (works)
Imgur GifV (does not embed)

Beta 2.2b1 environement
http://testing.narwhalsonfire.com/index.php?p=/discussion/2/gifv-test

Comments

  • Just confirmed my class.format.php doesn't include imgur formats but it has getty...

          $YoutubeUrlMatch = '/https?:\/\/(?:(?:www.)|(?:m.))?(?:(?:youtube.com)|(?:youtu.be))\/(?:(?:playlist?)|(?:(?:watch\?v=)?(?P<videoId>[\w-]*)))(?:\?|\&)?(?:list=(?P<listId>[\w-]*))?(?:t=(?:(?P<minutes>\d)*m)?(?P<seconds>\d)*s)?(?:#t=(?P<start>\d*))?/i';
            $VimeoUrlMatch = 'https?://(www\.)?vimeo\.com/(?:channels/[a-z0-9]+/)?(\d+)';
            $TwitterUrlMatch = 'https?://(?:www\.)?twitter\.com/(?:#!/)?(?:[^/]+)/status(?:es)?/([\d]+)';
            $GithubCommitUrlMatch = 'https?://(?:www\.)?github\.com/([^/]+)/([^/]+)/commit/([\w]{40})';
            $VineUrlMatch = 'https?://(?:www\.)?vine.co/v/([\w]+)';
            $InstagramUrlMatch = 'https?://(?:www\.)?instagr(?:\.am|am\.com)/p/([\w-]+)';
            $PintrestUrlMatch = 'https?://(?:www\.)?pinterest.com/pin/([\d]+)';
            $GettyUrlMatch = 'http://embed.gettyimages.com/([\w=?&;+-_]*)/([\d]*)/([\d]*)';
            $TwitchUrlMatch = 'http://www.twitch.tv/([\w]+)';
            $HitboxUrlMatch = 'http://www.hitbox.tv/([\w]+)';
            $SoundcloudUrlMatch = 'https://soundcloud.com/([\w=?&;+-_]*)/([\w=?&;+-_]*)';
    
  • hgtonighthgtonight ∞ · New Moderator

    You can hook into the format_links event and add your own support.

    Or you can check out the mediator plugin: http://vanillaforums.org/addon/mediator-plugin

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

    shumoo
  • thanks hg, as always you're super helpful and a great resource!

    I got support working:

    http://testing.narwhalsonfire.com/index.php?p=/discussion/2/gifv-test#latest

    hgtonight
Sign In or Register to comment.