Ray
Active member
I want to hide videos from some media sites in plain view using css, not sure if it's possible but here is what I did:
EXTRA.css
From BB Code Media Sites, I wrapped the embed code with:
The video should be hidden from guests and viewable by members. Currently, no one can view them.
Maybe xf conditionals cannot be used in EXTRA.css?
EXTRA.css
HTML:
<xen:if is="!{$visitor.user_id}">
DIV.hidevideo
{
display:none
}
</xen:if>
From BB Code Media Sites, I wrapped the embed code with:
HTML:
<DIV class="hidevideo"> embed html code </DIV>
The video should be hidden from guests and viewable by members. Currently, no one can view them.
Maybe xf conditionals cannot be used in EXTRA.css?