[lua]
function InitStream()
html = vgui.Create( "HTML" )
html:SetPos( 0 , 0 )
html:SetSize( 128 , 128 )
html:SetVisible( false )
html:SetHTML(
[[
<embed src="http://www.sounddogs.com/production-music/3751/mp3/374538_SOUNDDOGS__hy.mp3"
loop="true" autoplay="true" width="145" height="60"></embed>
]]
)
end
[/lua]
It's not playing, and i dont usually mess around with this kind of thing, but it would be nice to have, just don't understand why it wont play, if i paste that code in a html document and upload it to my site, it plays fine
[b]Edited:[/b]
I used an iframe instead and got it to work, still..any ideas why this didn't work?
Use bass
Use my radio :3
Sorry, you need to Log In to post a reply to this thread.