Answer Questions
nattylife I need help.
I tried making a sidebar gadget recently. I used codes from JavaScriptKit.com to do so. Everything went well untill I tested it out on my computer. A screen popped up saying "This is not a valid gadget packet." I'm pretty new to creating gadgets, so what does this mean, and could someone help me make it real Here's my code: <body>The Date is:<script> /*Current date script credit: JavaScript Kit ( www.javascriptkit.com ) Over 200+ free scripts here! */ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday"," ...Show All
C&#35;leve iHDSim 0.2 ERROR (E000000005) & ERROR (E070000012)
Hello All I have a problem with iHDSim 0.2. I have working HD-DVD project for iHDsim 0.1. But under iHDSim it doesn't work. I see errors: - <Title> Using xml:base: file:///dvddisc/ADV_OBJ/ Attribute: titleNumber="2" Attribute: titleDuration="00:00:23:00" Attribute: id="Main" Attribute: displayName="DvdOne Demo" Attribute: onEnd="Main" ERROR (E070000012): Element ApplicationSegment cannot appear in its current position (Element: Title, Line: 14, Col: 10) + <ScheduledControlList> - <ScheduledControlList> | Using xml:base: file:///dvddisc/ADV_OBJ/ | + <PauseAt> | - <PauseAt> | | Using xml:base: file:///dvddisc/ADV_OBJ/ | | Attribute: ti ...Show All
Joos Blu-ray
Does it bring bad luck to ask this on this forum :) Anyone knows of documentation or sites about BD-J mode, HDMV is a bit limited. Hi all, BD-J is higher interactivity than HDi, sure. Now, I read the documentation of all standard (HDMV, BD-J, HD DVD and HDi). HDMV is better than HD DVD Standard Content, but little less than HDi. And BD-J is much better (and complex) than HDi. To my mind, the standard of BD-J is true interactivity (there is some BD title with game on market , but no HD DVD with same interactivity). The problem of compatibility, it is simple, with BD standard there is lot of hardware manufactor, so there is some problem with some player. But with HD DVD there is, now, only one manufact ...Show All
yaakov How to turn Subtitles off?
Hi there, i tried the following to select subtitles and switch them on (or off) switch (g_sub) { case "de_sub": Player.subtitle.visible =true; Player.track.selectSubtitleTrackNumber(1); break; case "fr_sub": Player.subtitle.visible =true; Player.track.selectSubtitleTrackNumber(2); break; default: Player.subtitle.visible = false; break; } The first 2 "case" definitions works well. They turn german or french subtitles on. If "g_sub=='off'" the default definition should turn the visibility off. Right Wrong. the last selected subtitle is shown, although g_sub isn't "de_sub" or "fr_sub". How can I ...Show All
Jonathan Wong Shortcuts in iHD simulator?
Could you please someone post the shortcuts for the common used controls (e.g. VK_MENU, VK_TOP_MENU, VK_PLAY, VK_PAUSE). Proof that no-one reads documents entitled "read me" :-) All the shortcuts are listed in the Documentation\Read Me - Release Notes.htm file from the download. Note that some keyboards do not work correctly (I don't know why...) and so the Ctrl+Key combinations don't work. Try attaching a PS/2 keyboard (not USB) if that is the case. ...Show All
KevinHall website content
I am trying to to create my first sidebar gadget what i would like it to do is grab certain content from a html page and dispaly it in the sidebar and be able to refresh every 5 minutes is this possible I have gotten as far as getting the Gadget to recognize as a gadget created a Logo Made a XML file as shown below what i need help with is the html file to shadow the web content that i desire < xml version = " 1.0 " encoding = " utf-8 " > < gadget > < name >my gadget name here </ name > < namespace >my URL here </ namespace > < version > 1.0.0 </ version > < author name = "my name here " > < info url = "my Url.com here " /> < logo src = "RPLogo.PNG " /& ...Show All
rKarthik Authorization plugin: URL referer retrieving problem
Hello all. I am currently developping an authorization plugin . The authorization is based on the URL referer . In a few words, I would like to retrieve the client URL referer (if available), and compare it to a list of referers authorized to access to the content of my publication point. In the AuthorizeEvent interface implementation, I combine the UserContext and the GetStringValue method to retrieve the URL Referer : string l__URLRefererString= string.Empty; io__UserContext.GetStringValue ( WMSDefines.WMS_USER_REFERER, WMSDefines.WMS_USER_REFERER_ID, out l__URLRefererString, 0 ); However, il still get the same problem, this method throws the following exception: Exception from HRESULT: 0x8002000B ...Show All
re infecta Playlist.Titles..
Hi, I have some simple questions about working with the playlist.titles objects. 1. For some reason I can't seem to figure out to dynamically get the number/names of the titles using the script: Player.playlist.titles Is there a way to do this 2. If I have a title can I dynamically figure out the number of chapters for the title 3. Is there a way to dynamically get the title’s duration, either by getting each of the chapter’s duration or by asking the title object for it Thanks, D.C. 1) I dont know about your first question. 2) If you have a title, then you can get number of chapters by chapters.length ex: Player.playlist.currentTitle.chapters.length; 3) You can get title' ...Show All
BlueMikey can someone make a gadget for me.
i want a gadget that would show me the tv shows that would me coming up next hour. like a tv guide. i would really like a tv guide gadget. If you have a media centre there is a product called WebGuide . The newest release has sidebar gadget that you can use to view your tv guide. ...Show All
DegreeZ MFCopyImage
hi all when copying a YUV (nv12) sample from src to dest using MFCopyImage, for some reason it turns out to be greyscale even though though the original image has color. The UV bytes are not being set properly...anyone else have this issue MFCopyImage is basically an optimized version of this: for (DWORD i = 0; i < dwLines; i++) { CopyMemory(pDest, pSrc, dwWidthInByes); pDest += lDestStride; pSrc += lSrcStride; } Are you sure you're passing the right values for the second call to MFCopyImage Other than that, I'm out of suggestions. :-( (btw - Is the image interlaced or progressive ) ---------------------------------------------------------------------------- Mike Wasson, SDK Document ...Show All
Aerouk Is there a way to do a frame grab of a movie and store it as a jpg or png in the persistent storage ?
Hi All, I was wondering if there is a way to do a frame grab of a particular scene while watching the movie and store that frame as a png or jpg in the persistent storage of the player Let's say I define a function for key "A" on the remote which does this when pressed. Any pointers would be appreciated. Thanks can we test this on iHDSim I am trying to test this code on iHDSim and the video pauses for a second and then resumes, however I am not able to locate the "image.cvi" on my PC. Any suggestions Or this only works for testing on the emulator Am I doing something wrong All resources that you reference in markup MUST be in the filecache. Although you have copied it to pstore for permanent use, ...Show All
jjsan gadget just wont display right...
I am writting my first gadget and all was going well untill i installed it for the first time. The html shows up fine in the browser but in the sidebar i can only see a little bit of the page. Its as if the page is off to the right and I can only see the left most part, the rest is off the screen. Here are my files (the html is hacked to death after trying to get it working, but this should display more than a sliver right ): gadget.xml: < xml version="1.0" encoding="utf-8" > <gadget> <name>TPG useage meter</name> <namespace>TGP.nasanu</namespace> <version>1.0</version> <author name="nasanu"> <info url="mailto:kidshibuya@gmail.com subject=TPG ...Show All
Opfer Passing dynamic variables in JScript
I've run into a syntax problem (my problem) in jscript. I want to create random animations. How do I construct "1920px;2020px" dynamically Is there a better way than to construct a string each time i.e., param = "1090px;" + foo + "px" document[slidePhotos[nextSlideIndex]].style.animateProperty("width","param",5); That's about the gist of it... There are more "creative" (but not any better) ways of doing it. I would cache document[slidePhotos[nextSlideIndex]].style in a variable though (since I think from previous code snippets you reference that object quite a bit). Good point Peter. ...Show All
dewclaw Gadget behavior on spaces vs live.com?
I am still working on my first gadget and noticed things work really different on live.com compared to spaces. If you want to load what I have so far and see what I mean, the manifest can be found at http://www.incendy.com/MyRSS/rssgadget3.xml Basically the css is very different and also the function that rebuilds the list does not really work on Spaces and you have to manually refresh the page to get the new feed. Just curious if others have experienced this and have advice on what I should be doing differently. The function getfeed gets called but the content seems to be cached on Spaces where it works fine on live.com! Hi! Thanks for your example code ToddOs! It helped me a lot. But still I hav ...Show All
GSK_phili Digital Signature
Hi, Sorry if this is a total newbie question. But I am, and I didn't find anything about it in the forum yet. How can we add digital signature to a Sidebar Gadget TIA, Eric Package the Gadget into a CAB file, then sign the CAB. To create a CAB with a directory structure, use (as per this thread ): cabarc -r -p n <GadgetName>.gadget * See this article on how to sign the cab. If Tom's reading this, perhaps he can post all the steps he's used to sign his Gadget's as I'm sure there's an easier way. It's actually a bit of a pain, if you ask me. I've signed a couple of my gadgets using signtool.exe (i think that's what it's called). Andy See this threa ...Show All
