Slap MessageBoards
Office Hours => Admin/Mod Questions => Topic started 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?
https://www.skatehype.com/v/cherry-supreme-2014/10345.htm#16:9 or #pan or ...
To transform in:
<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
https://www.skatehype.com/v/cherry-supreme-2014-169/10345.htm
and just find for "169" in link.
Thank you.
-
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
-
Hi, now links not transforming into player. Any update?
-
So sorry for the delay in this, notifications weren't coming through to me for some reason. I will look into this.
-
I have fixed the auto embed from link, the author of the extension we were using changed how to add custom sites. I transferred it to this new method. The 16x9, 4x3, and link things thought might be more time this I can dedicate to this.
-
Thank you very much.