Menu icon Foundation

My Posts


My Comments

Zhivko Kostadinov commented on Zhivko Kostadinov's post almost 4 years

Hey, I`mma answer myself since i managed to brute-force it to work.

I will not speculate what and how .... here is my solution:
PHP
echo '<div class="flex-video '.md5(uniqid()).'"><iframe src="http://www.youtube.com/embed/';

Added additional class name randomly generated to the flex-video div. Now everything refreshes on simple reload.

I hope this will help somebody!

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Zhivko Kostadinov's post almost 4 years

Hey, I`mma answer myself since i managed to brute-force it to work.

I will not speculate what and how .... here is my solution:
PHP
echo '<div class="flex-video '.md5(uniqid()).'"><iframe src="http://www.youtube.com/embed/';

Added additional class name randomly generated to the flex-video div. Now everything refreshes on simple reload.

I hope this will help somebody!

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content