Sign in to follow this  
Followers 0
testingtest

Video Embed

4 posts in this topic

Hi , heres a example

Posted Image

I want

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/_6Q1TnaxjhU"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/_6Q1TnaxjhU" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

to be in the box center but won't work

Share this post


Link to post
Share on other sites



you have to embed a .flv player in your gui like (flvplayer1.3.3) for windows

and you have to find the real mediastream from the ridirect url.

then you can download or stream it.

i do that stuff in python to program my xbox

Share this post


Link to post
Share on other sites

use the browser?

; *******************************************************
; Example 1 - Trap COM errors so that 'Back' and 'Forward' 
;               outside of history bounds does not abort script 
;               (expect COM errors to be sent to the console)
; *******************************************************
;
#include <GUIConstants.au3>
#include <IE.au3>

_IEErrorHandlerRegister ()

$oIE = _IECreateEmbedded ()
GUICreate("Embedded Web control Test", 640, 580, _
        (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
        $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 600, 360)
$GUI_Button_Back = GUICtrlCreateButton("Back", 10, 420, 100, 30)
$GUI_Button_Forward = GUICtrlCreateButton("Forward", 120, 420, 100, 30)
$GUI_Button_Home = GUICtrlCreateButton("Home", 230, 420, 100, 30)
$GUI_Button_Stop = GUICtrlCreateButton("Stop", 340, 420, 100, 30)

GUISetState()     ;Show GUI
$html='<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/_6Q1TnaxjhU"> '
$html&='</param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/_6Q1TnaxjhU" ' 
$html&='type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' 
_IENavigate ($oIE, "about:blank")
_IEDocWriteHTML ($oIE,$html )
;_IEAction($oIE,"refresh")
; Waiting for user to close the window
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $GUI_Button_Home
            _IENavigate ($oIE, "http://www.autoitscript.com")
        Case $msg = $GUI_Button_Back
            _IEAction ($oIE, "back")
        Case $msg = $GUI_Button_Forward
            _IEAction ($oIE, "forward")
        Case $msg = $GUI_Button_Stop
            _IEAction ($oIE, "stop")
    EndSelect
WEnd

GUIDelete()

Exit

Share this post


Link to post
Share on other sites

use the browser?

; *******************************************************
; Example 1 - Trap COM errors so that 'Back' and 'Forward' 
;               outside of history bounds does not abort script 
;               (expect COM errors to be sent to the console)
; *******************************************************
;
#include <GUIConstants.au3>
#include <IE.au3>

_IEErrorHandlerRegister ()

$oIE = _IECreateEmbedded ()
GUICreate("Embedded Web control Test", 640, 580, _
        (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
        $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 600, 360)
$GUI_Button_Back = GUICtrlCreateButton("Back", 10, 420, 100, 30)
$GUI_Button_Forward = GUICtrlCreateButton("Forward", 120, 420, 100, 30)
$GUI_Button_Home = GUICtrlCreateButton("Home", 230, 420, 100, 30)
$GUI_Button_Stop = GUICtrlCreateButton("Stop", 340, 420, 100, 30)

GUISetState()    ;Show GUI
$html='<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/_6Q1TnaxjhU"> '
$html&='</param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/_6Q1TnaxjhU" ' 
$html&='type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' 
_IENavigate ($oIE, "about:blank")
_IEDocWriteHTML ($oIE,$html )
;_IEAction($oIE,"refresh")
; Waiting for user to close the window
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $GUI_Button_Home
            _IENavigate ($oIE, "http://www.autoitscript.com")
        Case $msg = $GUI_Button_Back
            _IEAction ($oIE, "back")
        Case $msg = $GUI_Button_Forward
            _IEAction ($oIE, "forward")
        Case $msg = $GUI_Button_Stop
            _IEAction ($oIE, "stop")
    EndSelect
WEnd

GUIDelete()

Exit
okay thanks but theres going to be many links in the listview and I don't know how to generate it fast enough

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