CookieMunster Posted March 24, 2010 Share Posted March 24, 2010 some one knows xfire live broadcast? i whant to know how to insert broadcast into my project (i think it cant) but if anyone can help? TY ALOT Link to comment Share on other sites More sharing options...
Bert Posted March 24, 2010 Share Posted March 24, 2010 Does the application have COM support? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
doudou Posted March 24, 2010 Share Posted March 24, 2010 Since xfire broadcasts are coming in flash player, it is possible. You can embed flash ActiveX in AutoIt GUI and load SWF respectively, there is plenty of posts here on this topic: search for ShockwaveFlash keyword. UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE Link to comment Share on other sites More sharing options...
CookieMunster Posted March 24, 2010 Author Share Posted March 24, 2010 can you explain it a little bit better it is good but little to hard xD Link to comment Share on other sites More sharing options...
CookieMunster Posted March 24, 2010 Author Share Posted March 24, 2010 i searched on the keyword: ShockwaveFlash i saw much results but those results didn't help me, cuz it is all about the .swf in the same folder example: C:\Program Files\BROADCAST\Xfirelive.swf but not like (how i think): http://www.xfire.com/live_video/killab2oo5.swf Link to comment Share on other sites More sharing options...
doudou Posted March 24, 2010 Share Posted March 24, 2010 i searched on the keyword: ShockwaveFlash i saw much results but those results didn't help me, cuz it is all about the .swf in the same folder example: C:\Program Files\BROADCAST\Xfirelive.swf but not like (how i think): Have you tried it? It is difficult to solve a problem without a problem, you say "I don't think..." and I say "But I do".Hint: write your code and post it! UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE Link to comment Share on other sites More sharing options...
CookieMunster Posted March 24, 2010 Author Share Posted March 24, 2010 #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> GUICreate("Interface - 720p", 1280, 720, -1, -1, $WS_POPUPWINDOW) GUISetState(@SW_SHOW) $Flash = ObjCreate("ShockwaveFlash.ShockwaveFlash") $FlashObj = GUICtrlCreateObj($Flash, 0, 0, 1280, 720) $Flash.Movie = @ http://www.xfire.com/live_video/MYNAME $Flash.Loop = True While 1 WEnd Link to comment Share on other sites More sharing options...
doudou Posted March 24, 2010 Share Posted March 24, 2010 #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> GUICreate("Interface - 720p", 1280, 720, -1, -1, $WS_POPUPWINDOW) GUISetState(@SW_SHOW) $Flash = ObjCreate("ShockwaveFlash.ShockwaveFlash") $FlashObj = GUICtrlCreateObj($Flash, 0, 0, 1280, 720) $Flash.Movie = @ http://www.xfire.com/live_video/MYNAME $Flash.Loop = True While 1 WEnd Well, it's a start. Although you still don't say, what exactly your problem was, one can see right away that this code wouldn't work even if the handling of the flash player was correct. This works: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> GUICreate("Interface - 720p", 1280, 720, -1, -1, $WS_POPUPWINDOW) GUISetState(@SW_SHOW) Global $Flash = ObjCreate("ShockwaveFlash.ShockwaveFlash") Global $FlashObj = GUICtrlCreateObj($Flash, 0, 0, 1280, 720) $Flash.Movie = "http://media.xfire.com/swf/livevideoplayer.swf" $Flash.FlashVars = "autoPlay=true&channel=xfire_mausmausmaus1&embed=true" $Flash.Loop = True While 1 Dim $msg = GuiGetMsg() If $GUI_EVENT_CLOSE = $msg Then $Flash.Stop() $Flash.Movie = "" ExitLoop EndIf WEnd However, I doubt this would help you unless you understand WHAT was wrong in your code. UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE Link to comment Share on other sites More sharing options...
CookieMunster Posted March 24, 2010 Author Share Posted March 24, 2010 (edited) !ty worked ! but how did u know that it is http://media.xfire.com/swf/livevideoplayer.swf and autoPlay=true&channel=xfire_mausmausmaus1&embed=true ? Edited March 24, 2010 by CookieMunster Link to comment Share on other sites More sharing options...
doudou Posted March 24, 2010 Share Posted March 24, 2010 !ty worked ! I told ya. but how did u know that it is http://media.xfire.com/swf/livevideoplayer.swf and autoPlay=true&channel=xfire_mausmausmaus1&embed=true ? Clicking at the first best stream on http://www.xfire.com/live_video and looking in the HTML source. Even more comfortable: there's a button "Embed" in their player, it copies all needed data to the clipboard - you just need to paste it somewhere and strip HTML out. UDFS & Apps: Spoiler DDEML.au3 - DDE Client + ServerLocalization.au3 - localize your scriptsTLI.au3 - type information on COM objects (TLBINF emulation)TLBAutoEnum.au3 - auto-import of COM constants (enums)AU3Automation - export AU3 scripts via COM interfacesTypeLibInspector - OleView was yesterday Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE Link to comment Share on other sites More sharing options...
CookieMunster Posted March 24, 2010 Author Share Posted March 24, 2010 :) k ty very much man! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now