HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old October 6th, 2004, 08:12 AM
Racerman2 Racerman2 is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 3 Racerman2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation How to Stream Video

How do you stream a video in html? I have looked at other sites for this and their codes never worked.

Reply With Quote
  #2  
Old October 7th, 2004, 01:49 PM
fxchain fxchain is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 32 fxchain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 18 m 19 sec
Reputation Power: 5
Quote:
Originally Posted by Racerman2
How do you stream a video in html? I have looked at other sites for this and their codes never worked.
You need a video stream server, and all you need to do is point to the file with an <a href>. Or follow the server's help to do so (F1).

Reply With Quote
  #3  
Old November 1st, 2004, 10:28 AM
KidGeek KidGeek is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Dallas, Texas
Posts: 14 KidGeek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 7 sec
Reputation Power: 0
Quote:
Originally Posted by Racerman2
How do you stream a video in html? I have looked at other sites for this and their codes never worked.
This is the old way of doing things...
But it is still the best for streaming Windows Media...
Keep in mind to stream media you need your normal web hosting site and you need a streaming media server...
If you don't have a windows media server PM me for hosting... I'll set you up...

You need 2 files...
An .asx file and your .html file....

1. ASX file: This points to where your media is located, upload this like you would an image to your normal web server.

Example of an ASX file:

<asx version = "3.0">
<entry>
<title>MY Video Title</title>
<copyright>2004 By My Company</copyright>
<ref href = "mms://mystreamingserver.com/MyVideo.wmv"/>
</entry>
</asx>


2. In your HTML you would insert the following code.
NOTE: Replace MyVideo.asx with the name of you asx file above...
There are two places to do this... One is for older Netscape browsers and the other is for IE browsers...

In the code below Play, Pause, Volume controls are invisible.
I like to control my video through with my own player control graphics...
The code below will autostart the video...

To make the controls visible play with the numbers on:
<param name="DisplayMode" value="0"> ie. <param name="DisplayMode" value="1"> or <param name="DisplayMode" value="2"> and so on...

<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
codebase=http://activeX.microsoft.com/activeX/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
height=264 id=MediaPlayer type=application/x-oleobject width=320
border="0">
<param name="AudioStream" value="-1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="-1">
<param name="AnimationAtStart" value="0">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="1">
<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="4">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="0">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="-1">
<param name="Filename" value="MyVideo.asx" valuetype="ref">
<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="0">
<param name="ShowAudioControls" value="0">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="0">
<param name="ShowStatusBar" value="1">
<param name="ShowTracker" value="0">
<param name="TransparentAtStart" value="-1">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="-600">
<param name="WindowlessVideo" value="0">
<embed type="application/asx" filename="MyVideo.asx" transparentatstart="1" allowchangedisplaysize="1" animationatstart="0" showcontrols="0" showaudiocontrols="0" showcaptioning="0" pluginspage="http://www.microsoft.com/windows/wi...oad/default.asp" border="0" width="320" height="264">
</embed> </object>



Some FREE tools to help you encode:

http://www.microsoft.com/windowsmedia
Dowload the Windows Media Encoder

http://www.dbpoweramp.com
Rips CDs and makes audio files...
Download the latest Windows Media Encoder first before installing so you have the latest codecs...


Troubleshooting:
SOME HOSTING COMPANIES STINK AT STREAMING MEDIA:

In a browser type in the asx file...
http://mywebsite.com/myvideo.asx

If that works your good...
If you get a dead link, check your file make sure everything is correct.. if it is...

tell your hosting company to add the following to the httpd.conf:

# windows media addtype
AddType video/x-ms-asf asf asx
AddType audio/x-ms-wma wma
AddType audio/x-ms-wax wax
AddType video/x-ms-wmv wmv
AddType video/x-ms-wvx wvx
AddType video/x-ms-wm wm
AddType video/x-ms-wmx wmx
AddType application/x-ms-wmz wmz
AddType application/x-ms-wmd wmd

I find that most hosting companies never consider streaming media...

Last edited by KidGeek : November 1st, 2004 at 10:44 AM.

Reply With Quote
  #4  
Old November 1st, 2004, 05:02 PM
mick.sawyer mick.sawyer is offline
I love SEO Chat.
SEO Chat Regular (2000 - 2499 posts)
 
Join Date: Aug 2004
Location: I love SEO Chat.
Posts: 2,426 mick.sawyer User rank is Sergeant (500 - 2000 Reputation Level)mick.sawyer User rank is Sergeant (500 - 2000 Reputation Level)mick.sawyer User rank is Sergeant (500 - 2000 Reputation Level)mick.sawyer User rank is Sergeant (500 - 2000 Reputation Level)mick.sawyer User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Weeks 1 Day 16 h 59 m 50 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
Superb information,,

The way i do it is to upload the file to my server and put a link to the file in my page and have it open in a new window.

Maybe thats not what you are after,, but i just thought i would add my garble anyway.

Last edited by mick.sawyer : November 1st, 2004 at 05:05 PM.

Reply With Quote
  #5  
Old November 2nd, 2004, 01:44 PM
Racerman2 Racerman2 is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 3 Racerman2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Made it work

I use freewebs the free web hosting service.

This is the html code i used:

<embed src="Your URL Here" autostart="true" loop="-1" width="200" height="200"></embed>

Reply With Quote
  #6  
Old November 2nd, 2004, 01:49 PM
Racerman2 Racerman2 is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 3 Racerman2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
by the way...
go to www.nitto1320.com and download this game unless your not into racing games

I made a site about the game here:
www.r2snittowebsite.tk

Reply With Quote
  #7  
Old March 19th, 2005, 11:05 AM
KidGeek KidGeek is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Dallas, Texas
Posts: 14 KidGeek User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 7 sec
Reputation Power: 0
Racerman2,

Yep you can do it really simple like that... <grin>

FYI:
If you want to be cross browser compatiable you'll need the <object> tags as well.
Netscape is the real pain here...

KidGeek

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > How to Stream Video


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT