
can't figure it out; I should reload page to watch video second time
I apologize if I have not written in the right topic and for my bad English.
in my wordpress website I have " Lightbox Plus Colorbox" plugin and embedded jw player.
code
<a class="lbp-inline-link-1" href="#"><img src="http://mywebsite.com/wp-content/logos/1.png"></a>
<div style="display:none">
<div id="lbp-inline-href-1" style="background: #000000">
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "rtmp://mywebsite.com/movie/101",
width: 640,
height: 360,
title: 'live broadcast',
description: 'live broadcast 1'
});
</script>
</div>
</div>
when I open the page first time and click on the img, window pops up, I click on play and the movie begins, but if I'll close the poped up window, click on img second time (window pops up) and click on play, it doesn't do anything until I'll refresh the page. thus after refreshing it works, but only first time.
What can be the reason?
and how can I fix it?
all help is appreciated
Regards MK