Well, Thanks for the information about all that.
I got VLC to act like a server streaming into a fake flv file like that:
0.0.0.0:8080/stream.flv
It worked good enough with a certain command line system that i put together.
I think this thing is incredible, if I ever do anything constructive, it might be a pack of providers for this thing. Unless someone beat me to it.
EDIT: On top of the fact that this thing surpasses the functionality of the youtube player, I find it astounding that it's not that popular yet.
I'd gladly welcome assistance!
I didn't release a download on garrysmod.org until two to three weeks later, and the original download was a bit complicated, so that probably stymied a lot of people.
[QUOTE=sk89q;19774788]I'd gladly welcome assistance!
I didn't release a download on garrysmod.org until two to three weeks later, and the original download was a bit complicated, so that probably stymied a lot of people.[/QUOTE]
I can see what I can do, I'm not exactly 'pro' at lua. Just will see what works and what doesn't. Wish I was of more use tho.
I am getting no sound from the player when I use IE8 with flash. It worked back then with IE6 just fine, but I can't install IE6 on windows 7. I don't know what to do; can you help please?
how to press ANY buttons on player's screen (play button,for example)?
[QUOTE=Commando125;19799013]I am getting no sound from the player when I use IE8 with flash. It worked back then with IE6 just fine, but I can't install IE6 on windows 7. I don't know what to do; can you help please?[/QUOTE]
Do you get sound with the Steam browser?
Also, is the volume indicator on the player at max? Have you tried both the JW and YT players?
Once you've started a video, type [B]playx_dump_html[/B] in console. Copy the code, put it into Notepad, and then save the file as .html on your desktop. Open the file in Internet Explorer. Tell me what happens.
[QUOTE=aolko;19802149]how to press ANY buttons on player's screen (play button,for example)?[/QUOTE]
That's not possible with the web browser control in Gmod.
[QUOTE=sk89q;19802695]Do you get sound with the Steam browser?
Also, is the volume indicator on the player at max? Have you tried both the JW and YT players?
Once you've started a video, type [B]playx_dump_html[/B] in console. Copy the code, put it into Notepad, and then save the file as .html on your desktop. Open the file in Internet Explorer. Tell me what happens.
That's not possible with the web browser control in Gmod.[/QUOTE]
Yes, I get sound with the steam browser and externally on firefox and IE. This tends to happen for any youtube player I download. The volume indicator is at max. It works for the first couple videos, but then it completely shuts off the sound until I restart Garry's Mod.
IE8 with Flash: With Win7, and what other OS did you test this with?
Gotta try this.
[QUOTE=sk89q;19808051]IE8 with Flash: With Win7, and what other OS did you test this with?[/QUOTE]
Tested it with windows XP, and it worked fine.
EDIT:
Seems to only happen with Jetboom's player on his server. But my videos are ending too early a few times on jwplayer.
Hmm, then it's probably not something I can fix, since once a video starts, it's just a browser window with the same HTML page as on any other server. gm_chrome might be "the solution."
That issue with the JW Player is known. It's a bug with the player. Either you can choose prematurely ending videos or annoying advertisements (YouTube player). Though perhaps I could look into fixing this bug.
Whatever you do, gm_chrome sounds fantastic btw. But do your best, this is one of the best things I've seen come out for garry's mod, and you should be proud for the effort you have put into it. /encourages
Use gm_chrome. Make people download it. The more people that download it, the better, and the easier it will be for developers to make web based content in GMod.
I already have [URL="http://github.com/sk89q/playx/tree/gm_chrome"]a version of PlayX[/URL] that plays every video with gm_chrome, so you can expect that to become a part of PlayX very soon. The only pending issue that needs to be fixed is that the force-play Flash player does not work with gm_chrome (due to Flash security restrictions not present with the embedded IE), so I have to program the player so that it can switch between IE and gm_chrome quickly.
Though I'm not going to [I]require[/I] gm_chrome, because I don't find this to be something people will find absolutely so critical that it would make people overcome their laziness to install gm_chrome.
On a related note, I will have to use a special procedural texture in order to draw gm_chrome. I'm thinking about (and have been) using a material that comes with GMT Tower (I think?) and the gm_chrome examples, which will allow me to have the player work automatically with an existing player base (without forcing download of 2 MB materials).
Fuck yes! I got it working. Turns out you need the flash player for "other browsers" I found the link on the Gmod Tower Page.
[url]http://get.adobe.com/flashplayer/thankyou/?installer=Flash_Player_10_for_Windows_-_Other_Browsers[/url]
That's interesting.
Did you have Flash installed for IE already?
[QUOTE=sk89q;19899405]That's interesting.
Did you have Flash installed for IE already?[/QUOTE]
Yes, but strangely enough, it didn't completely work. I just upgraded to IE 8 (unrelated issue with a different program), but I was on IE 6 (the one that comes with Windows XP) when I tried to get it working. The flash player for internet explorer didn't work. When I was reading the FAQ over at the Gmod Tower website, I noticed it mentioned that if you were having trouble getting their signature flash player to work, to try and install the flash player for "other browsers" it appears to be for non-standard browsers. Anyways, it worked immediately.
I wonder if the problem with the IE flash player has something to do with youtube talking about discontinuing support for IE 6, because its an outdated browser?
Well, Gmod Tower uses gm_chrome for their players to my knowledge, so installing Flash Player for "other browsers" would seem to be a reasonable thing to do, but the stable versions of PlayX currently use IE.
Even if YouTube had dropped support for IE6, the JW player would still appear. The YouTube player would probably say a message in such a case as well.
[QUOTE=sk89q;19915375]Well, Gmod Tower uses gm_chrome for their players to my knowledge, so installing Flash Player for "other browsers" would seem to be a reasonable thing to do, but the stable versions of PlayX currently use IE.
Even if YouTube had dropped support for IE6, the JW player would still appear. The YouTube player would probably say a message in such a case as well.[/QUOTE]
I know it doesn't make sense, but thats just what happened. I didn't install anything else related to IE or flash until the other browsers flash version.
Does the Version of PlayX that supports the gm_chrome module actually let you control the player? like Play buttons, and part of the timeline? or is there not much of a difference?
No, it doesn't let you control the player (otherwise you'd get yourself desync'd from everyone). It's just lag & crash free.
[QUOTE=sk89q;20036715]No, it doesn't let you control the player (otherwise you'd get yourself desync'd from everyone). It's just lag & crash free.[/QUOTE]
You think you will pack gm_chome into the mod forcefully, or keep it optional? And curiously enough, would this player be able to display webpages based off urls you would enter into a "Website" Provider? lol
Or is that getting far too complex or something?
I will probably pack it with PlayX, and also provide a simpler download of just gm_chrome for the masses. I can't force download of gm_chrome though, so ultimately people will have to download something on their own. Also worth a mention, besides the binary module, there would also need to be a material that players would need to have. If people download a copy of gm_chrome from me, then they would have the material, but if they already had gm_chrome, then they'd have to essentially re-download gm_chrome. Forcing download of that material seems like a waste when most people would not have gm_chrome anyway, especially when that material can be quite big in filesize.
I was considering adding the ability to browse webpages, as sometimes I desired the feature myself, but the IE browser already tends to crash Gmod as it is. However, if I give IE the finger and require gm_chrome for just browsing webpages, then it would be a non-issue, but I don't know.
Development has kind of crawled as of late, so I don't have an immediate answer for that question.
*cough*If anyone that knows Lua would like to contribute, drop me a message!*cough*
[QUOTE=sk89q;20037614]I will probably pack it with PlayX, and also provide a simpler download of just gm_chrome for the masses. I can't force download of gm_chrome though, so ultimately people will have to download something on their own. Also worth a mention, besides the binary module, there would also need to be a material that players would need to have. If people download a copy of gm_chrome from me, then they would have the material, but if they already had gm_chrome, then they'd have to essentially re-download gm_chrome. Forcing download of that material seems like a waste when most people would not have gm_chrome anyway, especially when that material can be quite big in filesize.
I was considering adding the ability to browse webpages, as sometimes I desired the feature myself, but the IE browser already tends to crash Gmod as it is. However, if I give IE the finger and require gm_chrome for just browsing webpages, then it would be a non-issue, but I don't know.
Development has kind of crawled as of late, so I don't have an immediate answer for that question.
*cough*If anyone that knows Lua would like to contribute, drop me a message!*cough*[/QUOTE]
Well, seeing as I host my own dedicated server, I use the PlayX player alot, and a packed release with gm_chrome for me and my server mates to download, (they would download it), to browse webpages, would be worth it, despite any possible crashes.
I'll look into it. I suppose I'll have to implement a shared scrollbar too, and then figure out the best way to take input. Fuuun.
[QUOTE=sk89q;20072435]I'll look into it. I suppose I'll have to implement a shared scrollbar too, and then figure out the best way to take input. Fuuun.[/QUOTE]
Great Things dont come without great frustration =\
It would be nice, because you would be the first person to pull it off publicly, and thats huge, regardless of the crashing, that's all fixable over time, but an in game shared web browser PlayX provider, possibly just interacting with the person who spawned the PlayX player, and being shared-viewable with everyone else.
Well, that's not so much the issue. It's the time involved :(
I remember seeing screenshots of shared browser somewhere, though it may have not been public.
But on the subject, I would have to use gm_chrome anyway, since I can't scroll or do anything worthwhile with the piece of garbage that the IE browser in Gmod is. So there won't be crashing -- just the inability for some people to view.
Make it local :d
[QUOTE=sk89q;20076636]Well, that's not so much the issue. It's the time involved :(
I remember seeing screenshots of shared browser somewhere, though it may have not been public.
But on the subject, I would have to use gm_chrome anyway, since I can't scroll or do anything worthwhile with the piece of garbage that the IE browser in Gmod is. So there won't be crashing -- just the inability for some people to view.[/QUOTE]
More interestingly, you could try making 2 players, one with the prefix (IE) and the other (Chrome) for people with and without the module. So it's the best of both worlds. Creating 2 entities, with slight differences, and the chrome one being able to browse the web in the game, I tested grocel's browser, which is still buggy / unable to use what so ever, by me, and everyone else on my server who has attempted to use it with the gm_chrome module. Though, his music streamer works nicely, with gm_bass.
Anyway, on topic again.... as i've said before, if you pull off a relatively stable (for new players that join and such) it will be one of the biggest things to ever happen since gmod_tower itself. I fully support you on this. As you can see from my seemingly never ending responses. :3
Just keep workin at it, when you can, and when it is updated / released version 2.0, I hope it will replace every other media player out there for gmod. If we get lucky, real, REAL lucky, garry might add gm_chrome like he did with the renderx module, because of this mod. (At least I think he did, or he just added support for stencils and such... O_o )
Sorry, you need to Log In to post a reply to this thread.