[vlc] Re: IE embedded

Bill Eldridge bill at rfa.org
Tue Jul 8 23:11:14 CEST 2003


Note that mine was test.vob, not test.mpg

Cegonha wrote:

> I have do all what you tell, but Internet Explorer still want only 
> download file when i click on my test.mpg :(  It will not lauch the 
> player ... Can i do anything else ?
>
>
>
>> I was able to do it with the following, but I don't see VLC's controls,
>> only the display. VLC appears to be playing the vob, WiMP the ASF stuff.
>> I'd like to be able to improve on this, including signalling VLC to 
>> stream
>> say from 2 minutes 33 seconds to 2 minutes 45 seconds to correspond
>> to the HTMLTIME code for a 12 second clip. If anyone has any advice
>> please share. This is all a bit ugly hack at the moment, but it works 
>> a bit.
>> ANyway:
>>
>> With the registry HKEY_CLASSES_ROOT, I made
>> .VOB   <No  Name>:REG_SZ:VOB.CLIP
>>             ContentType:REG_SZ:video/vob
>>
>> and later:
>>
>> VOB.CLIP
>>    shell
>>          open
>>
>>
>> And then in Windows Explorer/FolderOptions/FileTypes to create the
>> rest, under Advanced, I have:
>>
>> Action:
>> open
>>
>> APplication used to perform action:
>> "C:\Program Files\VideoLan\VLC\vlc.exe" "%1"
>>
>> [You can probably just add this under open in the registry].
>>
>> It took me some messing around to get the Advanced option,
>>
>> Then I played with some HTMLTIME (Microsoft's version of SMIL)
>> in an html file to get it to play. (here
>>
>> <?xml version="1.0" encoding="iso-8859-1"?>
>> <html xmlns:t="urn:schemas-microsoft-com:time">
>>    <head>
>>        <layout>
>>            <root-layout width="159" id="video" height="50" />
>>            <root-layout width="159" id="buttons" height="50" />
>>        </layout>
>>        <style>.time { behavior: url(#default#time2) }</style>
>>        <?IMPORT namespace="t" implementation="#default#time2">
>>    </head>
>>    <body>
>>        <seq>
>>            <t:video src="niceday.asf" region="video" end="4.0s" 
>> begin="0.0s" />
>>            <t:video src="eddie320_240_256.asf" region="video" 
>> end="7.0s" begin="4.1s" />
>>            <t:video src="..\Dolby_Broadway.vob" region="video" 
>> end="10.0s" begin="7.1s" />
>>            <t:video src="eddie320_240_256.asf" region="video" 
>> end="115.0s" begin="90.0s" />
>>            <par endsync="first" author="BILL ELDRIDGE: Edit 
>> lvc2htmltime" id="speaker1" copyright="(c) Bill Eldridge : Edit 
>> lvc2htmltime" title="">
>>                <button region="buttons" id="startMedia">Play</button>
>>                <button region="buttons" id="stopMedia">Stop</button>
>>                <t:media src="../Dolby_Broadway.vob" 
>> style="height=150; width=150" timeAction="display" 
>> end="stopMedia.click; 00:00:16.56" mute="false" region="buttons" 
>> begin="startMedia.click; 00:00:10.24" />
>>                <textstream src=".rt" copyright="(c) Bill Eldridge : 
>> Edit lvc2htmltime" author="BILL ELDRIDGE: Edit lvc2htmltime" 
>> dur="6032ms" title="" region="title" fill="freeze" />
>>            </par>
>>        </seq>
>>    </body>
>> </html>
>>
>>
>
>


-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list