![]() |
vB5 suggestion : video background per forum basis
1 Attachment(s)
Hi,
My main retirement hobby is photography and video. Under vb5, I don't know if this can be done directly in the templates with conditionals (is there a list of vB5 conditionals somewhere on the vBulletin website?) or if it requires a vB5 mod. I would like a video that runs full screen in the transparent parts of the forum. And on a per-forum basis. The opacity of videos is fixed by CSS. As in the following example under 3.8.11, a silent video with sea waves breaking on the beach in the forum background with an opacity of 0.3. |
You should be able to do this by placing the code in the template, I have not touched vb5 honestly, but looking at a bit from one of yil's products it looks like conditionals are the same as vb4
Code:
<vb:if condition="$vboptions['yilmazhidetextfromguest_on'] AND ($user['userid'] == 0)"> Code:
<vb:if condition="$foruminfo['forumid'] == 2">CODE FOR FORUM 2 (background video with CSS cover)</vb:if> |
Thank you very much for your conditionals & hints ! I will test them.
I think the main challenge on vB5 will be to make the videos responsive on desktop. On my vb 3.8.11, the background videos do not play on mobile, they are hidden by a div. On desktop, they are responsive. Videos are placed in forumhome and in forumdisplay ... on a per-forum basis with conditionals. I will give you a feedback in the next days. |
vb5 forum conditions such
HTML Code:
<vb:if condition="$page['channelid'] == 344"> HTML Code:
<style> Fullwidth YouTube Cover demo https://www.vbyilmaz.com/z/background-video2.html HTML Code:
<style> |
Wow! Thank you very much again and again Yilmaz! :up:
edit: donation sent by Paypal (reply if you have not received it) |
All times are GMT. The time now is 11:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|