Results 1 to 10 of 10

Thread: [addon] How to hide full video link

  1. #1
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default [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:

  2. #2
    Join Date
    Jan 2008
    Posts
    216

    Default 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... ;)

  3. #3
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default 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.

  4. #4
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default 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?
    If it's not fun, stop doing it!

  5. #5
    Join Date
    May 2007
    Posts
    394

    Default 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.

  6. #6

    Default 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.

  7. #7
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default 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.
    If it's not fun, stop doing it!

  8. #8

    Default Re: [addon] How to hide full video link

    ive passworded mine and it works :) says forbiden :)

  9. #9
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: [addon] How to hide full video link

    What did you password protect? Which directory?
    If it's not fun, stop doing it!

  10. #10

    Default 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.

Similar Threads

  1. Embedded Video Watch in Full Screen
    By west in forum Feature Requests
    Replies: 7
    Last Post: 10-16-2010, 03:26 PM
  2. video not playing in full
    By desixx in forum Fixed Bugs
    Replies: 1
    Last Post: 02-23-2009, 10:07 AM
  3. video not playing in full
    By desixx in forum Installation Support
    Replies: 1
    Last Post: 01-22-2009, 12:54 AM
  4. [addon] Video Sitemap for VShare
    By RAMMSTEIN in forum Template Modifications
    Replies: 2
    Last Post: 01-08-2009, 01:02 AM
  5. My Video Space Almost Full
    By browniegirl in forum Installation Support
    Replies: 3
    Last Post: 09-06-2007, 08:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •