Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6953183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:26:46+00:00 2026-05-27T14:26:46+00:00

In my ASP.NET MVC application, I’m embedding Windows Media Player so that my users

  • 0

In my ASP.NET MVC application, I’m embedding Windows Media Player so that my users can listen to specific audio recordings. I’m using the following code:

<object width="100%" height="65" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
   <param name="URL" value="/QualityAssurance/PlayRecording/<%: Model.CustomerOrder.Id.ToString() %>/<%: System.IO.Path.GetFileName(Model.RecordingFilename) %>" />
   <param name="SendPlayStateChangeEvents" value="true" />
   <param name="AutoStart" value="false" />
   <param name="uiMode" value="mini" />
   <param name="PlayCount" value="1" />
   <param name="height" value="65px" />
   <param name="width" value="100%" />
   <param name="stretchtofit" value="true" />
   <param name="showstatusbar" value="true" />
   <param name="enablepositioncontrols" value="true" />
   <param name="showpositioncontrols" value="true" />
   <param name="enabletracker" value="true" />
   <param name="showcontrols" value="true" />
   <param name="showaudiocontrols" value="true" />
   <param name="displaymode" value="true" />
   <param name="enablecontextmenu" value="false" />
   <param name="loop" value="false" />
   <param name="windowslessVideo" value="true" />
</object>

I’m really happy with everything, works perfectly with the exception of one issue: the track bar doesn’t work, so I cannot cue to a specific point in the audio. The only way to reach a specific point is to use the FF or FR buttons in WMP. If I click on the trackbar, it momentarily moves the thumbswitch to the desired point, but then just jumps back to the currently-playing position the moment I release the mouse button.

I’m sure it’s just something simple I’m not doing but it’s starting to get frustrating now. Any help/advice would be appreciated.

Thanks,

Simon.

EDIT:

I fixed the problem. For your benefit, here is the code:

<object id="VIDEO" width="100%" height="65" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
   <param name="URL" value="/QualityAssurance/PlayRecording/<%: Model.CustomerOrder.Id.ToString() %>/<%: System.IO.Path.GetFileName(Model.RecordingFilename) %>">
   <param name="SendPlayStateChangeEvents" value="true">
   <param name="AutoStart" value="false">
   <param name="PlayCount" value="1">
   <param name="stretchtofit" value="true">
   <param name="showstatusbar" value="true">
   <param name="enablepositioncontrols" value="true">
   <param name="showpositioncontrols" value="true">
   <param name="enabletracker" value="true">
   <param name="showcontrols" value="true">
   <param name="showaudiocontrols" value="true">
   <param name="enablecontextmenu" value="true">
</object>

Don’t ask me why, but that combination of params works perfectly. The tracking bar doesn’t work for the first few seconds, but after the file has streamed across and been buffered, it works perfectly.

Simon.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:26:47+00:00Added an answer on May 27, 2026 at 2:26 pm

    I fixed the problem. For your benefit, here is the code:

    <object id="VIDEO" width="100%" height="65" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
       <param name="URL" value="/QualityAssurance/PlayRecording/<%: Model.CustomerOrder.Id.ToString() %>/<%: System.IO.Path.GetFileName(Model.RecordingFilename) %>">
       <param name="SendPlayStateChangeEvents" value="true">
       <param name="AutoStart" value="false">
       <param name="PlayCount" value="1">
       <param name="stretchtofit" value="true">
       <param name="showstatusbar" value="true">
       <param name="enablepositioncontrols" value="true">
       <param name="showpositioncontrols" value="true">
       <param name="enabletracker" value="true">
       <param name="showcontrols" value="true">
       <param name="showaudiocontrols" value="true">
       <param name="enablecontextmenu" value="true">
    </object>
    

    Don’t ask me why, but that combination of params works perfectly. The tracking bar doesn’t work for the first few seconds, but after the file has streamed across and been buffered, it works perfectly.

    Simon.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building an ASP.NET MVC application with a form that needs validation. The majority
I have an ASP.NET MVC application, with some RESTful services that I'm trying to
In our ASP.NET MVC application, we've noticed that we cannot have The Forbidden DOS
In my asp.net MVC application I am using in place editors to allow users
My ASP.NET MVC application is a small part of a bigger ColdFusion app that
My ASP.NET MVC application has pages with attachments and these attachments can be of
I have a ASP.NET MVC application. The code in the aspx is like that
I have an ASP.NET MVC application with a route that allows searching for stuff
When writing my first asp.net MVC application using C#, I see that there are
I have an asp.net mvc application that allows images to be uploaded. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.