Skip to content

Instantly share code, notes, and snippets.

View MEGZ99's full-sized avatar

Mohamed Magdy MEGZ99

View GitHub Profile
@sionex-code
sionex-code / Embed_Gen
Last active June 18, 2021 00:13
Videosharing Website Embed Code Generator PHP
<?php
/*
Snippet Name: Embed Code Generator
Author: Muhammad Yaser
Description: this is simple class that will generate videos embed tags. width and height is not included in iframe tags.
you need to use fitvid.js. fitvids is jQuery Plugin this will alow you to auto resize video player in a container.
you are allowed to use this file anywhere you want. you are allowed to modify this file without any restriction.
you are allowed to use this file in commerical project.
Supported filehost: only 7 videosharing website are supported.