TinyPortal

Development => Block Codes => Topic started by: VladTepes on August 05, 2023, 04:13:36 PM

Title: Video grid in TP front page
Post by: VladTepes on August 05, 2023, 04:13:36 PM
Has anyone got an idea if / how I could create a grid of (YouTube) videos on the front page?

I'd like to do a 2 column grid

These would be 'fixed' (i.e. not dynamic / regularly changing) so I can use YT embed code if needed

<iframe width="560" height="315" src="https://www.youtube.com/embed/pVZ8hPEY0MQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

would the above work just in an html block?


or just use the usual YT url thing if that would work.  (SMF2.1)

https://youtu.be/pVZ8hPEY0MQ
Title: Re: Video grid in TP front page
Post by: @rjen on August 05, 2023, 05:23:42 PM
Well, you could just try and find out?