Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Player & pop-up player

  • Mahmoud
  • Mahmoud's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 3 months ago #140085 by Mahmoud
Player & pop-up player was created by Mahmoud
Is there a way to automatically switch off the player on the page once the pop-up player is on?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago - 9 years 3 months ago #140086 by Krikor Boghossian
Replied by Krikor Boghossian on topic Player & pop-up player
(function($){
	$(document).ready(function(){
		$('.popup').click(function(){
			$('.jp-pause').trigger('click');
		});
	});
})(jQuery);

This code which should be pasted in your custom,js file emulates a click on the pause when the popup is being pressed.
Let me know if it did the trick.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Mahmoud
  • Mahmoud's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 3 months ago #140087 by Mahmoud
Replied by Mahmoud on topic Player & pop-up player
Hey sorry for late reply,
I did past the code into the custom.js file but it did not do the magic (sorry)
any another suggestion ?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #140088 by Krikor Boghossian
Replied by Krikor Boghossian on topic Player & pop-up player
How did you implement the player. Did you use Radiojar or another provider?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Mahmoud
  • Mahmoud's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 3 months ago #140089 by Mahmoud
Replied by Mahmoud on topic Player & pop-up player
Yes, I'm using RadioJar
found it easier and suits my needs now.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #140090 by Krikor Boghossian
Replied by Krikor Boghossian on topic Player & pop-up player
I will contact them and get back to you about this.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Mahmoud
  • Mahmoud's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 3 months ago #140091 by Mahmoud
Replied by Mahmoud on topic Player & pop-up player
Any news?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #140092 by Krikor Boghossian
Replied by Krikor Boghossian on topic Player & pop-up player
I 'll notify you when I have the solution ready.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 months ago #140093 by Krikor Boghossian
Replied by Krikor Boghossian on topic Player & pop-up player
Spoke too soon.
Remove the script I gave you and open the Player module.
In the popup class add a second class jp-pause.
It should look like class="popup jp-pause"

Let me know if that works.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Mahmoud
  • Mahmoud's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 3 months ago #140094 by Mahmoud
Replied by Mahmoud on topic Player & pop-up player
I guess i am lost now,
so i went to the player model but could not find the class pop-up to add |class="popup jp-pause"|
any screenshot please?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum