Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Apr 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Make video disappear on reload or refresh

    There is this site which makes video disappear when you reload the page: Comedy Nights With Kapil - 5th April 2014 Video Watch Online - DesiRulez.Net, try clicking on the part 1 on flash player on that link, it will send you to this link: Comedy Nights with Kapil | Apna Review.

    But when you go to that link directly, you wont see the video, you can only see the video when you click from that above mentioned site. I would like to do so too, how do I do it?

    Hopefully I explained clearly

  • #2
    Regular Coder COBOLdinosaur's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    401
    Thanks
    2
    Thanked 30 Times in 30 Posts
    Simple the server looks at the referrer and does not delivers alternate content if the request is not coming from the preferred site. It has nothing to do with HTML or anything else on the client, it is a simple bit of scripting on the server.
    100% standards compliant code is 100% correct 100% of the time.
    one of my toys from my repository and perhaps some help getting help

    Cd&

  • #3
    New to the CF scene
    Join Date
    Apr 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by COBOLdinosaur View Post
    Simple the server looks at the referrer and does not delivers alternate content if the request is not coming from the preferred site. It has nothing to do with HTML or anything else on the client, it is a simple bit of scripting on the server.
    First of all, thank you so much for your reply, I am not an expert at scripting server, can you please help me with this?

    Thanks in advance.

  • #4
    Regular Coder COBOLdinosaur's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    401
    Thanks
    2
    Thanked 30 Times in 30 Posts
    What are you running on the server, and what scripting language are you generating with.
    100% standards compliant code is 100% correct 100% of the time.
    one of my toys from my repository and perhaps some help getting help

    Cd&

  • #5
    New to the CF scene
    Join Date
    Apr 2014
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by COBOLdinosaur View Post
    What are you running on the server, and what scripting language are you generating with.
    I am running websites on it and what do you mean by scripting language? I really have no idea sorry, if you mean something like apache, thats what I am using. It also has WHM/CPanel and its CentOS.


  •  

    Posting Permissions

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