Sign in to follow this  
Followers 0
CookieMunster

Online Movie in AUTOIT Project

11 posts in this topic

:):(:)

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? :D

TY ALOT

Share this post


Link to post
Share on other sites



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:


DDEML.au3 - DDE Client + Server[*]
Localization.au3- localize your scripts[*]
TLI.au3 - type information on COM objects (TLBINF emulation)[*]
TLBAutoEnum.au3 - auto-import of COM constants (enums)[*]
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector

- OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Share this post


Link to post
Share on other sites

can you explain it a little bit better :(

it is good but little to hard xD

Share this post


Link to post
Share on other sites

:)

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

;)

:(:)

Share this post


Link to post
Share on other sites

:)

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:


DDEML.au3 - DDE Client + Server[*]
Localization.au3- localize your scripts[*]
TLI.au3 - type information on COM objects (TLBINF emulation)[*]
TLBAutoEnum.au3 - auto-import of COM constants (enums)[*]
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector

- OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Share this post


Link to post
Share on other sites

#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

:(

Share this post


Link to post
Share on other sites

#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:


DDEML.au3 - DDE Client + Server[*]
Localization.au3- localize your scripts[*]
TLI.au3 - type information on COM objects (TLBINF emulation)[*]
TLBAutoEnum.au3 - auto-import of COM constants (enums)[*]
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector

- OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Share this post


Link to post
Share on other sites

#9 ·  Posted (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 by CookieMunster

Share this post


Link to post
Share on other sites

!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:


DDEML.au3 - DDE Client + Server[*]
Localization.au3- localize your scripts[*]
TLI.au3 - type information on COM objects (TLBINF emulation)[*]
TLBAutoEnum.au3 - auto-import of COM constants (enums)[*]
AU3Automation - export AU3 scripts via COM interfaces
TypeLibInspector

- OleView was yesterday

Coder's last words before final release: WE APOLOGIZE FOR INCONVENIENCE 

Share this post


Link to post
Share on other sites

:(:) :)

k ty very much man!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0