I am using html5 video tag like below in a project. and i don't want to show video on page if its path is null or empty in database. How can i check if Eval is empty and hence prevent to show video player on design page side?
<video id="video" runat="server" controls="controls" class="w3-margin-bottom">
<source src='<%# Eval("Link","../Path/Video/{0}") %>' runat="server" type="video/mp4" />
Tarayıcınız video etiketini desteklemiyor!
</video>
I have tried these kinds of solution below but haven't solved yet.
visible='<%# Eval("Link","../Yazar/Post-Video/{0}") != "null" %>'