Jump to content
Sign in to follow this  

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('config', '')
    .SetVariable('image', 'http://xemanhdep.com/gallery/ao-dai-trang-muot/ao-dai-trang-muot02.jpg')
    .SetVariable('file', $sMovie)
While 1
    Switch GUIGetMsg()
    Case -3

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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.