Integrate VLC CSA-ck in Internet Explorer to decryp CSA-ck

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
abhilash.harichandan
New Cone
New Cone
Posts: 2
Joined: 30 Mar 2010 10:19
VLC version: 1.0.5
Operating System: Windows XP/7
Location: Delhi
Contact:

Integrate VLC CSA-ck in Internet Explorer to decryp CSA-ck

Postby abhilash.harichandan » 30 Mar 2010 10:43

How to Integrate VLC CSA-ck with Internet Explorer while decrypt a crypted CSA-CK?
Plzzz help me how to integrate VLC CSA Key with Internet Explorer.
I have integrate VLC with IE - its working, but not able to integrate VLC CSA-ck Key with IE.
Below I have mentioned all my codes.

HTML:

<html>
<head><title></title>
<script src="Scripts/AC_ActiveX.js" type="text/javascript"></script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<script type="text/javascript" src="TV.js"></script>

<BODY onLoad="init();">

<TABLE>
<TR><TD colspan="2">

</TD></TR>
<TR><TD align="center" colspan="2">
<!--
Insert VideoLAN.VLCPlugin.2
-->
<script type="text/javascript">
AC_AX_RunContent( 'classid','clsid:9BE31822-FDAD-461B-AD51… ); //end AC code
</script><noscript><OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-B…
codebase="http://downloads.videolan.org/
width="320"
height="540"
id="vlc"
events="True">
<param name="MRL" value="udp://@235.1.3.6:9000" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<param name="Volume" value="50" />
<param name="StartTime" value="0" />

<EMBED pluginspage="http://www.videolan.org"
type="application/x-vlc-plugin"
progid="VideoLAN.VLCPlugin.2"
width="320"
height="540"
name="vlc">
</EMBED>
</OBJECT></noscript>
</TD></TR>
<TR><TD colspan="2">
<TABLE><TR>
<TD valign="top" width="550">



<DIV id="inputTrackerDiv"></DIV>
</TD><TD width="15%">
<DIV id="info" style="text-align:center">-:--:--/-:--:-…
</TD>
</TR></TABLE>
</TD></TR>
<TR><TD>
<INPUT type=button id="PlayOrPause" value=" Play " disabled onClick='doPlayOrPause();'>

<INPUT type=button id="Stop" value="Stop" enabled onClick='doStop();'>

<INPUT type=button value=" << " onClick='doPlaySlower();'>
<INPUT type=button value=" >> " onClick='doPlayFaster();'>
<INPUT type=button value=" <-> " onClick='getVLC("vlc").video.toggleFulls…
AR:
<SELECT readonly onChange='doChangeAspectRatio(this.value…
<OPTION value="default">Default</OPTION>
<OPTION value="1:1">1:1</OPTION>
<OPTION value="4:3">4:3</OPTION>
<OPTION value="16:9">16:9</OPTION>
<OPTION value="221:100">221:100</OPTION>

<OPTION value="5:4">5:4</OPTION>
</SELECT>

<INPUT type=button value="Version" onClick='alert(getVLC("vlc").VersionInfo…
</TD><TD align="right">
<SPAN style="text-align:center">Volume:</SPAN>
<INPUT type=button value=" - " onClick='updateVolume(-10)'>
<SPAN id="volumeTextField" style="text-align: center">--</SPAN>
<INPUT type=button value=" + " onClick='updateVolume(+10)'>
<INPUT type=button value="Mute" onClick='getVLC("vlc").audio.toggleMute(…
</TD>
</TR>
</TABLE>
</BODY>
</html>

JAVASCRIPT:

// JavaScript Document

function init()
{
inputTracker = new Bs_Slider();
inputTracker.attachOnChange(onInputTrack…
inputTracker.attachOnSlideStart(onInputT…
inputTracker.attachOnSlideEnd(onInputTra…
inputTracker.width = 530;
inputTracker.height = 15;
inputTracker.minVal = 0.0;
inputTracker.maxVal = -1.0;
inputTracker.valueDefault = 0.0;
inputTracker.valueInterval = 1 / 530;
inputTracker.setDisabled(true);
inputTracker.imgDir = '/blueshoes-4.5/javascript/components/sl…
inputTracker.setBackgroundImage('aluminu… 'repeat');
inputTracker.setArrowIconLeft('aluminuma… 2, 19);
inputTracker.setArrowIconRight('aluminum… 2, 19);
inputTracker.setSliderIcon('aluminumallo… 15, 19);
inputTracker.useInputField = 0;
inputTracker.draw('inputTrackerDiv');

if (navigator.appName.indexOf("Microsoft Internet") == -1)
{
onVLCPluginReady()
}
else if (document.readyState == 'complete')
{
onVLCPluginReady();
}
else
{
/* Explorer loads plugins asynchronously */
document.onreadystatechange = function()
{
if (document.readyState == 'complete')
{
onVLCPluginReady();
}
}
}
}


function getVLC(name) {
if (window.document[name]) {

cronitro
New Cone
New Cone
Posts: 2
Joined: 06 Jul 2011 11:35
Operating System: Windows / Ubuntu
Location: Croatia

Re: Integrate VLC CSA-ck in Internet Explorer to decryp CSA-

Postby cronitro » 10 Jul 2011 17:46

I have same problem! Anybody have solution? Please!

Thanks!
Power is nothing without control!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Integrate VLC CSA-ck in Internet Explorer to decryp CSA-

Postby Jean-Baptiste Kempf » 10 Jul 2011 22:36

Use the ts-* options
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

cronitro
New Cone
New Cone
Posts: 2
Joined: 06 Jul 2011 11:35
Operating System: Windows / Ubuntu
Location: Croatia

Re: Integrate VLC CSA-ck in Internet Explorer to decryp CSA-

Postby cronitro » 11 Jul 2011 14:03

Have u try? I try with ts-csa-ck=xxxxxxxxxxxxxxxx but dont work. Only work with VLC player like this: ''C:\Program Files\VideoLAN\VLC\vlc.exe'' --ts-csa-ck=xxxxxxxxxxxxxxxx.

I need that work with VLC web pplugin!

Thanks.
Power is nothing without control!


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 2 guests