944,111 Members | Top Members by Rank

Ad:
Oct 7th, 2009
0

movie inserted into my html

Expand Post »
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,
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Getpage is offline Offline
7 posts
since Mar 2009
Oct 9th, 2009
0
Re: movie inserted into my html
Are you using a WYSIWYG or are you hard coding?
Reputation Points: 11
Solved Threads: 3
Junior Poster
Reliable is offline Offline
152 posts
since Jul 2007
Oct 9th, 2009
0
Re: movie inserted into my html
1 file autostart on page load
html Syntax (Toggle Plain Text)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <style type='text/css'>
  4. /* css positioning for the media player */
  5. .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
  6. </style>
  7. <script type="text/javascript">
  8. <!--//
  9. function shrink(){
  10.  document.getElementById("MediaPlayer1").style.width=384;
  11.  document.getElementById("MediaPlayer1").style.height=300;
  12. }
  13. function enLarge(){
  14.  document.getElementById("MediaPlayer1").style.width=480;
  15.  document.getElementById("MediaPlayer1").style.height=402;
  16. }
  17.  //-->
  18. </script>
  19. <title>video</title>
  20. </head>
  21. <body>
  22. <p class='logo'>
  23. <button onclick="enLarge()">large</button>
  24. <button onclick="shrink()">small</button>
  25. <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>
  26. <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">
  27. <PARAM NAME="fileName" VALUE="fullpathto/mymovie.wmv">
  28. <PARAM NAME="showControls" VALUE="true">
  29. <PARAM NAME="PlayCount" VALUE="0">
  30. <PARAM NAME="animationatStart" VALUE="true">
  31. <PARAM NAME="transparentatStart" VALUE="true">
  32. <PARAM NAME="autoStart" VALUE="true">
  33. <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>
  34. </body></html>
This code will stream .asf or .wmv files
Last edited by almostbob; Oct 9th, 2009 at 6:16 pm.
Reputation Points: 562
Solved Threads: 369
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Oct 9th, 2009
0
Re: movie inserted into my html
Sorry I dont understand what WYSIWYG is
I use front page to build and publish to the hoster
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Getpage is offline Offline
7 posts
since Mar 2009
Oct 9th, 2009
1
Re: movie inserted into my html
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
Reputation Points: 562
Solved Threads: 369
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Oct 12th, 2009
0

Got It

Thanks Almoast

You gave me something to work with. I had no problems what so ever and am now using it with options.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Getpage is offline Offline
7 posts
since Mar 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: Embedding flash into web-site
Next Thread in Graphics and Multimedia Forum Timeline: Autogenerating photo gallery





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC