Jump to content

*media Embeder Udf*


Recommended Posts

This uses Beta the new IE2.au3 which you can get here==>

This can be expanded on many levels so feel free to.

Here it is:

#include <GUIConstants.au3>
#include <IE2.au3>
GUICreate("", 300, 300, (@DesktopWidth/2)-200, (@DesktopHeight/2)-200, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$song = "http://www.htmlcodetutorial.com/graphics/heart.avi"
$WM = _MediaEmbed(50, 50, $song, 200, 200)
GUISetState()
Sleep(3000)

Func _MediaEmbed($top, $left, $file, $width = 200, $height = 200)
$embed = _IECreateEmbedded()
$window = GUICtrlCreateObj($embed, $top, $left, $width, $height)
_IENavigate ( $embed, "about:blank" )
_IEDocWriteHTML ( $embed, "<body <body bgcolor='rgb(212,208,200)' Scroll='no'><EMBED SRC='" & $file & "'  HEIGHT=100% WIDTH=100%>" )
EndFunc

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Link to comment
Share on other sites

simple, yet effective. Well done

My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.
Link to comment
Share on other sites

simple, yet effective. Well done

why thank you

The only thing is that I dono how to get rid of the border

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

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...