Videos

Body
function twShareFunction() { var shareTitle = "Share this video"; console.log(shareTitle); var TwshareURL = jQuery("#hiddenTxt").attr("class"); // var href = 'https://twitter.com/intent/tweet?text=' + encodeURIComponent(shareTitle) + '&url=' + encodeURIComponent(TwshareURL); // jQuery('div#block-views-block-videos-block-4 .sharewrapper a.icon-twitter').attr("href", href); // window.open(href, "Twitter", "height=285,width=550,resizable=1"); var href = 'https://twitter.com/intent/tweet?text=' + encodeURIComponent(shareTitle) + '&url=' + encodeURIComponent(TwshareURL); jQuery('div#block-views-block-videos-block-4 .sharewrapper a.icon-twitter').attr("href", href); window.open(href, "Twitter", "height=285,width=550,resizable=1"); } window.fbAsyncInit = function () { // init the FB JS SDK FB.init({ appId: '184523392768703', // App ID from the app dashboard status: true, // Check Facebook Login statusshare xfbml: true // Look for social plugins on the page }); // Additional initialization code such as adding Event Listeners goes here }; // Load the SDK asynchronously (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) { return; } js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); function postfeed() { console.log("inside fb"); var currentURL = jQuery("#hiddenTxt").attr("class"); var obj = { app_id : '184523392768703', method : "feed", link : "https://www.coolaccidents.com/video/add-to-cart-with-rico-nasty", picture : "/sites/g/files/g2000012951/files/2021-10/CA-Reskin-FBOG.png", name : "Cool Accidents. The best place to find the latest in new music & the coolest in pop culture. Read, listen, watch and win. Cool A", display : "popup" };console.log(obj); FB.ui(obj); return false; } jQuery(window).load(function () { jQuery("div#block-views-block-videos-block-4 .sharewrapper a.icon-facebook").click(function () { postfeed(); }); jQuery("div#block-views-block-videos-block-4 .sharewrapper a.icon-twitter").click(function () { //twShareFunction(); }); }); #block-views-block-videos-block-4 .item-list.video-block-list-wrapper li{display: none; } #block-views-block-videos-block-4 .item-list.video-block-list-wrapper li:first-child{display: block; }
  • Add To Cart With Rico Nasty

  • 10 Things You Didn't Know About SUPER CRUEL

  • Getting High (Tea) With Dune Rats

SIGN UP FOR OUR EMAILS

Be the first to know about new music, competitions, events and more.

terms

By submitting my information, I agree to receive personalized updates and marketing messages about Cool Accidents based on my information, interests, activities, website visits and device data and in accordance with the Privacy Policy. I understand that I can opt-out at any time by emailing privacypolicy@wmg.com.

Thank you!
x

Welcome to Cool Accidents' mailing list.

Customize your notifications for tour dates near your hometown, birthday wishes, or special discounts in our online store!

terms

By submitting my information, I agree to receive personalized updates and marketing messages about Cool Accidents based on my information, interests, activities, website visits and device data and in accordance with the Privacy Policy. In addition, if I have checked the box above, I agree to receive such updates and messages about similar artists, products and offers. I understand that I can opt-out from messages at any time by emailing privacypolicy@wmg.com.