% sign in Mediaelement uri


hi ,, having problems uri containing % sign. setting uri mediaelement source property, , trying start the mediaelement. generates mediafailed event. same problem uri containing single quote.

 

q: uri containing % or single quote invalid uri ???   

hi stevie,

the % sign has special meaning in urls because used called url encoding. don't think single quote required encoded. if want use % sign part of url, need replace %25. single quote can encoded %27. complete list, see here. can encoding programmatically using urlencode method of silverlight.



Silverlight  >  Silverlight Controls and Silverlight Toolkit



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........