ala888 Posted July 14, 2014 Share Posted July 14, 2014 (edited) the source element within my video tag does not recognize files that have special characters in them!How do I get around this issue? <video> <source src="hello.mp4"> </video> This works <video> <source src="#hello.mp4"> </video> this doesnt why? Edited July 14, 2014 by ala888 Link to comment Share on other sites More sharing options...
L8V2L Posted July 15, 2014 Share Posted July 15, 2014 Do you need the second one? Can't you just use the first one?I Don't know with out seeing the whole source code.Try via js. Link to comment Share on other sites More sharing options...
ala888 Posted July 15, 2014 Author Share Posted July 15, 2014 it literally is just that, you can test it out yourself. If a video source file has any '#' in its name, the whole thing comes to a crashing halt. Im not so entangled as having to use the second one; but more like worried that its a manifestation of a greater problem/bug Link to comment Share on other sites More sharing options...
L8V2L Posted July 15, 2014 Share Posted July 15, 2014 Or a solution to preventing an attack. Try using the escape one?It might just be a solution to prevent an attack against mailice code, or that how it was design.This would be the type of question you'll ask WHATWG for understanding. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now