, . , ...
:
- div (jwplayer)
- div (, )
( IE) , popover , (!), !
, , - ( ).
, , .
script, jwplayer.
<div id="Player">player should load here</div>
<script language="javascript" type="text/javascript">
var flashvars = {};
flashvars.linkfromdisplay = "true";
flashvars.autostart = "false";
flashvars.height = "' . $h . '";
flashvars.controlbar = "over";
flashvars.width = "' . $w . '";
flashvars.repeat = "false";
flashvars.bufferlength = "5";
flashvars.displayheight = "' . $h . '";
flashvars.displaywidth = "' . $w . '";
flashvars.file = "http://blablabla.com";
flashvars.type = "vdox";
flashvars.provider = "vdox";
var params = {};
params.menu = "true";
params.allowscriptaccess = "always";
params.allowfullscreen = "true";
params.wmode = "transparent";
params.windowless="true";
var attributes = {};
attributes.id = "Player";
attributes.name = "Player";
swfobject.embedSWF("' . get_bloginfo("template_directory") . '/embed/mediaplayer.swf", "Player", "' . $w . '", "' . $h . '", "8","expressInstall.swf", flashvars, params, attributes);
</script>
js- popover (player1.sendEvent('STOP');): , , .
I also tried removing the video element using jquery, storing it in a variable. Then I insert the “restore video” button: it works in Chrome, the video object appears in IE again, it plays, but everything is black. Thanks
source
share