This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
HotlinkBlocker (Forum Locked Forum Locked)
 Helicon Tech : HotlinkBlocker
Subject Topic: Link Protection and silverlight
Author
Message |
mvitzman
Newbie


Joined: 22 October 2010
Posts: 5
Posted: 22 October 2010 at 8:37am

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
 
mvitzman
Newbie


Joined: 22 October 2010
Posts: 5
Posted: 24 October 2010 at 7:58am

OK i fixed it.
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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