[addon] How to hide full video link
with this you archive to hide the video link.
Firstly the video link in the search code is like this.
Code:
<script type="text/javascript">
so.addVariable("file","http://video.bizhat.com/flvideo/12116304601100217387.flv");
</script>
After will be like this.
Code:
<script type="text/javascript">
so.addVariable("file","../../flvideo/12116304601100217387.flv");
</script>
How to do it :?:
open file "\include\classes\class.video_player.php
Find this
Code:
function vshare_player(){
global $config;
if($this->server_id == 0){
$file = $config['baseurl'] ."/flvideo/" .$this->flvideo;
Replace with:
Code:
function vshare_player(){
global $config;
if($this->server_id == 0){
$file = "../../flvideo/" .$this->flvideo;
that's all :wink:
Re: [addon] How to hide full video link
Working thank you.
But not working on multiserver and will be more usefull your mod if will be able to hide the full video link in the embedded code for sharing... ;)
Re: [addon] How to hide full video link
Yes that's true if you have a second server you can not hide the video link. But in your first server you can achieve that.
Re: [addon] How to hide full video link
Ok, so this won't affect the embed code that people use on their web spaces, just hide it from the source code for the page that the original video appears on?
Re: [addon] How to hide full video link
[quote="RAMMSTEIN"]with this you achive to hide the video link.[quote]
Not sure I understand what benefit is derived from this... would be great if it hid the location and name of the video altogether but it really doesn't.
Re: [addon] How to hide full video link
If someone could write a better embed code - more like YouTube - I would Pay for that! It would be nice if it could hide the full url and shorten things down more.
Re: [addon] How to hide full video link
The benefit of hiding the actual URL is so that people can't view the source code and download the video anyway, or hotlink to it (if you don't have hotlinking disabled thru htaccess---which you should), especially if you have downloading disabled.
Re: [addon] How to hide full video link
ive passworded mine and it works :) says forbiden :)
Re: [addon] How to hide full video link
What did you password protect? Which directory?
Re: [addon] How to hide full video link
this does help a bit, but its just a matter of guessing wher the flv directory is located.