Ninja Slider / Posts /

Remove arrows once video is playing

2

I have my arrows inside my div so when I click to open my video I would like the arrows to disappear and then reappear once I close out of the video. I tried through JS but not able to target the ".stopVideoIcon" div because it isn't actually in the html I guess.

Brandon  3 years ago   viewed: 2019    

11 Answers

1

I think you are on track, and you have found the following code in ninjaVideoPlugin.js:

f.className="stopVideoIcon";f.onclick=function(a){g.unloadPlayer();a.stopPropagation()};

Then you can add your own function into the f.onclick event:

f.className="stopVideoIcon"; f.onclick=function(a){ if (myStopVideoCallback) myStopVideoCallback(); g.unloadPlayer();a.stopPropagation()};

And add the following script to your page:

<script>
function  myStopVideoCallback() {
$("#ninja-slider-prev").show();
$("#ninja-slider-next").show();
}
</script>
Milo   3 years ago
1

Online Casino Spielautomaten - Bestes Online Casino: Entdecken Sie Neue Online Casinos. Zum Casino Online >> OnlineCasino

 

OnlineCasino   18 days ago
0

Thank you for giving this outstanding information you have a post very good job such a lovely posting..

Research paper writing service  |  professional paper writing service  |  college term paper writing service

allassignment
  one month ago
0

Do you need help to find an appropriate topic for dissertation writing for social work project? Then come to studentsassignmenthelp.com for free social work dissertation writing topics that are suggested by experienced essay writers.

Stefan Carl
  17 days ago
0

Assignment Help Online knowledgeable and experienced writers work like magic. When you have doubts about your project writing or anything, talk to experts of greatassignmenthelp Get an instant and quick help at reasonable price.

Assignment Help
  17 days ago
0

Looking for reliable and authentic Reliable Assignment Writing Service services at Allassignmenthelp.co.uk, We offer reliable assignment writing service to the students at a very reasonable price.


Alisah Wilson   11 days ago
0

I go through this blog, it is very informative and interesting for the users. As the online trends grow day by day the education is also moving towards the online portals. Students also looking for their academics as they are not able to give their proper time to the assignments and search for the assignment help in Australia. Now, you will find many services available online for academic assistance and students generally confused whom to trust for their respective subjects to assign. Even Nursing becomes the most trending term in the online world and whom to believe for nursing assignment help in Australia is a little bit difficult. Few of friends suggest me Online Assignment Expert as they are doing very good in the market with their quality work.

Koby Mahon   3 days ago
0

Every company is trying to implement wireless technology in the devices to make work easy. HP printers are also coming with Wi-Fi features to print from distance. If you don’t know how to connect HP printer to wifi then get help from experts to connect your HP printer to wifi. 

Paul
  3 days ago
0
In order to remove arrows once the video is playing you can search for the solution on Google. However, I use Google with the du wifi packages that is the best wifi service you can get in the UAE.
ja
  19 hours ago
0

I have been filling in as a full-time scholastic expert. I am dedicatedly working at Assignment Help uk to assist understudies with their whole scholarly composition necessities. 

<a href="https://www.allassignmenthelp.co.uk/dissertation-writing-service.html">Management dissertation writing service UK</a>

hookstefan
  6 hours ago
0

Allassignmenthelp.co.uk is the best assignment help the company offering excellent academic services for UK University assessments and provide online assignment help services at an affordable price.

Marketing Management Assignment Assistance

Marketing Assignment Help UK

Alisah Wilson
  5 hours ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: