none
WebBrowser RRS feed

  • Question

  • Well I decided i'm going to make a web-browser like program & i'm trying to make it work for rhapsody & youtube at the moment(music & video).  I mean it's simple enough to make it do the layout, even for youtube get & display the video but I am having a hard time with some things mostly on rhapsody.

    Anyways for rhapsody i'm having a hard time figuring out where it should download the music to play(the location of the file) then having it tell it that when you played the file over X time that it should tell it to consume a play out of the 25 free plays you get, if your of course not signed up for it.

    As for youtube I am able to make it download & play the videos correctly but not buffer/download mid video & another problem I am having of not knowing if the view count is being correctly incremented or not, I could make a private video to check possibly.

    --Anyways any help on how to get rid of my concerns & figure out how to make it work for rhapsody at all to play the music & stuff would be nice.

    --I am basically making something similar to what the following video shows. http://www.youtube.com/watch?v=q6-g7QJSIlg&feature=related I was sent that link to check out what they showed & while it's not exactly what i'm making or anything, something like that is what i'm trying to achieve, I can get stuff to show up already & work just some of the smaller things not working correctly as I was not trying to make a full-blown browser, just for the specific site(s) like shown in the video so anything that might help to get those sites working without using the webbrowser control & working fully would be nice.

    I got everything done except what was talked about above & I mostly put the user interface in as a static view & just update it based on the data downloaded.

    It also needs to allow you to login to youtube & put the views on your account info & stuff.

    Anyways I am not against using the webbrowser control but the backbone if not all of it should be on my own code because things like html5 video/audio aren't even supported through the control even though I know stuff like cookies & such which would be essential for youtube login are.

    Wednesday, December 15, 2010 5:20 AM

Answers

  • OK, well I see that you're frustrated because obviously this is apparentally not easy & such & it's not like the forums anyone expects back & forth this fast, it's not a chat room of course, so I guess I will just give up what I was trying & maybe work on something simpler then try again later to make it when I have something more specific than how to make this & this work or do this & this instead or what not.

    I will mark this as answer--no longer need answered due to apparent complexity & lack of knowledge.

    • Marked as answer by Maya Key Wednesday, December 15, 2010 10:27 AM
    Wednesday, December 15, 2010 10:26 AM

All replies

  • Michael,

    Did you know that Huan Xuan was a very important Chinese Emperor. Huan Xuan was born in 369, as the youngest son of Huan Wen, then the paramount general of Jin, and his wife, Sima Xingnan (司馬興男) the Princess of Nankang, the daughter of Emperor Ming of Jin. (An alternative account has him as born of Huan Wen's concubine Lady Ma.) When Huan Wen died in 373, his title should have gone to his heir apparent Huan Xi (桓熙), his oldest son. However, Huan Chong, Huan Wen's brother whom Huan Wen entrusted the command of the army to, believed (correctly) that Huan Xi was in a plot with another brother of Huan Wen's, Huan Mi (桓秘), and another son of Huan Wen's, Huan Ji (桓濟), to assassinate him and take power, and so detained Huan Xi, Huan Ji, and Huan Mi. Instead, he declared that it was Huan Wen's desire that his title be passed to Huan Xuan, and so Huan Xuan, at age four, inherited the title of Duke of Nan Commandery, with the dukedom roughly corresponding to modern Jingzhou, Hubei.

    As Huan Xuan grew in age, he became ambitious and wanted high posts, but the imperial government was highly suspicious of him and did not give him governmental posts until 391, when he became an assistant to Emperor Xiaowu's crown prince Sima Dezong (later Emperor An). Around this time, he had an encounter with Emperor Xiaowu's younger brother Sima Daozi the Prince of Kuaiji that went badly—as at one feast where Sima Daozi invited Huan Xuan as a guest, after Sima Daozi became drunk, he made the statement, "Was it not true that when Huan Wen became old, he planned treason?" Huan Xuan was so struck by the statement that he fell prostrate on the ground, fearing that Sima Daozi would kill him, and from this point he bore a grudge against the prince. Eventually, Huan Xuan became the governor of Yixing Commandery (義興, roughly modern Wuxi, Jiangsu), but felt that the post was not sufficient for his talent, and he therefore resigned and returned to his dukedom, and he wrote a report to Emperor Xiaowu that was highly accusatory in tone in which he claimed that Emperor Xiaowu had much to owe to Huan Wen, and Emperor Xiaowu ignored the report.

    During Huan Xuan's year at Nan Commandery, the people of the commandery were far more fearful of him than of the governor of Jing Province (荊州, modern Hubei and Hunan), Yin Zhongkan (殷仲堪). Yin himself was very respectful and fearful of Huan as well. Effectively, Huan Xuan got his way with both the people and the governor, whatever he wanted.

    You know many Moderators are also from China.

    Why I write this, maybe can you start with telling the problem and than that it has to do with the bohemian rhapsody or whatever you are writting about.

    You have then more chance on an answer.

     


    Success
    Cor
    Wednesday, December 15, 2010 8:41 AM
  • My problem is trying to mimic http://rhapsody.com/ that music websites behavior from my application, I got all the screens mimicked & now i'm down to making it so I can login to the site & listen to music & also make it decrease the play count by 1 each time you listen to X% of the song, I am also trying to do the same for youtube except for videos & increase the views by 1.

    I am trying to make something similar to the video listed in the previous post.  So just to review my problems.

    1.On http://rhapsody.com/ I don't know how to determine the link of where to get to download the music needed to play.

    2.I don't know how to make it so you can login to said service from my program, remembering my application is simply a mimic of the site & not displayed using that of the WebBrowser control.

    3.I need to make it keep the current workings of rhapsody & decrease the amount of free plays by 1 when a file has been played X% in, on this it's the messaging side rather than detecting being X% into the song.

    ---As for my problems on http://youtube.com/

    1.I don't know if it's currently increasing the view count on the videos watched from my program, is there any reccomendation to see besides making a private video & seeing if the views increase & only by 1 to make sure it's working as it should?

    2.Making it so you can login to youtube so anything you've viewed/played will show up in your youtube history that's used to reccomend more videos you might want to see to you.

     

     

    ---So basically it's a custom web-browser instead of using the web-browser control but only meant to be working for the specific site(s) that I might get it to work properly with.  I can already read & parse html but flash is also used in http://rhapsody.com/ & even so I see no place which makes it determine in the flash file what site to use either to retrieve said file it needs to play.

    Wednesday, December 15, 2010 8:58 AM
  • Hello Michael,

    I am not aware about rhapsody.

    However, Google (owner of Youtube) has a bunch of what they call API's (simply a kind of interop to there applications) maybe you can start there

    http://code.google.com/apis/libraries/

    They have even a special YouTube namespace

    http://code.google.com/apis/maps/index.html

    To get the licences was always free for developers, I don't know the current situation.

     


    Success
    Cor
    Wednesday, December 15, 2010 9:16 AM
  • Unfortunately that doesn't help, the apis are for web development, I am not using the webbrowser control, even so that doesn't help me with my rhapsody problem nor do I see how that helps with non-webbrowser control logging in to youtube or how to increase the view count by 1 so that it shows they read it & put it to their view history too.
    Wednesday, December 15, 2010 9:22 AM
  • Michael,

    No those can also be used beside Web Development. For instance but not alone with a webbrowser.


    Success
    Cor
    Wednesday, December 15, 2010 9:26 AM
  • Yes, I could make myself a webbrowser control or possibly download some information from said pages but I can already retrieve said info on youtube, just having trouble with small things, API's might be useful for that but a web-browser can handle ANY website EVER, it's not like theres an API for every webpage or easy method of displaying everything, I am trying to figure out how to make a few select sites work at the moment, and I am not using the webbrowser control because they wont display HTML5 video/audio tags from IE9 even though I have IE9 installed, also you don't have the full control over it like maybe making the background transparent so all you see is the stuff on the page with a transparent background, just like the video I linked to but was probably not viewed to see what I was trying for.
    Wednesday, December 15, 2010 9:31 AM
  • Michael,

    You are talking about information curently not yet available, do you know how many browsers support HTML5?

    Adobe is still not ready to show flash on 64bit browsers, so companies like youtube are still oriented on 32Bit browsers.

    The only browser which supports in a way it is usable XML is still IE and others write only that Microsoft does not use the correct way. 

    I think you are busy to far in future to get information from a forum like this.

     


    Success
    Cor
    Wednesday, December 15, 2010 9:38 AM
  • IE9, Chrome, Safari, Firefox, etc... they all support HTML5 all their own different implementations so far & adobe does have a 64-bit version now that works perfectly, but is still in beta like IE9 & while I know that HTML5 is probably something for the future, I am not trying to not use a web-browser because of this, it's mainly because I want to be able to work with all the files downloaded & know what their used for & have a transparent background unlike the generic white & possibly or possibly not have a scrollbar & it also not be guesswork on when it might be there or not based on the page itself.
    Wednesday, December 15, 2010 9:42 AM
  • Yes And?
    Success
    Cor
    Wednesday, December 15, 2010 9:50 AM
  • Well either you can help with the things that make me not use the WebBrowser control, one of which is HTML5 support technically, but my current projects don't need it & the others deal with knowing when it has a scrollbar or not & not be guessing or how to make a custom one, etc..... & the other to do with making a transparent see-through background instead of the generic white, maybe with custom drawing, etc... while still using the basic webbrowser control?  but if that is the case then I still don't know what files are used for what & then i'd need to be able to make what would amount to pop-ups for rhapsody appear in a new window somehow but then not make other websites stuff show up in the program, unless I am shown how to make the full-blown browser.

     

    ---Or maybe what sparked this changing it so IE can show the fully transparent background which would go to editing IE & probably the website along with it or just the website, so whichever way can get the end-result.

    If you can't help me then it's fine with me, the last things I have asked are apparentally hard or less understood, but I thought it would be possible that someone would know a possible way to do it.

    Wednesday, December 15, 2010 9:59 AM
  • Michael,

    I've showed you a link to the API' from Google, your reply was that you don't use it in a Webapplication. 

    My reply was.

    No those can also be used beside Web Development. For instance but not alone with a webbrowser.

    Now we see all kind of other reasons why you cannot use it, returning quicker back than I can type an answer. 

    Did you try it, the first time I used the Google Api's it took me 2 days to understand a little bit all of them.



    Success
    Cor
    Wednesday, December 15, 2010 10:18 AM
  • OK, well I see that you're frustrated because obviously this is apparentally not easy & such & it's not like the forums anyone expects back & forth this fast, it's not a chat room of course, so I guess I will just give up what I was trying & maybe work on something simpler then try again later to make it when I have something more specific than how to make this & this work or do this & this instead or what not.

    I will mark this as answer--no longer need answered due to apparent complexity & lack of knowledge.

    • Marked as answer by Maya Key Wednesday, December 15, 2010 10:27 AM
    Wednesday, December 15, 2010 10:26 AM