Kentico - JWPlayer file ResolveUrl

/ Published in: ASP
Save to your folder(s)

The usual way to resolve a url file path doesn't work with JWPlayer. You'll need a different one because the "+" in ... ?guid="+ Eval("fieldName"))%> will throw an error...

Copy this code and paste it in your HTML
  1. <%# ResolveUrl(String.Format("~/CMSPages/GetFile.aspx?guid={0}", Eval("Video"))) %>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.