Answer Questions
Michael Vanhoutte About MFT_MESSAGE_SET_D3D_MANAGER.
Hi all! Please give me some pieces of advice on MFT_MESSAGE_SET_D3D_MANAGER. Although I set the MF_SA_D3D_AWARE in the argument at the GETAttributes(IMFAttributes** pAttribute) of myMFT, the MF didn't notify myMFT of MFT_MESSAGE_SET_D3D_MANAGER. I describe my testcode in the following. HRESULT myMFT::GetAttributes(IMFAttributes** pAttributes) { HRESULT hr = MFCreateAttributes(pAttributes, 1); if( SUCCEEDED(hr) ) { hr = (*pAttributes)->SetUINT32(MF_SA_D3D_AWARE, TRUE); } return hr; } Of course the category of myMFT is VIDEO_DECODER and myMFT is connected to EVR directly. Please tell me the reason why the MF does not notify myMFT about MFT_MESSAGE_SET_D3D_MANAGER How can I get that message from the MF M ...Show All
DavidThi808 Colorfull Drawing
I thought I'll share this demo with everyone, it displays colorfull random lines on the screen Place in markup: <object type="application/x-graphic" id="theimage" style:position="absolute" style:x="0px" style:y="0px" style:width="1920px" style:height="1080px"> <param name="width" value="1920" /> <param name="height" value="1080" /> </object> Place in script: //define variables var x,y,cr,cg,cb,col,p1,p2,pen,obj1; //set timer var timer=createTimer("00:00:00:05",1,randomline); timer.enabled=true; //define functions function randomline(){ x=Math.round(Math.random()*1920); y=Math.rou ...Show All
blah569 Feeding Windows Media Player with PHP
I'm trying to develop a playlist in Windows Media Player where the audio is fed through PHP for security reasons. It works fine in Winamp and iTunes, but Windows Media can't play the file. We're trying this header with PHP: header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private",false); header("Content-type: application/force-download"); header('Content-Transfer-Encoding: Binary' ); // added header("Content-Disposition: attachment; filename=\"".basename($FILE)."\";" ); readfile ( $URL ); And so far we get it where i ...Show All
worldhello Some questions about XAS file
Hi All 1) Where in HD-DVD spectfication I can find something about work with XAS files I think that HD-DVD Spec contains not many information about it :( 2) Where I can find HD-DVD project sample with XAS files 3) Every XAS file must have own XMF file, doesn't it 4) How can I support 2 subtitles (with different languages, for example: en, fr) in my HD-DVD project Could you describe steps Yes, that's about it. I have a sample that works in HDiSim but haven't posted it yet because I haven't been able to test it on a player. You can probably fix the loading issue by putting the <p> s inside some <div> s so that there aren't so many top-level elements.... or you can use multiple pa ...Show All
nehajampala Simple SOAP
I would implement a very basic SOAP client. I need only handle three or for SOAP commands. What are my options with a Gadget Can I somehow use XML objects and not worry about creating a true SOAP client Are there existing Gadgets that might be helpful to look at for examples of HTTP PUT & GETs w/XML Thanks, Douglas I've been building a gadget using SOAP as well. I've been using a client I found online, and I like it a lot. It's got a really simple, easy interface and has been working well for me, although I've needed to make a few alterations here and there. The website I found it on is http://www.guru4.net/articoli/javascript-soap-client/en/. I hope that helps. ...Show All
Kendal Walton Gadget resets?
I've been working on a gadget that makes use of the XmlHttpRequest object to get data from a web application. Currently, I'm having a problem in that the web app requires the user to log in by first requesting an auth token, then sending the user to a webpage (with that token as a parameter), and then once the user has logged in, requesting the users sessionId. I have the first part working, I can get an auth token just fine and then I try to load up the login page in a flyout (using the iframe trick), but I keep getting navigation cancelled. Also, as soon as my gadget opens the flyout, it seems to reset itself. I traced the behaviour to the fact that onreadystatecomplete was being called again (I only do my initialization code when readyS ...Show All
Francesco De Vittori NES Sidebar Help
I am trying to turna NES emulator applet into a sidebar gadget the source of the applet is from http://www.daviddn.com/nescafe/download.asp i cannot seem to get it to work in the sidebar all i can get is a white window that is as close as i can get to it working. When i move the </STYLE> tag to the bottom it will show a blank white window when i put it back the sidebar will not open. If anyone could help that would be great. Thank You. here is the HTML file i am useing: <HTML> <style> body { width:265; height:250; } </style> <HEAD> <TITLE> NESCafe Nintendo Emulator </TITLE& ...Show All
Sequel2k5 Slider
can i make a slider in the sidebar gadget What is a slider exactly If it's what I think you mean, ie your own scroll bar. Then yes, just use onmouseclick to trigger dragging over your scrollbar graphic and onmousemove to track the mouse position. I am using this one http://webfx.eae.net/dhtml/slider/slider.html and it looks fine in the settings window ...Show All
JawKnee Asynchronous (out of mux) PiP using SecondaryVideoPlayer
As Peter wrote in his blog only syncronous PiP is supported with the current iHDSim. My question is if async PiP is working on the Toshiba consumer players and if someone already tried this. My idea is to stop the main video to play some PiP on top of it. Cheers, Gunnar My specs are off being updated so I can't check, but you can put the EVO (and MAP) anywhere I think. You need a MAP as that is what is specified in the playlist. How do you specify that you want the PiP video started/stopped rather than both The example Peter had on his website just uses the main Player.playlist object, which starts/stops both videos. It looks like the only function in the Player.video.sub object is changeLayout(). ...Show All
Jerod Moemeka Web Pages Browsing
Do I have possibility to browse content of a web page in some .xmu element Like iframe in html. For example: <div src=" www.google.com" ></div> iHD is not a generic web browsing platform; you can download content from the web, but you can't browse HTML pages. What is more likely to work is to subsctibe to an XML Web Service that simply sends you the data, and then you format it on the player with iHD markup. You could also "screen scrape" HTML (either on the player or via a proxy server) but that is probably more work. ...Show All
cisco0407 Rotating an object
Hiya I've had a look thru the spec and can't find anything relating to rotation which i think means I can't do it :( But does anyone know if there is a way to rotate an object I have a png I need to spin 90 degrees. I'd prefer to do it in the xmu but if i cant then doing it thru the js is fine. Thanx Sarah Hi there I 'm also a new BEE. :) But I have seen this style property called style:flip Try it. Hi there I actually need it to rotate on screen as a spinning item so flip won't work, The only other way i can thin to do is is to plot a circular path in the java script but this seems like over kill for what is a relatively small piece of menu animation in the background. I don't want to use a serie ...Show All
Dimitri Clement Change gadget title and gadget width
Hi, I got 2 problems with Space gadget: - setTitleText: due to SDK, it only works with inline gadget. But when upload gadget, we are forced to set non-inline gadget. Is there any way to change the gadget title dynamically - I view source and saw one css class: FullRegionWidth which helps the gadget to occupy the full width. How to make my gadget full width Thanks, Bao Nguyen Oh, yeah, that. Sorry, misunderstanding there :). You have no control over that. The Spaces guys determined what would be a maximum size for a gadget, and so when you put a gadget in a wide column it only sizes up to half-width. I assume this is a nod to the fact that most people run live.com in multi-column mode, and thus most gadgets are optimal ...Show All
Bruce Baker Correct Timer Code?
I am having trouble getting the timer function to work. Everytime it is called on while in the player, it crashes the player. Is this formatted correctly var cbfnAudio = function() { //Animate Menu Code would be here myTitleTimer.enabled = false; }; var myTitleTimer = application.createTimer("00:00:01",1,cbfnAudio); myTitleTimer.enabled = true; I've run into this same problem with audio mixing that appears to have been solved on the board back in June - however, I am still having trouble and was wondering if Jeff or Peter could post a snippet of code or give some additional information regarding the proper use of setVolume and setMixing. Thanks! :) Than ...Show All
DeanB61 Sliding menu animation error
The sliding menu I did in Markup, with Peter's help, is working pretty well. It slides open on start, and closes automatically if a track is selected. However one thing I cannot fix is that after the first time you open the menu while a video is playing, it will no longer animate, it just appears. For example: 1) Start project, after 1s menu slides open. 2) Select track, menu automatically slides shut. 3) Open menu using menu button (CTRL+M) and menu slides open. 4) Select another track and menu slides shut. 5) Open menu using menu button (CTRL+M) and menu DOES NOT slide open, but rather just appears. This will happen everytime you open the menu after step #4 in this example. Any advice on how to debug <timing clock="page" ...Show All
Jamie Thomson How clockDivisor works?
Hi, Can anyone explain how clockDivisor works in HDiSim Frankly speaking I cannot catch the idea :) Simple sample below is to display "OK" on the screen after 1s. timeBase is 60fps, clockDivisor is 120. When "OK" should appear After 1s, after 2s, after 5s... And why Thanks in advance < head > < timing clock =" page " clockDivisor =" 120 "> < cue begin =" 1s " select =" id('ok') " dur =" 5s "> < set style:visibility =" visible "/> </ cue > </ timing > < styling /> </ head > < body style:font =" file:///dvddisc/ADV_OBJ/font.ttf " > < p id =" ...Show All
