Playing .ASX files via/within Firefox ?

Ronald F. Guilmette rfg at tristatelogic.com
Wed Dec 7 04:19:18 UTC 2011


In message <20111207014948.9fb0cb4b.freebsd at edvax.de>, 
Polytropon <freebsd at edvax.de> wrote:

>On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote:
>> I've been trying to look at California Dept. of Transportation webcams
>> using Firefox on FreeBSD and so far it simply ain't workin'.  Somebody
>> please tell me what I'm doing wrong.
>> 
>> Yes, I already installed the mozilla-mplayer port.
>> 
>> Here's where you can get at the webcams:
>> 
>> http://www.dot.ca.gov/dist3/departments/traffic/cameras/
>> 
>> Any help would be appreciated.
>
>Maybe not what you're searching for, but works:
>
>First I arbitrarily choose a cam from the map. A
>window opens with a "go to live camera" link.
>Right click, copy link address.
>
>I tried to directly play it with mplayer which
>should have worked:
>
>	% mplayer "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx"
>
>Did not work. So I checked the actual ASX file
>content:
>
>	% wget "http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx"
>
>The file contained some XML:
>
><asx version = "3.0">
>  <TITLE>80 at Whitmore Grade</TITLE>
>  <entry>
>    <ref href = "http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80"/>
>    <ref href = "http://svdtsmsmedia1.dot.ca.gov/d3-whitmore-grade-80"/>
>    <ref href = "http://svdtsmsmedia2.dot.ca.gov/d3-whitmore-grade-80"/>
>    <ref href = "http://sv04msmedia.dot.ca.gov/d3-whitmore-grade-80"/>
>    <ref href = "http://sv07msmedia.dot.ca.gov/d3-whitmore-grade-80"/>
>  </entry>
></asx>
>
>I then choose the first reference to test with mplayer:
>
>	% mplayer "http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80"
>
>After the cache has been filled, IT WORKED!

Yes!  That worked forme too!

>It can even run in fullscreen (or you can do all the tricks
>mplayer and mencoder is capable of).
>
>I'm not sure how to integrate that with Firefox (as
>I am an Opera person), sorry.

well, if you have an idea of how to make it integrate properly with Opera,
then tell me how to do that and maybe from that I can figure out how to make
it work from within Firefox too.

Thanks!


More information about the freebsd-questions mailing list