[UPDATED] feature - Media Auto-embedding

33 Replies, 5767 Views

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 post was last modified: 19 Aug 2021, 03:47 by Like Ra.)
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
(This post was last modified: 27 Jul 2022, 20:17 by Like Ra.)
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.

 Capture d’écran 2020-05-27 à 20.30.58.png   

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 :
 Capture d’écran 2020-05-27 à 20.39.28.png   

Safari, full width :
 Capture d’écran 2020-05-27 à 20.39.53.png   

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!
(This post was last modified: 27 May 2020, 21:08 by Like Ra.)
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...
(This post was last modified: 27 May 2020, 21:38 by Like Ra.)
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 😏

Possibly Related Threads…
Thread Author Replies Views Last Post
  [UPDATED] profile picture Like Ra 1 1,009 14 Jul 2024, 01:31
Last Post: Like Ra
  [UPDATED] Thank you/Like Like Ra 11 4,729 14 Jul 2024, 01:21
Last Post: Like Ra
  [UPDATED] Game section Like Ra 53 36,333 19 Jun 2024, 00:16
Last Post: Like Ra
  [UPDATED] feature: list of contributors Like Ra 3 1,022 10 Jun 2023, 23:19
Last Post: Like Ra
  [UPDATED] feature - attachment slide show Like Ra 22 7,457 09 Jan 2023, 01:53
Last Post: Bound Whore