Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embedding media player on a web page
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00834716
Message ID:
00835162
Views:
14
Hi Mark,

I'm not in front of the Source Code, but the HTML produced by an app I wrote a while ago to do just this is:
< OBJECT ID="MediaPlayer"
  classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
  CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
  standby="Loading Microsoft Windows Media Player components..."
  TYPE="application/x-oleobject"
  HEIGHT=220
  WIDTH=312>

     < PARAM NAME="FileName" VALUE=" (url for media file) ">
     < PARAM NAME="AnimationatStart" VALUE="true">
     < PARAM NAME="TransparentatStart" VALUE="true">
     < PARAM NAME="AutoStart" VALUE="true">
     < PARAM NAME="ShowControls" VALUE="1">

     < Embed TYPE="application/x-mplayer2"
	  pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"
          SRC=" (url for media file) "
          Name=MediaPlayer
          ShowControls=1
          Width=360
          Height=220
      < /embed>
< /OBJECT>
Cheers,

Andrew

>This is really a media player + web question moreso than pure VFP, but it's VFP that generates the HTML, so I suppose the question is justified here.
>
>Can somebody show me HTML that I can use to embed Media Player on a Web page whether the page is being displayed with IE or Netscape in Windows, or with IE on a Macintosh? If you have working models of server-side interrogations of browser info, or client-side scripting that handles things, either would be fine.
>
>I'm familiar with this info:
>http://support.microsoft.com/default.aspx?scid=kb;en-us;285154&Product=wmp
>but I don't think it handles all three cases... or does it?
>
>Thank you!


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Reply
Map
View

Click here to load this message in the networking platform