I am using JW Player in an ASP.NET MVC application and I'm trying to pass file path from database.
param name="flashvars" value="file=<%ResolveUrl(item.VideoPath)%>&image=preview.jpg"
I get nothing for the file path. How can I do this? Thanks
I am using JW Player in an ASP.NET MVC application and I'm trying to pass file path from database.
param name="flashvars" value="file=<%ResolveUrl(item.VideoPath)%>&image=preview.jpg"
I get nothing for the file path. How can I do this? Thanks
You need an equals sign after the %, like so:
param name="flashvars" value="file=<%=ResolveUrl(item.VideoPath)%>&image=preview.jpg"