Sign In
follow us on:
Search Options
Search Everything
Search Windows Entertainment and Connected Home
Home
HOME
COMMUNITY NEWS
FORUMS
WIKI
RESOURCES
More ...
Home
»
Forums
»
Windows Entertainment and Connected Home
»
Windows Media Center Add-ins
»
Hosted HTML JavaScript Error
Windows Entertainment and Connected Home
How to organize, access and enjoy all of your media in and around your home
Get this RSS feed
Details
0
Replies
0
Subscribers
Posted
over 2 years ago
Options
Subscribe via RSS
Share this
Share this on Twitter
Share this on Facebook
3rd party apps
64 bits
7MC
addin
bluray
blu-ray rip
compress
convert
development
directv
DVBGUIDE
dvd
DVR-MS
dvrmstoolbox
EPG
Media Center
Media Center remote
Netflix
plugin
plugins
remote
remote control
tuner
Windows 7
Windows Media Center
Windows Media Center Add-ins
Hosted HTML JavaScript Error
rated by 0 users
This post has
0 Replies |
0
Followers
Page 1 of 1 (1 items)
Posted by
sumeetsidana
on
Sun, Jan 31 2010 10:48 PM
Joined on Mon, Apr 13 2009
|
3
Posts
rated by 0 users
Hosted HTML JavaScript Error
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
Page 1 of 1 (1 items)