Friday 19 April 2024

Monday 8 April 2024

How to Stream Clearkey Protected MPD Video in dash.js

How to Stream Clearkey Protected MPD Video in dash.js

Video content is gaining lot of popularity these days and so does streaming. However, streaming video content is not new to web. But the way people are consuming it all around the world, it is becoming an issue for the content creator and content creation companies to control the spread of their content to unauthorized users or simple saying - unsubscribed users.

That's why Digital Rights Management (DRM) was developed to protect the video from piracy and to make it very hard (yet not impossible) to download the original video on client device.

Thursday 25 January 2024

HTML 5 Canvas Element (Simplified) With Basic Examples

HTML 5 Canvas Element (Simplified) With Basic Examples

HTML 5 Canvas Element is best element out of the other, that I like the most. Suppose you want to add text, images, videos or embed an iframe, there are certain elements present that let you do this.

But I say, if you want to manipulate some part or whole of an image or video, then what will you do? Here <Canvas> comes into picture.

Sunday 11 September 2022

How To Defer offscreen images and Serve images in next-gen formats in Blogger (Blogspot)

How To Defer offscreen images and Serve images in next-gen formats in Blogger (Blogspot)

The most frequent and common problem faced by Blogger Community is that these two Opportunities in the Page Speed Insights -

  • Defer offscreen images
  • Serve images in next-gen formats
What they are trying to say is defer or lay load the images on the web page and use compressed images. Image formats like WebP and AVIF often provide better compression than PNG or JPEG, which means faster downloads and less data consumption.

In this post, I'm going to show you how to tackle this problem.

How to lazy load the Blogger's Comment Box

How to lazy load the Blogger's Comment Box

Welcome Back! After a long time! In this post, I'm going to write about Blogger. I know many people out there use blogger to blog and its not the worst platform as many people frustrated with Blogger will say.

Mainly because blogger loads slow as shown in the Page Speed Insights, it loads many JS and CSS bundles that are hard to remove. In case of WordPress, you have many plugins in hand, you can customize it the way you want.

So today, I'm going to share how you can make your blogspot load time faster. And, how to Lazyload the Blogger Comment Box.

Sunday 14 August 2022

(Solution) Blogspot Image Not Uploading On Pasting Error

(Solution) Blogspot Image Not Uploading On Pasting Error

You must have seen the error when we try to copy any image and paste it in blogger's Compose View HTML editor. It gives an weird error on pasting.

But let me tell you, that this error is because of not able to include the image into the HTML, and not because that the image is not uploading.

That means the images are uploading. To add an image, click on add image icon, select Blogger and then scroll down - you will see your image. Click to add that.

Thursday 3 March 2022