This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker
 Helicon Tech : HotlinkBlocker
Subject Topic: Link Protection and silverlight Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mvitzman
Newbie
Newbie


Joined: 22 October 2010
Online Status: Offline
Posts: 5
Posted: 22 October 2010 at 8:37am | IP Logged Quote mvitzman

Im trying to Use link protection on wmv files + silverlight Player (ASP+PHP is UP and running).

code:

<div id="myplayer">the player will be placed here</div>

   
    <script type="text/javascript">
        var elm = document.getElementById("myplayer");
        var src = 'https://vod1.info/wmvplayer.xaml';
        var cfg = {
            file:'https://vod1.info/wmv/xxxxxxxxxxxxxxxx/vega.wmv',
            width:'700',
            height:'380'
        };
        var ply = new jeroenwijering.Player(elm,src,cfg);
    </script>

But HB didnt convert the xxx...xx  to a SIGNATURE So i tried

Signing links manually.

 code:

<div id="myplayer">the player will be placed here</div>

   
    <script type="text/javascript">
        var elm = document.getElementById("myplayer");
        var src = 'https://vod1.info/wmvplayer.xaml';
        var cfg = {
            file:'https://vod1.info/wmv/<%=Request.ServerVariables("HTTP_X_HOTLINKBLOCKER_SIGNATURE")%>/vega.wmv',
            width:'700',
            height:'380'
        };
        var ply = new jeroenwijering.Player(elm,src,cfg);
    </script>

Still Didn't Work So i tried in PHP.

Code:

<div id="myplayer">the player will be placed here</div>

   
    <script type="text/javascript">
        var elm = document.getElementById("myplayer");
        var src = 'https://vod1.info/wmvplayer.xaml';
        var cfg = {
            file:'https://vod1.info/wmv/<?php $_SERVER["HTTP_X_HOTLINKBLOCKER_SIGNATURE"]; ?>/vega.wmv',
            width:'700',
            height:'380'
        };
        var ply = new jeroenwijering.Player(elm,src,cfg);
    </script>



Still didn't work !
 i Can See The Player But Not The Film.


config file:

#################################################
# HotlinkBlocker Configuration file

# Version 1, 4, 0, 63


Signature=1ad9052d-60b6-4dd0-b31d-ea8f3426c6ee
LinkExpires=3600
DoNotInvolveIP=True
NotifyOrder=MEDIUM


[Protect]
LINK        /wmv   


[ReferersBlackList]
[ReferersWhiteList]
https://vod1.info/*
[UserAgentsBlackList]
[UserAgentsWhiteList]

Link To test Page:

https://vod1.info/index2.html


Any ideas ??? HELP !!!???
Back to Top View mvitzman's Profile Search for other posts by mvitzman
 
mvitzman
Newbie
Newbie


Joined: 22 October 2010
Online Status: Offline
Posts: 5
Posted: 24 October 2010 at 7:58am | IP Logged Quote mvitzman

OK i fixed it.
Back to Top View mvitzman's Profile Search for other posts by mvitzman
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum