jQuery(window).load(function(){ jwplayer("fullscreen_self_hosted_vid").setup({ flashplayer: "https://innerpeaceday.org.uk/wp-content/themes/grandportfolio/js/player.swf", file: "", width: "100%", height: "100%", autostart: "true" }); });