Changing JWPlayer Video OnClick
This is what I have so far below. If I hard code the file: media/video2.mp4 in the function it works but when I make it a variable its not passing it through correctly because I ke
Solution 1:
It is because you are placing variable filename in the script as a string literal.
just change this line
file: " + filename + ",
to
file: filename,
and it will work fine!
Post a Comment for "Changing JWPlayer Video OnClick"