Struggling to get redgifs in
Still working on it.
Hey, did you manage to get this sorted out? I'm asking, because i think i remember seeing the redgif video style in 1 or 2 videos in the forums, but can't seem to find them. When trying to embed a video into a post via the Media button it doesn't seem to work.
So i messed around with the redgif embed link using the developer tools in chrome and it looks like it uses the exact same format that for example the pornhub videos in posts, with the only difference you need to change the '/watch/' part in the url to '/ifr/' when using the <iframe> tag. So a working pornhub embed in a post looks something like this:
Url:
https://www.pornhub.com/view_video.php?viewkey=ph618d812072016
html:
<iframe src="https://www.pornhub.com/embed/ph618d812072016" frameborder="0" width="560" height="340" scrolling="no"></iframe>
The redgif code that should work looks like this:
Url:
https://www.redgifs.com/watch/thosefriendlybluefish
html:
<iframe src="https://redgifs.com/ifr/thosefriendlybluefish" frameborder="0" width="560" height="340" scrolling="no"></iframe>
I'm not familiar with how this forum does the embedding, but i assume it recognizes the site from the url and then converts it to a format that the site uses for embedding their videos and inserts it into the html, in both cases here inside an <iframe> tag, so you need to write a script that does the url converting? I assume...
pl.: i'm sorry if this is trivial and you've already tried it, i just changed the src tag in one of the pornhub video embeds to the url used in the embed code provided by redgif and worked.