Friends
I am making 1 Media Center Plugin using Hosted HTML (from the SDK present on MSDN & MCESoft etc), now i knw there are better methods to make the plugins but due to the current setup i hv & the limitations of my knowledge in Visual Studio i am using this method, hence help will be much appreciated
according to my understanding so far in hosted html sdk etc there are 2 methods to open a new page or audio/video libraries
1.) function doSelect()
{
var url = ""
switch(oCurFocus.id)
{
case "btnA": url = "A.asp"; break;
case "btnB": url = "B.asp"; break;
case "btnC": url = "C.asp"; break;
}
if (url != "")
{
playSelectSound()
window.navigate(url);
}
2) function doSelect()
{
var url = ""
switch(oCurFocus.id)
{
case "btnA": startNavigate(btnA,"http://fullpath/A.asp"); break
case "btnMyMusic": startNavigate(MyMusic, null);break;
case "btnMyPictures": startNavigate(MyPictures, null);break;
case "btnMyVideos": startNavigate(MyVideos, null);break;
case "btnMyMovies": startNavigate(MyMovies, null);break;
case "btnSlideShow": startNavigate(SlideShow, null);break;
}
}
var btnA ="{3798C7A7-C31F-46c4-9782-655F64B5920F}";
var MyMusic = "{d69fa617-1035-4875-ac6e-ca7bdef8c7b4}";
var MyPictures = "{3b7ff955-01f6-4f68-9775-4d1216b777b7}";
var MyVideos = "{a5abe790-14f9-4075-87a8-e4a940d632ae}";
var MyMovies = "{0b2357d5-5110-4dcb-b8e7-a4bb6b48bc9e}";
var SlideShow = "{1436526c-329d-47dd-9afa-458aab0da6e5}";
var navParam = null
function startNavigate(location, param)
{
playSelectSound()
window.external.MediaCenter.NavigateToPage(location, param)
}
now my problem starts here if i add page address in example 1 all my asp codes work well but then i cannot add additional features like MyMusic/MyVideos etc and if i use the example 2 all my additional features work but for the pages i want to load i hv to mention the fullpath (like in the example) but due to fullpath thing my cookies get empty along the way & my pages get messed up, this is kind of IPTV frontend program so i need them to be locked & session & login based thats why i prefer not to use the fullpath thing
plz guide me as to where am i going wrong
much appreciated in advance
regards
Sumeet