Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Movies & FP98 1

Status
Not open for further replies.

cspgsl

Technical User
Apr 5, 2002
112
CA
Is it possible to insert a movie clip into my website using FP98? Running XP Pro
 
Thanks Corey, I ran out of time yesterday. I am working with a .wvm file. I have found insert video and have done so. The program doesn't look for wvm but browsing lets me find the file. That's resolved but I have set it to "Show Controls in Browser", which it doesn't and unchecked both "On Start" options assuming that the person opening the page would be able to control the start. After uploading to the website, the download starts when I open the page and the movie plays in the browser when the download is complete, without any prompting from me. When viewing other websites with movies available for download they don't start downloading until I select them or playing until I click open, or start. What setting have I missed to prevent the browser from downloading and playing automatically?
Thanks,
 
This is the code that I use - since you are using a WMV file - it should work. FP tends to add extra PARAM that you do not need:

<object id=&quot;MediaPlayer&quot; width=320 height=286
classid=&quot;CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95&quot;
standby=&quot;Loading Microsoft® Windows® Media Player components...&quot;
type=&quot;application/x-oleobject&quot;
codebase=&quot;<PARAM NAME=&quot;filename&quot; VALUE=&quot;interview_fox_video.asx&quot;>
<PARAM NAME=&quot;autoStart&quot; VALUE=&quot;true&quot;> <PARAM NAME=&quot;showControls&quot; VALUE=&quot;true&quot;>
<param name=&quot;ShowStatusBar&quot; value=&quot;true&quot;> <PARAM NAME=&quot;Autorewind&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;ShowDisplay&quot; VALUE=&quot;false&quot;>
<EMBED SRC=&quot;interview_fox_video.asx&quot; WIDTH=320 HEIGHT=286 type=&quot;application/x-mplayer2&quot; name=MediaPlayer autostart=1 showcontrols=0 showstatusbar=1 autorewind=1 showdisplay=0>
</EMBED></OBJECT>

Change the source (interview_fox_video.asx) in BOTH places to the path of your WMV file.

__________________________
Corey

 
I pasted your code into place, changed the path's of the two movies and it looks good but, the controls are greyed out both in FP and on th ewebsite. There is no indication that IE is downloading anything once the page is open (not that it should until you hit play I assume). If you go to you can view the source to see if I have missed anything.
Thanks again
 
Corey: Just a quickie. When I look at the files on the server I can see the movie files but the mouse over indicates &quot;unknown file type&quot;
Thanks
 
Currently you have:
<object id=&quot;MediaPlayer&quot; width=&quot;320&quot; height=&quot;286&quot; classid=&quot;CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95&quot; standby=&quot;Loading Microsoft® Windows® Media Player components...&quot; type=&quot;application/x-oleobject&quot; codebase=&quot; filename&quot; VALUE=&quot;Movies/alli3.wmv&quot;>
<param name=&quot;autoStart&quot; value=&quot;true&quot;>
<param name=&quot;showControls&quot; value=&quot;true&quot;>
<param name=&quot;ShowStatusBar&quot; value=&quot;true&quot;>
<param name=&quot;Autorewind&quot; value=&quot;true&quot;>
<param name=&quot;ShowDisplay&quot; value=&quot;false&quot;><embed SRC=&quot;Movies/alli3.wmv&quot; WIDTH=&quot;320&quot; HEIGHT=&quot;286&quot; type=&quot;application/x-mplayer2&quot; name=&quot;MediaPlayer&quot; autostart=&quot;1&quot; showcontrols=&quot;0&quot; showstatusbar=&quot;1&quot; autorewind=&quot;1&quot; showdisplay=&quot;0&quot;>

The URL did not post properly. Try this:
Code:
<object id=&quot;MediaPlayer&quot; width=320 height=286
classid=&quot;CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95&quot;
standby=&quot;Loading Microsoft® Windows® Media Player components...&quot;
type=&quot;application/x-oleobject&quot;
codebase=&quot;[URL unfurl="true"]http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112&quot;>[/URL]
<PARAM NAME=&quot;filename&quot; VALUE=&quot;Movies/alli3.wmv&quot;>
<PARAM NAME=&quot;autoStart&quot; VALUE=&quot;true&quot;> <PARAM NAME=&quot;showControls&quot; VALUE=&quot;true&quot;>
<param name=&quot;ShowStatusBar&quot; value=&quot;true&quot;> <PARAM NAME=&quot;Autorewind&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;ShowDisplay&quot; VALUE=&quot;false&quot;> 
  <EMBED SRC=&quot;Movies/alli3.wmv&quot; WIDTH=320 HEIGHT=286 type=&quot;application/x-mplayer2&quot; name=MediaPlayer autostart=1 showcontrols=0 showstatusbar=1 autorewind=1 showdisplay=0>
</EMBED></OBJECT>
Let me see if the code works now

__________________________
Corey

 
That's got it. When you say that &quot;The URL did not post properly&quot; what did you mean?
I see you changed the codebase and added &quot;param name&quot; to filename VALUE=&quot;Movies/alli3.wmv. Could you explain what the changes mean so I can assist my own resolution issues in the future? Finally, I changed the autostart to &quot;1&quot; and &quot;false&quot; so the page's viewer has control over the show.
 
Sorry, I forgot to say thank you (then like a dummy, I posted a new thread to do so.)I must have been so excited that the thing worked. I did thikn of one more question.
Your resolution isn't something that FP98 does on it's own, is it? Is it time to upgrade?
 
When I said the URL did not post properly - I mean in my code. Look at the codebase URL in my first response & then look @ the codebase in my second response.

Well If you like FP 98 - you would enjoy I know FP XP (2002) and now FP 2003 is out. I have not bought that just yet. One of the reasons that FP 98 does not recognize the WMV is that that file type was not even available back when FP 98 was out.

__________________________
Corey

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top