Entertainment

Deikho Reels

Built from scratch: a short-form reels engine powering the flagship OTT platform of Jazz, Pakistan's largest telecom operator.

Role

Senior Software Engineer @ IDEATION

Built For

Jazz / IDEATION

Category

Entertainment

01

The Challenge

1

Building from Zero: No Prior Blueprint

There was no existing reels infrastructure on the platform. I had to architect the entire feature from scratch: data models, video delivery pipeline, admin tooling, and frontend experience, with no internal reference and under production timelines.

2

Smooth Infinite Scroll with Real Video Delivery

Reels had to feel native: instant vertical swipe, negligible buffering, quality adaptation based on network. The videos needed to be converted to HLS (.m3u8) with multi-resolution support (480p to 720p), streamed from Huawei OBS via CDN URLs, and loaded efficiently in a Blade-based frontend without a React/JS-heavy setup.

3

One API, Two Consumers

The same FastAPI endpoints had to serve both the web (Laravel/Blade) and the mobile app. This meant designing clean, well-structured API contracts that the mobile development team could consume independently, with no coupling to the web layer's rendering logic.

02

The Solution

1

FastAPI Backend and Data Layer

Reel ingestion, metadata storage, view tracking, and feed delivery built in FastAPI with MySQL as the persistence layer, storing and serving Huawei OBS CDN URLs for every reel.

2

HLS Video Pipeline

All reel videos transcoded to .m3u8 with adaptive bitrate (480p to 720p), enabling smooth playback and reduced buffering across varying network conditions.

3

Vertical Scroll Feed with Preload Logic

Laravel/Blade frontend with optimized preloading: the next reel begins loading before the current one ends, achieving near-zero perceived wait time on scroll.

4

View Count and Analytics Tracking

Performance tracking baked into the API layer, giving the content team per-reel visibility tied to shows and series launches.

5

Admin Panel for Content Management

Laravel-based admin panel allowing the content team to upload reels, associate them with shows, and manage the growing library.

6

Unified API Contract for Web and Mobile

A single set of FastAPI endpoints designed to serve both the Laravel web layer and the mobile app: clean separation, no duplication, independently consumable by the mobile team.

Tech Stack

FastAPI Laravel MySQL Huawei OBS HLS / m3u8 CDN Python REST API

Tags

FastAPI MySQL
03

The Results

1,000+ reels uploaded and live across platform originals and show launches.

Millions of collective views across the reels catalog, ongoing as new content ships.

Negligible scroll-to-next load time achieved via HLS streaming, CDN delivery, and preload logic.

Adaptive quality from 480p to 720p via .m3u8, handles varying network conditions gracefully.

Single API layer serving both web and mobile consumers: zero duplication, clean separation.

Feature is live in production and actively used with every new series and show launch on Deikho.

Project Overview

Deikho is the official OTT streaming platform of Jazz, Pakistan's largest telecom operator, developed by IDEATION, offering original Pakistani content including dramas, shows, and digital-first series. As the platform grew, there was a need to introduce a short-form video experience, Deikho Reels, to complement long-form content and drive audience engagement around platform originals.

As the sole developer, I designed and built the entire Reels system end-to-end: from FastAPI backend services and Huawei OBS CDN integration, to the Laravel web experience and a unified API contract consumed by the mobile team. Every reel you see on Deikho, tied to a show launch, an episode teaser, or a platform original, runs through the system I built.

See it in action

Check out the live project or browse the source code.