Jump to content

<video> source not working


ala888

Recommended Posts

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 by ala888
Link to comment
Share on other sites

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...