Slap MessageBoards

Office Hours => Admin/Mod Questions => Topic started by: skatehypecom on November 03, 2020, 10:16:35 PM

Title: SkateHype videos 16:9 and 4:3
Post by: skatehypecom on November 03, 2020, 10:16:35 PM
Hi, now slap forum transform links into 4:3 videos.

Can we add a tag to the link to inform the video is 16:9 instead of 4:3?

Code: [Select]
https://www.skatehype.com/v/cherry-supreme-2014/10345.htm#16:9 or #pan or ...
To transform in:
Code: [Select]
<div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden"><iframe name="10345" style="position:absolute;top:0;left:0;width:100%;height:100%" allowfullscreen src="https://www.skatehype.com/ifplay.php?v=10345"></iframe></div><br>Autor: <a href="https://www.skatehype.com/movies" title="Skate Movies">Skate Movies</a>
The difference is the 56.25% for the 16:9 vs the 75% for the 4:3 on "padding-bottom"

Another easy solution is add tag inside link
Code: [Select]
https://www.skatehype.com/v/cherry-supreme-2014-169/10345.htm and just find for "169" in link.

Thank you.

Title: Re: SkateHype videos 16:9 and 4:3
Post by: skatehypecom on November 06, 2020, 01:20:59 AM
And also would be good if can be choose post link or player.

Maybe we can do something like

link#player43 -> player 4:3
link#player169 -> player 16:9
link -> link

And still detect id through the link and aspect ratio through the hashtag
Title: Re: SkateHype videos 16:9 and 4:3
Post by: skatehypecom on November 23, 2020, 08:44:20 PM
Hi, now links not transforming into player. Any update?