Quantcast
Channel: All Discussions - Cargo support
Viewing all articles
Browse latest Browse all 867

next / previous buttons not working when video is in project

$
0
0
I've created next / previous buttons (arrows) with the below code inserted into my custom html...

It works great with projects containing just images. When I embed a video via Vimeo the buttons next / previous stop working?

This page works correctly:
http://cargocollective.com/josephconiff/Yes-No

This page does not:
http://cargocollective.com/josephconiff/speaker

Any thoughts?

Thanks


<script type="text/javascript">$(document).bind("projectLoadComplete", function(e, pid){ $(".project_next a").text(" →")});</script>

<script type="text/javascript">
$(document).bind("projectLoadComplete", function(e, pid){
$(".project_header").prepend('<div id="prev_project"><a href="#" >← </a></div>');
$("#prev_project a").click(function(){
$(document).trigger("showPrevProject");
return false;
});
});
</script>

Viewing all articles
Browse latest Browse all 867

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>