2006-07-29, 05:02 AM
I'm trying to see if I can't tackle a YouTube plugin for GB-PVR.
Forget for the moment the logistics of finding and selecting the YouTube clip you want. I'm interested in simply displaying a YouTube video within GB-PVR as close to full screen as I can.
I've gone through the basic GB-PVR plugin tutorial, and I have some experience with .NET programming, so I'm not a total newbie here. Here's what I've discovered:
It's possible to display a webpage (given a URL) within a form (I'm not sure how exactly). It's also possible to get a "full screen" YouTube URL from a given video (see: this and this for example).
So, I'm thinking the easiest method is to combine these two, and whal-la: YouTube in GBPVR. Here's the problem: I'm not sure what class (if any exists) that lets me embed a 'web browser' object in the form, and I'm not sure how to then stick that object on the canvas in the render() function (or if I should be sticking it somewhere else somehow).
Any ideas? Any bit of information will help.
Thanks,
Matt
Forget for the moment the logistics of finding and selecting the YouTube clip you want. I'm interested in simply displaying a YouTube video within GB-PVR as close to full screen as I can.
I've gone through the basic GB-PVR plugin tutorial, and I have some experience with .NET programming, so I'm not a total newbie here. Here's what I've discovered:
It's possible to display a webpage (given a URL) within a form (I'm not sure how exactly). It's also possible to get a "full screen" YouTube URL from a given video (see: this and this for example).
So, I'm thinking the easiest method is to combine these two, and whal-la: YouTube in GBPVR. Here's the problem: I'm not sure what class (if any exists) that lets me embed a 'web browser' object in the form, and I'm not sure how to then stick that object on the canvas in the render() function (or if I should be sticking it somewhere else somehow).
Any ideas? Any bit of information will help.
Thanks,
Matt