The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
I am using embed in iframe for better security.
how i can change the embed link from
http://mysite.com/embed.php?id=VIDEO_ID
to
http://mysite.com/embed/VIDEO_ID/
Offline
You dont need to modify .htaccess. In index.php after:
} elseif ($module == '404' && VUri::request(1) == '') {
VModule::load('404', TRUE);
add:
} elseif ($module == 'embed') {
require 'embed.php';
VF::close();
}
In embed.php you need:
if (VUri::request(1) != '') {
$video_id = (int) VUri::request(1);
} elseif (isset($_GET['id']) && is_numeric($_GET['id'])) {
$video_id = (int) $_GEt['id'];
}
if (!$video_id) {
die('Invalid video!');
}
Didnt test the code. If it doesnt work as expected, just let me know and i fix.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1