Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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.

  • 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

Sign In or Register to comment.