Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 06-27-2009, 05:58 PM   #1
Daemon Poster
 
Join Date: May 2009
Posts: 690
Smile HTML help

I need some help with how to get a Video say an MPG to play on a web page.

I see a lot of things about FLASH and I know if something plays in FLAS on a web page it also meens you can do a lot with it. Like move diferant controles and look at the move from diferant looks.

But I don't even know if I have to use Flash.

I just want to know how to get a Video to Play on a web page.

If anyone can help me with a simple way thanks
__________________

biferi is offline   Reply With Quote
Old 06-30-2009, 09:05 AM   #2
In Runtime
 
Daeva's Avatar
 
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: HTML help

This should do it:
Code:
<embed src="yourmovie.mpg" width="200" height="200"></embed>
Keep in mind that this is not up to par with the html 4 or xhtml 1 standards set by the w3c. It will work almost all the time, but it's based on a user's plugins. Just don't expect 100% from it.
__________________

__________________
**Official Self-proclaimed glorified excessive (insert additional adjectives here) post editor/modifier.
Edit = Best feature ever
http://www.twitter.com/xDaevax
Daeva is offline   Reply With Quote
Old 06-30-2009, 12:47 PM   #3
Daemon Poster
 
Join Date: May 2009
Posts: 690
Smile Re: HTML help

You say the code is
<embed src="yourmovie.mpg" width="200" height="200"></embed>

Should it not be
<embed> src="yourmovie.mpg" width="200" height="200" </embed>
biferi is offline   Reply With Quote
Old 06-30-2009, 12:50 PM   #4
In Runtime
 
Daeva's Avatar
 
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: HTML help

No, the src, height, and width are all attributes belonging to the embed element and are therefore inside of the tag. There should be nothing that goes in between the <embed></embed> tags.
Hope this helps.
Using a flash player to serve the video is the safest way to make sure that everyone (or most everyone) can view the video, you would either have to write your own in flash, or find a free flash movie player. But the embedding of the mpg is the most simple way to get it done.
__________________
**Official Self-proclaimed glorified excessive (insert additional adjectives here) post editor/modifier.
Edit = Best feature ever
http://www.twitter.com/xDaevax
Daeva is offline   Reply With Quote
Old 07-19-2009, 01:59 PM   #5
Beta Member
 
Join Date: Jul 2009
Posts: 3
Default Re: HTML help

Would this not work?
Code:
<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="280" height="256">
<param name="fileName" value="video.mpg">
<param name="animationatStart" value="true">
<param name="transparentatStart" value="true">
<param name="autoStart" value="true">
<param name="showControls" value="true">
<param name="Volume" value="-450">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="video.mpg" name="MediaPlayer1" width=280 height=256 autostart=1 showcontrols=1 volume=-450>
</object>
edit: oops sorry i didnt see how old this thread was..
bigstacks077 is offline   Reply With Quote
Old 08-16-2009, 11:47 AM   #6
Beta Member
 
Join Date: Aug 2009
Posts: 1
Default Re: HTML help

well this actually on a flash you need some codes..


_________________
Indianapolis seo
__________________

rokdave is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 12:56 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0