% 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

SQL Server PSProvider SQL Server Authentication

BIT Version

How to calculate the delta size while diffing the files in TeamFoundationServer ?