Change the source for a media player based on selection from a list.

All of this is referring to my public facing website in Office 365.
I put the following code in a content editor web part:
<audio controls>
  <source src="http://someserver/somefile.mp3" type="audio/mpeg">
</audio>
This works just fine. 
What I want to do, is display a table below this which is a list of mp3's. when the user clicks on one of them the audio plays in the <audio controls>. 
In other words, I want to change the source of the above player when I click on a link elsewhere in the page.
Thank you
Joe Fager

What you'll need to do is have a javascript onclick/onchange event in the dropdown that runs a set of code that will reset the audio control with the new source. That can be done with jQuery.
Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

Similar Messages

  • How can I change the port for Adobe Media Player?

    After instaling Adobe Media Player I lost my IIS. AMP has hijacked my port 80. Now how could I alter configuration so that AMP will use a different port.
    I have many programs configured for Port 80 and I dont want to go and change all of the hardcoded ports in Javascript and CSS files.
    http://hodentek.blogspot.com/2009/04/adobe-media-player-internet-information.html
    http://hodentek.blogspot.com/2009/04/adobe-media-player-and-iis-part-2.html

    These tools you are talking about, did you configure the tnsnames for them?
    If you plan to change the default listening port, you need to modify the listener.ora file under $ORACLE_HOME/network/admin
    After 9i, Oracle has service registration
    A feature by which the PMON process automatically registers information with a listener. Because this information is registered with the listener, the listener.ora file does not need to be configured with this static information.
    You can try to run one listener, see if both instances can register themselves in even they are different versions.

  • Customizing the DataSource for my media player application

    Hi,
    I am trying to build a j2me player which is fed from a list of files (e.g. providing few mp3 files and having playing it as one continues stream).
    I understand that DataSource can be customized for such needs but I don't really know how to do that and I can't find good and simple explanation.
    Please let me know what are the steps, or point me to good source.
    Thank in advance

    Hello,
    I think that maybe there's nothing wrong with your jar. If you don't install jmf, it will not find the codecs.
    "Q: What is JMF Registry?
    JMF 2.1.1 maintains a registry of available plugins, package prefixes and other settings in a file called jmf.properties. This is a binary file and should only be modified using the provided JMFRegistry application. This application is a part of the JMF 2.1.1 jmf.jar file and can be run as "java JMFRegistry". It requires that you have Swing-1.1 in your CLASSPATH (or you can use JDK 1.2 or later). "
    I suppose JMF searchs for the codecs in the jmf.properties. If you don't want to install JMF, try to add only the jmf.properties to your classpath, or keep it in the same directory of your jar.
    Hope it helps.
    ANeto

  • Can I  change the information,such as MEDIA URL,username and password  ,from English to Chinese?

    I have downloaded the OSMF1.6.1 from the website http://sourceforge.net/projects/osmf.adobe/files/. And here comes the question.When playing encrypted video with OSMFPlayer, I want to change the message such as “user name” and “password” in the AuthenticationDialog into Chinese. However, when I altered the code by Flash Builder 4.5, the message can not be displayed in the browser after running. I have noticed that the font in OSMFPlayer is standard07_55, so I wonder that if this problem is related with the default font? I want to know if there’s a way to display Chinese information instead of “user name” or “password”?
    Thank you!

    I have downloaded the OSMF1.6.1 from the website http://sourceforge.net/projects/osmf.adobe/files/. And here comes the question.When playing encrypted video with OSMFPlayer, I want to change the message such as “user name” and “password” in the AuthenticationDialog into Chinese. However, when I altered the code by Flash Builder 4.5, the message can not be displayed in the browser after running. I have noticed that the font in OSMFPlayer is standard07_55, so I wonder that if this problem is related with the default font? I want to know if there’s a way to display Chinese information instead of “user name” or “password”?
    Thank you!

  • Polulate textfield(s) from a MS SQL Database based on selection from DropDown List

    I am new to LiveCycle Designer. I am trying to create a Master Bill of Lading form. I want the user to be able to enter a Store Number from a in a text field and, based on what they enter I want to populate the address information from a database on my SQL Server.
    When I bind the address fields from the database, I only see the first record in the database.
    I'm not sure where to go from here...
    Thanks in advance,
    Jeremy

    That seemed to fix my error and returned the value to my DDL.
    I have modified the code so it looks at the clone of my dataConnection (dcStoreData)
    CODE:
    btnClear.MainPage.sStNo::change - (JavaScript, client)
    var inStrNbr = xfa.event.newText;
    if (inStrNbr == ""){
    app.alert("You must enter a valid name - try again!") } var nIndex = 0;
    while(xfa.sourceSet.nodes.item(nIndex).name != "dcStoreData")
    nIndex++;
    tfStoreID.rawValue = inStrNbr;
    var oDB = xfa.sourceSet.nodes.item(nIndex).clone(1);
    // the node pertaining to the data connection specified
    //app.alert(oDB.saveXML("pretty"));
    //set up sql call to DB to get specifics about employee
    oDB.nodes.item(1).query.setAttribute("text", "commandType");
    oDB.nodes.item(1).query.select.nodes.item(0).value = "Select * from tblStoreMast_LastVersion where StorNbr = '" + inStrNbr + "'";
    //app.alert(oDB.nodes.item(1).saveXML("pretty"));
    //now connect to DB and get a record
    oDB.open()
    oDB.close();
    it runs with no error and I am seeing the value it has given my DDL.rawValue
    Now I get the "error:"
    GeneralError: Operation failed.
    XFAObject.open:16:XFA:btnClear[0]:MainPage[0]:sStNo[0]:change
    ado2xfa operation failed.  Item cannot be found in the collection corresponding to the requested name or ordinal.
    My Store Number is stored as an int in the database.
    Do I have to somehow cast it as a character?
    Sorry for the headache!
    Jeremy

  • Exporting video for the web for windows Media player

    What software can i use to compress an AVI file for the web. The finished product will be WMA file.

    WMA is Windows Media Audio. I think what you meant is WMV (Windows Media Video). To export to that format on a Mac you'll need Flip4ac, available from www.flip4mac.com Once you've installed it, it adds the WMV and WMA export option to QT and other apps such as Sorenson Squeeze.
    -DH

  • HT6413 can i change the folder for icloud drive on my pc? from c: to d:?

    when i use the icloud drive it puts the files on my c: drive, this is only an 64gb SSD, so i would like to change this to my D hard drive, is this possible ?

    Sign out of iCloud.

  • Populating a text field in a form based on selection from a list field?

    Hello,
    I'm using Acrobat 9 on a mac.
    In the list field users choose their hospital name. I then want the address associated with this hospital to populate a text field. Where do I enter the hospital addresses and the "script" (if hospital X then this address)? I've copied this list field and am using it in multiple places on the form by utilizing "global binding" and this is working well.
    Also, can the choices in a list field "drop down" or is the only option available a "click through?"
    Thanks in advance for your help!!

    hi, i've seen this problem before but can't remember what the solution was...
    but just by searching on this forum resulted in this link
    Re: Copy and Paste
    hope it helps

  • How can I change the source file so it is direct from external hard drive?

    I am trying to make a movie on imovie of a snowboarding trip that I went on, there is around 80 to 100 gig of mp4 movies that will not fit on my computer that I have stored on my external harddrive. I had the movie half finished then found I could do no more as I had no space left in my mac. I had to delete everything and start again but I'm not doing this until I can find a way of changing the source file so I can take them direct from my external hard drive as to not use up all my computers available space. I have moved imovie to my external hard drive but it still tries to read from a movie file on my mac, how can I change that so it will read from a source file on my external hard drive, is it possible?? Can someone help me??

    Hi Bengt, Thanks for your input, much appreciated.
    I have a WD 1TIG hard drive and are using usb connection, is it possible to use fire wire with these? I have had trouble with a lot of the videos I Imported, once they downloaded the file in the viewer window showed up blank and when I mouse over them it places a picture of another file in the window and wont drag and drop into the movie window, like their corrupted or something? Had to delete just about all of them and start again. Also is it possible to select a bunch of videos in the viewer window as to change the dates to the correct dates? All I have been able to do is "select all" which is no help.

  • How do you change the music for an export from a selection of pictures?

    I have iTunes and know how to change the music for a slideshow but if I select pictures from a folder and export to QuickTime how do I change the music?
    There is an option to "Add currently selected music to movie" but it always plays the same tune. How do I get an option to select an iTunes song like with the Slideshow? Where are the slideshow sample music files stored? There are 11 files in the sample folder but I can't find any of them on my drive.

    Maybe there is some confusion in what I'm telling you. There are two types of slideshows in iPhoto. One creates a special slideshow album that appears in the Source pane on the left side. This is not the one I'm talking about. (You create one of these slideshow albums when you select some photos and click the Slideshow icon (the one with a Plus sign on it) at the bottom of the iPhoto window.
    The other slideshow is done from the main library window or from a regular album (not a slideshow album). You either select some photos (or a roll) from the Library or select an album (with a folder icon). Then click the Play button which is on the bottom right hand side of the iPhoto window.
    If your Play button is on the left side, then you aren't using the correct one. The one that appears on the left side shows when you've selected a Slideshow Album from the source pane. This type of album has an icon that looks like a couple of slides (the kind you put in a projector).
    Does that make a difference?

  • How to change the source type for a primary key on a form?

    Hi,
    At the time of creating a form, I had set the source type for the primary key to an existing sequence.
    Now I want to change the source to a trigger.
    Can anyone suggest how to do it?
    Thanks in advance,
    Annie

    Annie:
    Define the trigger and then delete the page process named 'Get PK'
    Varad

  • How to change the source system for just a datasource

    Hi,
    Our test/development BI system ( BI 7.0 Unicode ) is connected to our development system and to our test system, 1 BI system connected to 2 R/3 systems.
    During some time, the test system won't be available so all datasources that point to the test system must be connected to the development system. In RSA1 is not possible to change the source system in a datasource: RSDS 057
    'Creation of DataSources for SAP source system D30CLNT007 is not permitted' , same error trying to copy the datasource,.
    Any idea about how to proceed ?
    Regards,
    Joan

    Hi,
    If I try to repliclate metadata in the datasource, message RSAR 051 appears: 'error when opening an RFC connection'. This error is expected because the logical system pointed in the datasource does not exist.
    Is not possible to change the source system in datasource ( in RSA1 ) because the field is always greyed, also if I try to copy the datasource the message RSDS 057 appears.
    Any idea about how to proceed ?
    Regards,
    Joan

  • Problem in Internalization( I18N) for changing the Source langeuage

    Hi All,
    I have some problem in changing the source language in header:
    In S2X editor, I copyed the .xlf file pasted in same then modifyed accordingly(xxx_de.xlf) when i opend the xlf its asking the Activity when I created its throwing repository access faild like no deltaV resource avilable with directory(c:\......)
    and im not able to change the header and Resource text In S2X Editor, any one give me help on this.
    Thanks
    polaka

    Hi Nagesh,
    When we are doing I18N for that Application. Go to Navigator Tab
    Here Select Particular Projects--à src-àPackages-àsap-àvijay
    To internationalize the Web Dynpro application, copy the automatically generated *.xlf files and save them under a new name in the same directory.
    The new name must meet the following convention:
    u2022 .xlf
    For example, if you are creating *.xlf files for German,
    Use the language key de.
    Here Click on OK
    After that we can edit and translate these new *.xlf files in the S2X Editor.
    ApplyTemFirstView.wdview_de.xlf-àClick on Resource Text Tab
    Select Particular Text and Change the language to German-àClick on EDIT Button
    Here Enter German Lang-àClick on OK
    Now Go to Web Dynpro Explorer Tab
    Select Project-àRC Click on Rebuild Project
    Select Project-àRC Click on Reload
    Then Deploye the Application
    How to Check in Explorer. It is converting to German Language or not
    Open Internet Explorer
    Tool-àInternet Options -àClick on Languages Button-àClick on ADD Button
    Select German Language--àClick on OK
    Now We will Check in Portal
    Created Web Dynpro iView in Portal. That iView assign to the particular WorkSet-àAssign to Role
    Select that user Can Change Language
    Regards
    Vijay Kalluri

  • How can i change the default application to vlc player for playing any videos on my macbook?

    How can i change the default application to vlc player for playing any videos on my macbook?

    1. Control click the file you want to open.
    2. Click Get Info.
    3. Under open with, pick the App you want to be default.
    4. Click Change All Button.
    5. Confirm your decision.
    You have to do this with every file that has a different extension. You can't change the default for every file with a different extension in a single operation.

  • DRM for Windows Media Player on the ipod

    My ipod is worthless, if it can't play files with DRM for Windows Media Player. My library, that offers this files for download says, it would cost 50.000 dollars to provide also ipod-compatible files. Because they can't spend this money, I will need a new mp3-player!

    The specs for the iPod (box, website) are pretty clear about what formats it supports. Unfortunately, protected WMA files are not supported.
    If the rights you have for those files includes burning them to an audio CD, you might want to do that.

Maybe you are looking for