Like Ra's Naughty Forum

Full Version: [UPDATED] feature - Media Auto-embedding
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
The AutoMedia Plugin automatically embeds videos and music from different sites in posts. The plugin recognizes the posted URL and shows the videos/audios. You don't need to insert any MyCode or other tags.

You can revisit you posts to see if the embedding works now.
This is what is currently supported (will keep the list updated):

4kporn.xxx
bdsmstreak
bitchute
eporner
hypnotube
instagram
m4a
mp3
mp4
pornhub
pornwild
sendvid
spankbang
tiktok
twitter
vimeo
webm
webp
xhamster
xvideos
youtu.be
youtube
youtube shorts
pornhub embedding started working again! 😉
Hello,

I wanted to post it from quite a time but, well, did not took it  😁 .

I'm using mainly safari as browser.

Usually, I don't load the forum in full width of my screen but only like 2/3 of it.  In this case, if there is a video embedded (pornhub or youtube, both are problematic), the content of the right part of the video is hidden outside the thread width.

[attachment=41303]

In fact, the video width is fixed on the width of screen and not width of the browser window.

Looking at the resource, it indeed seems there are embedded in an iframe whose width is fixed at 640px.  I think that the size is doubled (Retina display) which make it double the size of the same page in firefox...

Firefox, full width :
[attachment=41304]

Safari, full width :
[attachment=41305]

Maybe having a look here : https://jameshfisher.com/2017/08/30/how-...th-iframe/ ?
Or another multi-browser css issue but I'm far from a good web developper so I'll not say what to do as I don't know...  😁
Yesterday I redone the embedding and set the video frame size of the most popular sites to 640x480, so it should be uniform. If it's still not I will recheck the parameters and the plugin which I tweaked.

What would be the best size?

(27 May 2020, 19:58 )no smile Wrote: [ -> ]Maybe having a look here : https://jameshfisher.com/2017/08/30/how-...th-iframe/ ?
Thanks for the link! Very interesting!
Let's quickly start with width="560" height="315" - that should fix the "too wide" issue.
(27 May 2020, 19:58 )no smile Wrote: [ -> ]Maybe having a look here :
COOL! IT WORKS! THANKS MUCH!!!! Done for redtube - check this post: https://www.likera.com/forum/mybb/Thread...9#pid42919

Updating the rest of the embedders...
Refactored the code a bit. Youtube is fixed! @no smile - I LOVE YOU!!!! Girl_in_love Girl_dance
Done for youtube, pornhub, xhamster, redtube, xvideos, tube8, xtube and twitter. Enough for today.
Yeah it works great 👍👌😘

Pity I did not mention it and made this search earlier 😏
Pages: 1 2 3 4