GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 07-Mar-2006, 04:46
julieta julieta is offline
New Member
 
Join Date: Mar 2006
Posts: 2
julieta is on a distinguished road
Question

video streaming - .asf - am i doing it right?


hi there,

1st of all thank for your very useful website and forum, i've been briwsing aroung and i think i pointed in the right direction to solve the problem, i think i am almost there....

i am trying to stream some videos, i follow the instruction as per here
www.desilva.biz

i got given the videos in wmv format, i renamed them to become .asf as i read the format is identical, i made an html page that has (i think the word would be) embedded a .asx that call a .asf video.

here's the code i've used
---------------------------
HTML Code:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>presentation</title> <meta name="ROBOTS" content="index,no"> </head> <body topmargin="0" leftmargin="0"> <p><object id="MediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft Windows Media Player Components..." type="application/x-oleobject" width="320" height="290"> <param name="AudioStream" value="-1"> <param name="AutoSize" value="-1"> <param name="AutoStart" value="-1"> <param name="AnimationAtStart" value="-1"> <param name="AllowScan" value="-1"> <param name="AllowChangeDisplaySize" value="-1"> <param name="AutoRewind" value="0"> <param name="Balance" value="0"> <param name="BaseURL" value> <param name="BufferingTime" value="5"> <param name="CaptioningID" value> <param name="ClickToPlay" value="-1"> <param name="CursorType" value="0"> <param name="CurrentPosition" value="-1"> <param name="CurrentMarker" value="0"> <param name="DefaultFrame" value> <param name="DisplayBackColor" value="0"> <param name="DisplayForeColor" value="16777215"> <param name="DisplayMode" value="0"> <param name="DisplaySize" value="0"> <param name="Enabled" value="-1"> <param name="EnableContextMenu" value="-1"> <param name="EnablePositionControls" value="-1"> <param name="EnableFullScreenControls" value="0"> <param name="EnableTracker" value="-1"> <param name="Filename" value="hp261.asx"> <param name="InvokeURLs" value="-1"> <param name="Language" value="-1"> <param name="Mute" value="0"> <param name="PlayCount" value="1"> <param name="PreviewMode" value="0"> <param name="Rate" value="1"> <param name="SAMILang" value> <param name="SAMIStyle" value> <param name="SAMIFileName" value> <param name="SelectionStart" value="-1"> <param name="SelectionEnd" value="-1"> <param name="SendOpenStateChangeEvents" value="-1"> <param name="SendWarningEvents" value="-1"> <param name="SendErrorEvents" value="-1"> <param name="SendKeyboardEvents" value="0"> <param name="SendMouseClickEvents" value="0"> <param name="SendMouseMoveEvents" value="0"> <param name="SendPlayStateChangeEvents" value="-1"> <param name="ShowCaptioning" value="0"> <param name="ShowControls" value="1"> <param name="ShowAudioControls" value="0"> <param name="ShowDisplay" value="0"> <param name="ShowGotoBar" value="0"> <param name="ShowPositionControls" value="1"> <param name="ShowStatusBar" value="0"> <param name="ShowTracker" value="1"> <param name="TransparentAtStart" value="0"> <param name="VideoBorderWidth" value="0"> <param name="VideoBorderColor" value="0"> <param name="VideoBorder3D" value="0"> <param name="Volume" value="-230"> <param name="WindowlessVideo" value="0"> <embed type="application/x-mplayer2" src="pres.asx" name="MediaPlayer" width="320" height="290" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=media&amp;sba=plugin&amp;" autosize="1" autostart="1" showcontrols="0" showdisplay="0" showstatusbar="0"> </embed> </object> </p> </body> </html>
------------------------------------

here is the code for the .asx file i used
Code:
<asx version = "3.0"> <entry> <ref href = "pres.asf" /> </entry> </asx>
-----------------------------------
could you tell me if it is working for you guys as i can see the videos fine from my computer an imac g5 running mac os x 10.4.5, but got told by some other guy with a pc running window x pro that he cannot?
am i doing something wrong....i thought i cracked it but now i am not sure....

here's the address to test.
www.beths.bexley.sch.uk

many thanks in advance!

jules
Last edited by cable_guy_67 : 07-Mar-2006 at 05:09. Reason: Please enclose HTML code with [html] your code [/html]
  #2  
Old 07-Mar-2006, 22:09
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 730
admin will become famous soon enough

Re: video streaming - .asf - am i doing it right?


Hello jules,

I tried visiting http://www.beths.bexley.sch.uk/test/...eos-naming.htm but non of the links appear to be working. Are you still experimenting?

Also, about (http://www.desilva.biz/webdsn/vidstream.html): I wrote it in 1999 or 2000, so it may not be relevant to today's Windows Media Player.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #3  
Old 09-Mar-2006, 04:31
julieta julieta is offline
New Member
 
Join Date: Mar 2006
Posts: 2
julieta is on a distinguished road

Re: video streaming - .asf - am i doing it right?


sorry, i accidentaly moved the files while testing.
got it working in th end based on your old video stream tutorial.
i placed all (video .asf + .asx + file that calls the .asx) in the same folder and it seems to work.
thanks

j.
  #4  
Old 14-Mar-2006, 11:36
Corey Bryant Corey Bryant is offline
Member
 
Join Date: Oct 2003
Location: Castle Rock, CO
Posts: 216
Corey Bryant will become famous soon enough

Re: video streaming - .asf - am i doing it right?


I would also consider maybe converting it to flash so that it would be easier in the long run. If you want - I can convert the media file to Flash possibly depending on the file type.
 

Recent GIDBlogPrepping for deployment by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Video Card Help jbs4life Computer Hardware Forum 9 02-Mar-2006 16:37
Checking source codes of image, audio and video files onauc C Programming Language 5 26-Feb-2005 21:47
I need a reliable audio video webhost onauc Web Hosting Forum 1 20-Dec-2004 09:28
MPG video playback problem minimustangs Computer Software Forum - Windows 2 18-Oct-2004 15:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 22:08.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.