hi guys..
I got a work need to be done which being asked by one of my client.

My prolem is that he want to make a video sharing site like Youtube but with the certain features.

What did he want is that, any user will be only allowed to upload at most 3 video.If the user want to upload more than 3 video than he/she need to become the premium member which he/she need to pay for that.

So, i ever come across the free script like phpmotion and vshare, but could I change them to meet the desire of my client like i stated above??

Hope someone could help me out.

Thank you :)

Dani AI

Generated

For ’s requirement — free users limited to three uploads, paid users allowed more — there are two practical routes: modify a self‑hosted video CMS, or use a managed video API/service and add membership billing. A few actively maintained self‑hosted projects to look at are ClipBucket (PHP), CumulusClips (PHP) and MediaDrop (Python); for a heavier, enterprise feature set Kaltura offers a Community Edition for self‑hosting. These systems are designed to be extended, so enforcing per‑user quotas is feasible without rebuilding the whole stack. (docs.clipbucket.com)

ClipBucket already exposes a plugin system and offers a paid‑subscription module, which shortens the path to premium tiers and gated uploads; the same plugin/hooks approach works for many other open projects. Implementing the 3‑upload rule is typically a server‑side check in the upload handler: verify the user’s role/subscription, count approved uploads, then allow or deny. Example (PHP‑style pseudocode):

if ($user->is_premium()) {
  allow_upload();
} else if ($db->count_videos($user->id) < 3) {
  allow_upload();
} else {
  deny_upload('Free account upload limit reached');
}

Using a plugin or a small middleware hook keeps the change isolated and upgrade‑friendly. (clipbucket.com)

If scale, transcode reliability, or bandwidth are primary concerns, managed video APIs such as Mux or Cloudinary (or platforms like Vimeo OTT) handle adaptive streaming (HLS/ABR), transcoding and global delivery; combine one of these with Stripe/PayPal for subscriptions and the premium gating becomes mostly business logic rather than heavy infra work. Expect higher monthly costs but far less ops overhead. (mux.com)

Recommendation: for a fast, low‑cost prototype on a LAMP stack, pick ClipBucket or CumulusClips and add the upload‑count check plus a Stripe subscription integration. For a production service expected to grow quickly, build on Kaltura CE or a Mux/Cloudinary stack and outsource transcoding/CDN. Don’t forget moderation, storage/bandwidth cost planning, and automated transcoding.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.