movie inserted into my html

Thread Solved

Join Date: Mar 2009
Posts: 8
Reputation: Getpage is an unknown quantity at this point 
Solved Threads: 0
Getpage Getpage is offline Offline
Newbie Poster

movie inserted into my html

 
0
  #1
Oct 7th, 2009
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,
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 85
Reputation: Reliable is an unknown quantity at this point 
Solved Threads: 2
Reliable Reliable is offline Offline
Junior Poster in Training
 
0
  #2
Oct 9th, 2009
Are you using a WYSIWYG or are you hard coding?
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,335
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 163
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso
 
0
  #3
Oct 9th, 2009
1 file autostart on page load
  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.
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 8
Reputation: Getpage is an unknown quantity at this point 
Solved Threads: 0
Getpage Getpage is offline Offline
Newbie Poster
 
0
  #4
Oct 9th, 2009
Sorry I dont understand what WYSIWYG is
I use front page to build and publish to the hoster
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 1,335
Reputation: almostbob has a spectacular aura about almostbob has a spectacular aura about 
Solved Threads: 163
almostbob's Avatar
almostbob almostbob is offline Offline
Nearly a Posting Virtuoso
 
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
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 8
Reputation: Getpage is an unknown quantity at this point 
Solved Threads: 0
Getpage Getpage is offline Offline
Newbie Poster

Got It

 
0
  #6
Oct 12th, 2009
Thanks Almoast

You gave me something to work with. I had no problems what so ever and am now using it with options.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Graphics and Multimedia Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC