Jump to content

how can make autoit flv player with link file .flv? (Newbie)


Recommended Posts

how can make autoit flv player with link file .flv?

Like this image :

Posted Image

website example http://www.maxilamba.com/flash.html?video=http://www.maxilamba.com/video.mp4

can you help me edit this code work ? i'm a newbie learning autoit ;)

Global $sPlayer = "http://www.maxilamba.com/player.swf"
Global $sMovie = "http://Your_video_link_file.flv"

$GUI = GUICreate("Lama's", 605, 600)
$url =  GuiCtrlCreateInput( "http://Your_video_link_file.flv",20, 500, 500, 25)
$OK = GUICtrlCreateButton("&Watch",530, 500, 75, 25,0x001)
$oObj = ObjCreate("ShockwaveFlash.ShockwaveFlash.1")
$oPlayer = GUICtrlCreateObj($oObj, 10, 10, 585, 485)
$readurl = GUICtrlRead($url)
With $oObj
    .Movie = $sPlayer
    .Bgcolor = "#000000"
    .AllowFullscreen = true
    .SetVariable('ss_station','BNN')
    .SetVariable('ss_program_title','101tv')
    .SetVariable('ss_date_production','')
    .SetVariable('ss_episode_title','')
    .SetVariable('ss_type_stream','flv')
    .SetVariable('config', '')
    .SetVariable('image', 'http://xemanhdep.com/gallery/ao-dai-trang-muot/ao-dai-trang-muot02.jpg')
    .SetVariable('file', $sMovie)
EndWith
    
GUISetState()
While 1
    Switch GUIGetMsg()
    Case -3
        Exit
    EndSwitch
Wend

orignal: http://www.autoitscript.com/forum/index.php?showtopic=105969

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...