| | |
movie inserted into my html
Please support our Graphics and Multimedia advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Mar 2009
Posts: 8
Reputation:
Solved Threads: 0
I have a movie, Media Player(mymovie.wmv), also have it in Quicktime (mymovie.mov), and flash(my movie.flv)
I want it to open in a unframed position in the web page, I have no idea how to write the html for this. I have saved all the versions of this movie into the clients media folder, but just dont know how to insert it into the html and have the movie start playing upon the web page loading.
Help please,
I want it to open in a unframed position in the web page, I have no idea how to write the html for this. I have saved all the versions of this movie into the clients media folder, but just dont know how to insert it into the html and have the movie start playing upon the web page loading.
Help please,
0
#3 Oct 9th, 2009
1 file autostart on page load This code will stream .asf or .wmv files
html Syntax (Toggle Plain Text)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <style type='text/css'> /* css positioning for the media player */ .logo { background:transparent; color:#000000; text-align:right; font-size:85%; top:auto; left:auto; position:fixed; bottom:1px; right:1px; } //edit position by top bottom </style> <script type="text/javascript"> <!--// function shrink(){ document.getElementById("MediaPlayer1").style.width=384; document.getElementById("MediaPlayer1").style.height=300; } function enLarge(){ document.getElementById("MediaPlayer1").style.width=480; document.getElementById("MediaPlayer1").style.height=402; } //--> </script> <title>video</title> </head> <body> <p class='logo'> <button onclick="enLarge()">large</button> <button onclick="shrink()">small</button> <A href="http://www.microsoft.com/windows/windowsmedia/player/download/"><IMG ALT="Get Windows Media Player" SRC="http://www.microsoft.com/windows/windowsmedia/images/logos/getwm/mp11_88x31_static.gif" WIDTH="88" HEIGHT="31" BORDER="0"></A><br> <OBJECT ID="MediaPlayer1" width=384 height=300 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject"> <PARAM NAME="fileName" VALUE="fullpathto/mymovie.wmv"> <PARAM NAME="showControls" VALUE="true"> <PARAM NAME="PlayCount" VALUE="0"> <PARAM NAME="animationatStart" VALUE="true"> <PARAM NAME="transparentatStart" VALUE="true"> <PARAM NAME="autoStart" VALUE="true"> <EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" SRC="fullpathto/mymovie.wmv" name="MediaPlayer1" width=360 height=260 AutoStart=true></EMBED></object></p> </body></html>
Last edited by almostbob; Oct 9th, 2009 at 6:16 pm.
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
1
#5 Oct 9th, 2009
WYSiWYG what you see is what you get
as in "FrontPage is a wysiwyg editor"
the code sample at the top of the prior reply should be cut and pasted into 'html view' in frontpage if you use it
the stuff in the <head></head> copied into your <head> the stuff in the <body></body> copied into your <body>
stuff between <style></style> and <script></script> tags copied between the same tags in your page head
FrontPage is not particularly friendly to import code, but the addition is MS centric so it wont **expletive deleted** up
as in "FrontPage is a wysiwyg editor"
the code sample at the top of the prior reply should be cut and pasted into 'html view' in frontpage if you use it
the stuff in the <head></head> copied into your <head> the stuff in the <body></body> copied into your <body>
stuff between <style></style> and <script></script> tags copied between the same tags in your page head
FrontPage is not particularly friendly to import code, but the addition is MS centric so it wont **expletive deleted** up
Failure is not an option It's included free
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
![]() |
Similar Threads
- Is it possible to build a time machine through the use of programming? (Geeks' Lounge)
- How to automatically load next page after flash movie has played... (Graphics and Multimedia)
- Movie Database (Database Design)
- Open an html page from within flash flv? (Graphics and Multimedia)
- DVD/RW drive shown as CD-ROM drive? (Storage)
- loading bar (JavaScript / DHTML / AJAX)
- Help with making animated Picture (Graphics and Multimedia)
- Newbie needs script to accept credit card (Existing Scripts)
Other Threads in the Graphics and Multimedia Forum
- Previous Thread: Embedding flash into web-site
- Next Thread: Autogenerating photo gallery
| Thread Tools | Search this Thread |
3d 10 actionscript3 adobe adobeacrobat adobereader air ajax amazon amf apple button cart childprotection cloud dashboard dell design dojofoundation dreamweaver ebay eclipse ecommerce elasticcomputecloud embed endorsement extra family flash flash-develop flashlite flex free harddrive iamthwee ibm illustrator imflash intel interactivemap javafx javascript laptop legal map micron microsoft mobile monitoringsoftware moonlight multimedia myspace nand news novell panorama pdf pedophiles photoshop photosynth php safety sandisk security shopping silverlight solidstatedrive sproutcore ssd streaming swf table ukmap unload unwanted video vulnerability web white.space xml zend zephyr zeroday






