Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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

5 Community Answers

Donni

JW Player Support Agent  
0 rated :

Can you provide a direct URL to the site and player in question?

kvejo

User  
0 rated :

Thanks for your response
here is the link where you can try it

http://mywebsite.dyndns.org/

Regards MK

Donni

JW Player Support Agent  
0 rated :

Thanks, it looks like the plugin is interfering with the player, does it work in a normal post?

kvejo

User  
0 rated :

if player is not wrapped, it works great. I have added clear code, you can check it.
is there any possibility to fix it?

Alex

JW Player Support Agent  
0 rated :

Hi, there.

Since the issue looks to be more related with your light-box overlay breaking the player than an issue with the player itself, I’m not sure what we would be able to do to assist you. As long as our player works normally when not combined with potentially conflicting JavaScript or CSS, any issues caused would be out of our scope of support.

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.