Facepunch / garrysmod-issues

Garry's Mod issue tracker
145 stars 56 forks source link

Flash / HTML5 Video broken on linux. #1594

Open zack6849 opened 9 years ago

zack6849 commented 9 years ago

Hello, it would seem as if there's a bug i garrys mod, that i'm sure if known to an extent, in which flash player or any video at all really won't play.

My flash is installed correctly, as it works on firefox, it works on the steam web browser, etc. however, when i attempt to open the very same URL's that worked on steam's browser, they don't work on gmod.

for example, a youtube video, it will load, show the video screen, then start skipping back and forth like a broken record, with no audio, before finally going to a static screen saying "An error has occurred" See below:

Image

The only information i could seem to dig up was by running steam in console, i saw a couple of errors like this in the console (note, i mean steam STDOUT, not gmod console, that has no useful information

ALSA lib pcm_ioplug.c:920:(snd_pcm_ioplug_create) ioplug: Plugin version mismatch

ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_ioplug.c:920:(snd_pcm_ioplug_create) ioplug: Plugin version mismatch

ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_ioplug.c:920:(snd_pcm_ioplug_create) ioplug: Plugin version mismatch

ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_ioplug.c:920:(snd_pcm_ioplug_create) ioplug: Plugin version mismatch

ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave

Relevant code i'm using to display this:

    DermaPanel = vgui.Create( "DPanel" )
    DermaPanel:SetPos( 50,50 )
    DermaPanel:SetSize( 160, 100)
    local video = vgui.Create("HTML", DermaPanel)
    video:SetPos(20, 20)
    video:SetSize(5, 5)
    video:SetAlpha(0)
    video:OpenURL("https://www.youtube.com/watch?v=3XBN72tQEvk")

That url was just an example, i have a personal utility it opens that converts youtube links to use HTML5 by default and stuff, but you get the idea.

Is there any chance you guys could take a look and see what could be causing this?

Additional Information:

Program Version
Garry's Mod 14.07.13
Operating System Arch Linux with kernel Linux 3.17.2-1-ARCH

If you need any other information, let me know.

robotboy655 commented 9 years ago

This isn't really something you should be reporting here, but to the awesomium team.

zack6849 commented 9 years ago

Oh, i guess I'll see if i can find a place to post it to, should i close this then or just leave it open? Edit: Aside from community help, the only option i see is help desk, and most of this stuff looks like it'd be information about awesomium i wouldn't know ._.

robotboy655 commented 9 years ago

It's not my choice. And besides, switching to something different will just bring more problems.

Lexicality commented 9 years ago

Wow. That's an amazing thought. Quite inspired, I must say. @c1yd3i, you have revolutionised how I think about programming. It's going to take me a while to quite wrap my head around that majestic piece of insight, but I truly hope it will improve me not just as a coder but as a person too.