testingtest Posted July 21, 2007 Posted July 21, 2007 Hi , heres a exampleI 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
jpam Posted July 21, 2007 Posted July 21, 2007 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
Will66 Posted July 21, 2007 Posted July 21, 2007 use the browser? expandcollapse popup; ******************************************************* ; 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
testingtest Posted July 21, 2007 Author Posted July 21, 2007 use the browser? expandcollapse popup; ******************************************************* ; 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now