Iframely video thumbnail doesn't load on posting
I tried fixing this issue in the past without much success. I have Iframely set up for my test site. I post an example video from YouTube. When the update posts, the video thumbnail won't load unless you click the three dots on the bottom right to inadvertently trigger a load within the post window. I have attached a step-by-step series of screenshots. Does anyone know how to get the video thumbnail to load as soon as the update is posted?
-
- · CoolUser376
- ·
I just made an important discovery related to this issue. If you attach a YouTube link with iFramely turned on in a Discussions post, the video shows up right away on posting. This means the Discussions module handles online video posting differently than the Timeline.
-
- · CoolUser376
- ·
I have finally come up with a solution to this problem which has always existed when using the iFramely option. I edited embed_iframely_integration.html and added the following JavaScript (first line was already in there):
iframely.load(); setTimeout(function() { iframely.load(); }, 0);Once the post lands on the timeline, this just refreshes the video embed so it shows right away.
-
Hello @CoolUser376 !
Our devs already has fixed this issue in the code:
https://github.com/unacms/una/issues/4864
Thnx for the signal!