javascript - JWPlayer Unexpected Token Ilegal -
this question has answer here:
- no visible cause “unexpected token illegal” 10 answers
i have next test code, , got next error message
uncaught syntaxerror: unexpected token illegal
after got next error message
uncaught referenceerror: jwplayer not defined
i've downloaded jwplayer account on jwplayer page. doing wrong?
<!doctype html> <html> <head> <script src='//code.jquery.com/jquery-2.2.0.min.js' type='text/javascript' ></script> <script src='./player/jwplayer.js' type='text/javascript' ></script> </head> <body> <div id='target'> </div> <script language='javascript'> var playerinstance = jwplayer('target').setup({ file: './videos/jaguar.mp4', flashplayer: './player/jwplayer.flash.swf', widht: 600, height: 300, image: './images/jaguar.jpg' }); </script> </body> </html>
looks spelled width
wrong.
Comments
Post a Comment