How to pass file path stored in database to Flash in ASP.NET MVC (VB.NET)

I am using JW Player in an ASP.NET MVC application and I am trying to pass a file path from a database.

param name = "flashvars" value = "file = <% ResolveUrl (item.VideoPath)%> & image = preview.jpg"

I am getting nothing for the file path. How can i do this? Thanks to

0


a source to share


1 answer


You need an equal sign after the%, for example:



param name="flashvars" value="file=<%=ResolveUrl(item.VideoPath)%>&image=preview.jpg" 

      

+1


a source







All Articles