Count Your Blessings, Good Times Will Follow!

COVID has hit us hard and it’s sad truth that we lost almost 3 million lives are living and passing through this pandemic for more than a year now. Kind of we used to see in movies and television series like Resident Evil and 12 Monkeys. We are experiencing it live. From work from home, long queues outside shopping malls, home quarantines, not being able to hug our closed ones staying in same home & poor migrants standing on borders to reach their own homes. Job loss, loss of closed family members, delayed salaries, no vacations, lockdowns, travel restrictions and lot more.

We all are facing it & together. I faced it, depression- to the core that I felt I am surrounded with black cloudy thoughts along with thunderstorms. All playing with my head and heart. Moving on and admitting the situation was difficult. Soon after I realised that I am getting into depression due to personal losses and trail of traumatic events I went through during pandemic, I realised that I need to get out of this else I would dig my own emotional grave. I know there are people who would critic or even think what the hell am talking? But it doesn’t matter. For emotional people it will make more sense to dig this article deeply as it might help you to change your outlook and generate more optimistic approach towards life.

First thing I had to understand was “ACCEPTANCE“. This might sound easy but it isn’t. Wasn’t easy was me at least. I had to give my all in to accept the truth about myself. Again, just myself. Accepting the fact that there will be sunrise after dark and dark after sunrise was difficult for me to accept. I was living in my own dilemma willing everything to go my way and the way I was living life was to create artificial sunrise even when it was dark. The “Law Of Attraction” was working. Fight or Flight. Soon I met someone who got me to dig deep in this word called “ACCEPTANCE“. I am going to emphasise a lot on this word throughout the article as it was building block for rest of my thought process. I could’t go any further till I understood this word deeply and admitted that my grandiose thinking was not helping me. Nothing was under my control, I realised. “Law Of Attraction” stopped working and I was sitting in my room, all alone with no one around me. Selfishness-self-centeredness! This was root of my trouble. I was driven by thousands form of fear, self-delusion, self seeking and self-pity. My self-will placed me in a position to be hurt.

Later and hardly, I had to accept that things will happen their own way and I have to act spectator sometimes. I also came across a poster that grilled my thought process even further.

Don’t Avoid Storm, Just Let It Pass. Just Sail.

Law of Attraction” started working as I stopped expecting and became less judgemental. Fight of Flight stopped. Accepting situations and sailing through became easier. Even in worst situations I started counting more of my blessings. I had new Employer in form of Acceptance and I started believing that there is some power who is planning things for me that I was not able to plan for myself. Established on such thought process, I became less worried and less interested in my own self will. I had little plans for myself. I started enjoying beach from shore and black clouds from earth avoiding prediction of when it’s going to rain.

As I felt new power flow in I started enjoying peace of mind and was able to face life with more optimistic outlook, one day at a time. I started to become more conscious and started losing fear of today, worry of tomorrow or hereafter. It was like emotional rebirth, having new perspective towards life which was not driven by my self will. I had to quit playing God and this was keystone of new triumph through which I had feel of freedom from my own entangled thought process which was self-will run riot. At times you could just sit under lemon tree waiting for nothing to happen and you will feel life will happen when you are busy making other plans. A song for those who tool this article too seriously. 🙂

Video Advertising: Tips, how to play and pause YouTube videos on scroll and story behind Adele’s Hello

A lot of start-up advertisers and enthusiasts ask me about importance of video advertising. Recently, I met one friend who wanted to embed video ads in his app and website, the kind of ads you see on Gaana.com or auto play videos on Facebook which auto start and pause when you scroll.

Businesses also ask what kind of videos will work for their business. Here are few tips.

  1. Shorter is better – watch trailer before you go for movie

    length-matters-2
    Video length significantly determines how many people are going to watch your video. Just like you prefer to watch movie’s trailer before planning to spend 2 hours to watch entire movie, people prefer to watch 30 seconds trailer about your business, if they like the trailer they will definitely watch 30 mins video about your business and maybe turn to your loyal customers.

  2. Quality of video – short creative motivating story

    After length its quality of video that you are putting on your website or app. A short creative story that motivates customers to go for your business rather than other players in market is the key.
    online-video-marketing

  3. Viral – market your video using various channels

    This is one term that is viral over internet. I remember when people used to share videos over email, when YouTube was not there. “The Spirit of Christmas” was distributed over email and it led to creation of adult comedy animation series “South Park”. Now you have got lot of channels like YouTube, Facebook, Twitter and other social media platforms. Utilize them well.
    going-viral007

I feel, video advertising is in huge demand right now but there is no inventory. There are a lot of online tools that you can use to create good videos for your business. I am pasting small list here.

Now let’s go core technical and play and pause a YouTube video on scroll.

  1. In your script tag load the iframe Player API code asynchronously
    var tag = document.createElement('script');
    tag.src = "https://www.youtube.com/iframe_api";
    var <span class="mceItemHidden" data-mce-bogus="1"><span class="hiddenSpellError" pre="var " data-mce-bogus="1">firstScriptTag</span></span> = document.getElementsByTagName('script')[0];

    firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);

  2. after the API code downloads, create a YouTube Player
    var player;
    function <span class="mceItemHidden" data-mce-bogus="1"><span class="hiddenSpellError" pre="function " data-mce-bogus="1">onYouTubeIframeAPIReady</span></span>() {
    player = new YT.Player('player', {
    height: '390',
    width: '640',
    <span class="hiddenSpellError" pre="" data-mce-bogus="1">videoId</span>: '<span class="hiddenSpellError" pre="" data-mce-bogus="1">769SeL9QiFw</span>',
    events: {
    '<span class="hiddenSpellError" pre="" data-mce-bogus="1">onReady</span>': <span class="hiddenSpellError" pre="" data-mce-bogus="1">onPlayerReady</span>,
    '<span class="hiddenSpellError" pre="" data-mce-bogus="1">onStateChange</span>': <span class="hiddenSpellError" pre="" data-mce-bogus="1">onPlayerStateChange</span>
    }
    });
    }
  3. On player ready set window.onscroll to check for video position on scroll
    function <span class="mceItemHidden" data-mce-bogus="1"><span class="hiddenSpellError" pre="function " data-mce-bogus="1">onPlayerReady</span></span>(event) {
    window.onscroll = function() {<span class="hiddenSpellError" pre="function " data-mce-bogus="1">checkIfToPlayVideo</span>()};
    }
  4. Check scroll position and play pause video
    function <span class="mceItemHidden" data-mce-bogus="1"><span class="hiddenSpellError" pre="" data-mce-bogus="1">checkIfToPlayVideo</span></span>(){
    if(window.pageYOffset>200){
    player.playVideo();
    }
    else if(window.pageYOffset<200){
    player.pauseVideo();
    }
    //console.log(window.screenY);
    }
  5. Add div that will get replaced by YouTube iframe
    
    
    &amp;lt;div style="height:&lt;span class="mceItemHidden" data-mce-bogus="1"&gt;&lt;span class="hiddenSpellError" pre="" data-mce-bogus="1"&gt;800px</span></span>;position:relative;"&gt;&amp;<span class="hiddenSpellError" pre="" data-mce-bogus="1">nbsp</span>;
    <h1>Scroll down to play Video</h1>
    
    
    
    <div id="player"></div>
    
    
    <div style="height:800px;position:relative;">&nbsp;
    <h1>Scroll to top to pause Video</h1>
    </div>
    
    
    

    Great, you created Facebook like video experience. You can manipulate viewport based on your requirements. You can also check live demo here.

    Story behind Adele’s latest hit ‘Hello’

    There were rumours that Adele wrote this song after her breakup. As per her official interview if she would have written ‘Hello’ for her lost love it would be full of pain. But this video was not intended to be on ‘dark side’. The other side is not dark. There was a girl in her 20’s going through bad phase and people called her immature, emotionally stable on social media and compared her to Taylor Swift and there is a mature lady writing from a place out of her comfort zone and singing ‘Hello from the other side’.

    Happy Advertising and Coding! Enjoy ‘Hello’ in demo.

Image copyrights
http://wistia.com/
http://emarketingblog.nl
http://crispvideo.com