XF 2.1 Embedding a .mp4 video into post

JoyFreak

Well-known member
I've created a custom bb code and currently have this as a html replacement:

Code:
<span data-s9e-mediaembed="youtube"><span><iframe allowfullscreen="" scrolling="no" src="https://www.joyfreak.com/assassins-creed-valhalla-30-minute-gameplay-leaked.mp4" style="background:url(https://assets-jpcust.jwpsrv.com/thumbnails/40zfbqw9-1280.jpg) 50% 50% / cover"></iframe></span></span>

It seems to work OK. The only thing that I dislike is that it has a "download video" option. It also looks messed when you first load the page on an iPhone, then you click play and it works fine. Oh and it seems to autoplay on desktop, which is annoying too.

You can see the embedded video in this thread: https://www.joyfreak.com/threads/assassins-creed-valhalla-30-minute-gameplay-leaked.8356/

Anyone got any other suggestions?
 
Top