jquery - Jplayer is not working in Chrome -


I have a code, I want to play video on my site, JAPlayer works fine in Firefox .. but doesnot google Work in chrome, in which there is a div in which I had kept Japlayer not shown in Chrome. Thanks for the help

  & lt; script src = "js / jquery-1.7.2.min.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script src = "js / html5.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script src = "js / functions.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; script src = "jquery.jplayer.min.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script & gt; $ (Document) .ready (function () {$ ("# jquery_jplayer_1"). JPlayer ({ready: function} ($ (this) .Jeplier ("Setmedia", {m4v: "http: //www.jplayer. org / video / m4v / big_buck_Bunny_Trailer.m4v ", OGV:" http://www.jplayer.org/video/ogv/Big_Buck_Bunny_Trailer.ogv ", webmv:" http://www.jplayer.org/video/ webm /Big_Buck_Bunny_Trailer.webm ", poster:" http://www.jplayer.org/video/poster/Big_Buck_Bunny_Trailer_480x270.png "})}}, SWFPath:" jQuery.jPlayer.2.5.0 / JS ", supplied "Webmv," OGV, M4V ", size: {width:" 850px ", height:" 478px ", cssClass:" jp-video-360p "}, // smooth playbar: true, // keyEnabled: True}); $ ("# jquery_jplayer_1"). Click (function () {$ ("# jquery_jplayer_1"). Jopple ("Play"); endparty (video);});}); function endpart video () {$ ('# jquery_jplayer_1'). Bine ($ .jplayer.event.timeupdate, function) {var current = $ .jPlayer.convertTime ($ ('# jquery_jplayer_1'). Data ('jplayer') .Status.SyrentTime) var period = $ .Japplayer.ConvertTime ($ ('# jquery_jplayer_1'). Data ('japlayer') Event. Period); If (current == period) {warning ("video end");}}); } & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt ;! - Shell - & gt; & Lt; div class = "shell" & gt; & Lt ;! - Header - & gt; & Lt; Header & gt; & Lt ;! - Logo - & gt; & Lt; H1 id = "logo" & gt; & Lt; A href = "#" headline = "home" & gt; SiteName & lt; span & gt; Com & lt; / Span & gt; & Lt; / A & gt; & Lt; / H1> & Lt; / Header & gt; & Lt ;! - END header - & gt; & Lt ;! - content - & gt; & Lt; Section id = "content" & gt; & Lt ;! - Video Holder - & gt; & Lt; Section class = "video-holder" & gt; & Lt; Div id = "jquery_jplayer_1" class = "jp-jplayer" & gt; & Lt; / Div & gt; & Lt ;! - & lt; iframe width = "850" height = "478" src = "& lt; iframe src =" // player.vimeo.com/video/92019619 "width =" 500 "height =" 281 "frameborder =" 0 "webkitolofloscreen mosaoflascreen AcceptableSluscreen & gt; & lt; / iframe & gt; & lt; p & gt; & lt; a href = "http://vimeo.com/92019619" & gt; Team Synergy One - Now Waking - Opportunities & lt; / a & gt; from & lt; a href = "http://vimeo.com/user26967867" & gt; Rocky Heath & lt; / a & gt; at & lt; a href = "https: // vimeo. Com "& gt; Vimeo & lt; / a & gt ;. & lt; / p & gt ;," frameborder = "0" acceptable screen & gt; & Lt; / Iframe & gt; - & gt; & Lt; / Section & gt; & Lt ;! - END Video Holder - & gt; & Lt ;! - Wrap form - & gt; & Lt; Section square = "box" data-second = "8" data-minus = "0" & ​​gt; & Lt; Form action = "#" method = "post" & gt; & Lt; Input type = "submit" value = "click here to contact us" class = "submit-button" /> & Lt; / Form & gt; & Lt; P class = "banner" & gt; & Lt; / P & gt; & Lt; / Section & gt; & Lt ;! Wrap - END form - & gt; & Lt; / Section & gt; & Lt ;! - END material - & gt; & Lt; / Div & gt; & Lt ;! - END Shell - & gt; & Lt; / Body & gt; & Lt; / Html & gt;   

There is an error on the following console

  Unkit type error: invalid constructor    

Change this function $ (document) .ready (function () { to $ (document) .ready (function ( } { .. this will work

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -